Log In · Register

 
 
Closed TopicStart new topic
scroll bar on 'sites i read', PLEASE?
missbabythang
post Feb 13 2004, 08:41 PM
Post #1


Newbie
*

Group: Member
Posts: 6
Joined: Feb 2004
Member No: 3,893



i need da scroll bar on the 'sites i read' column..

PLEASE HELP!

THNX
 
JULZ
post Feb 13 2004, 08:52 PM
Post #2


JULZ
**

Group: Member
Posts: 24
Joined: Feb 2004
Member No: 3,488



this code only works in public view

CODE
<!-- begin code provided by createblog.com -->

<script type="text/javascript">
// (c)2003 EasterEgg, http://www.xanga.com/easteregg
// updated: August 24, 2003
// A simple script to adjust the height of your Xanga's SIR-list
function adjustSirListHeight()
{
   // *** define the height of your SIR-list in the line below
   var sirListHeight = '175px';
   var allTables = document.getElementsByTagName('tbody');
   for (i=4; i < allTables.length; ++i)
   {
       if ((allTables[i].innerHTML.indexOf('SubscribeTo.aspx') != -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 = '150px';
           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 -->
 
missbabythang
post Feb 13 2004, 09:39 PM
Post #3


Newbie
*

Group: Member
Posts: 6
Joined: Feb 2004
Member No: 3,893



it d0esnt w0rk.. =\
 

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