Log In · Register

 
scroll
ElmoKnowsU
post Oct 3 2008, 04:19 PM
Post #1


[: it's elmo's world :]
*

Group: Member
Posts: 9
Joined: Oct 2008
Member No: 688,925



How do you make the interest table scroll without using a scroll box?

LIKE THIS:
http://i34.tinypic.com/2hn9c8l.jpg

FYI I SCRATCHED OUT THE PERSONS INFO IN RED

Before any1 replies, someone posted this code:
http://www.createblog.com/scripts/script.php?id=1717
and thats what i want, but is there a way to edit it so that the details and network section aren't included inside the scroll?
 
 
Start new topic
Replies (1 - 9)
manny-the-dino
post Oct 3 2008, 05:39 PM
Post #2


Senior Member
*******

Group: Administrator
Posts: 8,629
Joined: Jan 2007
Member No: 498,468



Woah, mang, no need to quadruple post. I merged them for you. Next time, please use the edit button. wink.gif
 
Mickey
post Oct 4 2008, 08:40 AM
Post #3


Treasure Pleasure
********

Group: Head Staff
Posts: 11,193
Joined: Oct 2005
Member No: 281,127



Try this code out:

CODE
</td></tr></table>
</td></tr></table>
<style>
table.interestsAndDetails, .userProfileDetail, .userProfileNetworking, .userProfileCompany, .userProfileSchool {display:none;}
div.InterestsDiv {overflow:auto; width:300px; height:200px;}
div.InterestsDiv table {width:100%;}
</style>
<div class="InterestsDiv">
<table bordercolor="6699cc" cellspacing="0" cellpadding="0" bgcolor="ffffff" border="1" class="newInterests">
<tr>
<td class="text tdborder" valign="middle" align="left" width="300" bgcolor="6699cc" wrap="" style="WORD-WRAP:break-word">
<span class="whitetext12">title here</span>
</td></tr>
<tr valign="top"><td class="tdborder">
<table bordercolor="000000" cellspacing="3" cellpadding="3" align="center" bgcolor="ffffff" border="0">
<tr><td valign="top" align="left" width="100" bgcolor="b1d0f0" nowrap="">
<span class="lightbluetext8">General</span>
</td><td width="175" bgcolor="d5e8fb" style="WORD-WRAP: break-word">

That hides the Schools, Companies, Networking, and Details sections but not the Interests section.
 
ElmoKnowsU
post Oct 4 2008, 06:31 PM
Post #4


[: it's elmo's world :]
*

Group: Member
Posts: 9
Joined: Oct 2008
Member No: 688,925



No thats not right. It hides my details and school. I dont want to hide it, i just want to put it under the interests, and outside the scroll.
 
Mickey
post Oct 6 2008, 05:28 AM
Post #5


Treasure Pleasure
********

Group: Head Staff
Posts: 11,193
Joined: Oct 2005
Member No: 281,127



Oh, I thought you wanted them hidden. Try this:

CODE
</td></tr></table>
</td></tr></table>
<style>
.userProfileDetail, .userProfileNetworking {display:auto;}
table.interestsAndDetails, .userProfileCompany, .userProfileSchool {display:none;}
div.InterestsDiv {overflow:auto; width:300px; height:200px;}
div.InterestsDiv table {width:100%;}
</style>
<div class="InterestsDiv">
<table bordercolor="6699cc" cellspacing="0" cellpadding="0" bgcolor="ffffff" border="1" class="newInterests">
<tr>
<td class="text tdborder" valign="middle" align="left" width="300" bgcolor="6699cc" wrap="" style="WORD-WRAP:break-word">
<span class="whitetext12">title here</span>
</td></tr>
<tr valign="top"><td class="tdborder">
<table bordercolor="000000" cellspacing="3" cellpadding="3" align="center" bgcolor="ffffff" border="0">
<tr><td valign="top" align="left" width="100" bgcolor="b1d0f0" nowrap="">
<span class="lightbluetext8">General</span>
</td><td width="175" bgcolor="d5e8fb" style="WORD-WRAP: break-word"></div>

If you want to add more stuff in your custom Interests section, make sure you add it before the closing <div> tag. Your Details/Networking sections should appear under the scrollbox.
 
ElmoKnowsU
post Oct 9 2008, 07:52 PM
Post #6


[: it's elmo's world :]
*

Group: Member
Posts: 9
Joined: Oct 2008
Member No: 688,925



That just deleted my network. I really want this code but if yall cant get it then its cool. I dont want to be a pain. Lol thanks for trying.
 
fixtatik
post Oct 10 2008, 12:36 AM
Post #7


Senior Member
******

Group: Member
Posts: 1,237
Joined: May 2008
Member No: 648,123



hmm, pretty easy, actually. use the code you found to have a scrolling left column, and after everything, add this:
CODE
</td></tr></table></td></tr></table></div>
<table><tr><td><table><tr><td>
 
Mickey
post Oct 10 2008, 04:17 AM
Post #8


Treasure Pleasure
********

Group: Head Staff
Posts: 11,193
Joined: Oct 2005
Member No: 281,127



Your final codes should look something like this:

CODE
</td></tr></table>
</td></tr></table>
<style>
table.interestsAndDetails {display:none;}
div.InterestsDiv {overflow:auto; width:300px; height:200px;}
div.InterestsDiv table {width:100%;}
</style>
<div class="InterestsDiv">
<table bordercolor="6699cc" cellspacing="0" cellpadding="0" bgcolor="ffffff" border="1" class="newInterests">
<tr>
<td class="text tdborder" valign="middle" align="left" width="300" bgcolor="6699cc" wrap="" style="WORD-WRAP:break-word">
<span class="whitetext12">title here</span>
</td></tr>
<tr valign="top"><td class="tdborder">
<table bordercolor="000000" cellspacing="3" cellpadding="3" align="center" bgcolor="ffffff" border="0">
<tr><td valign="top" align="left" width="100" bgcolor="b1d0f0" nowrap>
<span class="lightbluetext8">General</span>
</td><td width="175" bgcolor="d5e8fb" style="WORD-WRAP: break-word">

OTHER CONTENT

</td></tr></table></td></tr></table></div>
<table><tr><td><table><tr><td>

Just replace "OTHER CONTENT" with your own information. (Thanks, Fixtatik.)
 
ElmoKnowsU
post Oct 10 2008, 02:02 PM
Post #9


[: it's elmo's world :]
*

Group: Member
Posts: 9
Joined: Oct 2008
Member No: 688,925



it worked! AND it looks cool. lol thanks. :] kudos to you guys.
 
Mickey
post Oct 10 2008, 02:14 PM
Post #10


Treasure Pleasure
********

Group: Head Staff
Posts: 11,193
Joined: Oct 2005
Member No: 281,127



Alright, problem solved. Topic closed & moved.
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: