Log In · Register

 
 
Closed TopicStart new topic
sub scrollbar
mutedscream00
post Dec 5 2004, 01:53 AM
Post #1


Senior Member
***

Group: Member
Posts: 59
Joined: Oct 2004
Member No: 58,055



i know this has been asked a billion times but it's not in the script section.. wut's the code for the subscription scrollbar?
 
Jus2s1mp13
post Dec 5 2004, 02:12 AM
Post #2


Um....Its meeee
******

Group: Member
Posts: 2,218
Joined: Mar 2004
Member No: 8,264



I thinks this is it...scrollbar for your Subscriptions


CODE
<!-- begin code provided by createblog.com -->
<script type="text/javascript">
// original by EasterEgg, xanga.com/easteregg
// modified to reflect xanga's current html schemas
function adjustSirListHeight()
{
   // *** define the height of your SIR-list in the line below
   var sirListHeight = '90px';
   var allTables = document.getElementsByTagName('tbody');
   for (i=0; i < allTables.length; i++)
   {
       if ((allTables[i].innerHTML.indexOf('Sites I Read') != -1) &&
           (allTables[i].innerHTML.toUpperCase().indexOf('<TABLE') == -1))
       {
           sirlist = allTables[i].lastChild;
           temp = sirlist.firstChild.innerHTML;
           sirlist.removeChild(sirlist.firstChild);
           td = document.createElement('td');
           div = document.createElement('div');
           div.style.width = '190px';
           div.style.height = sirListHeight;
           div.style.overflow = 'auto';
           div.innerHTML = temp;
           td.appendChild(div);
           sirlist.appendChild(td);
           break;
       }
   }
}
if (navigator.userAgent.indexOf('Mac') == -1)
   if ((document.URL.indexOf('weblogs') == -1) &&
       (document.URL.indexOf('guestbook') == -1) &&
       (document.URL.indexOf('events') == -1) &&
       (document.URL.indexOf('reviews') == -1))
       adjustSirListHeight();
</script>

<!-- end code provided by createblog.com -->
 
x_iloveblue
post Dec 5 2004, 02:12 AM
Post #3


Member
**

Group: Member
Posts: 18
Joined: Dec 2004
Member No: 68,742



u can find that code at the forum xanga scripts
 
mutedscream00
post Dec 5 2004, 02:24 AM
Post #4


Senior Member
***

Group: Member
Posts: 59
Joined: Oct 2004
Member No: 58,055



yaaay thanks... i musta missed it when i was lookin happy.gif
 
whomps
post Dec 5 2004, 02:50 AM
Post #5


:hammer:
*******

Group: Staff Alumni
Posts: 9,849
Joined: Mar 2004
Member No: 7,700



QUOTE(mutedscream00 @ Dec 4 2004, 11:24 PM)
yaaay thanks... i musta missed it when i was lookin happy.gif

Topic Closed.
 

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