Log In · Register

 
Subscriptions Scrollbar..., HEHE Need help with pixels
Tina_5693
post Jan 15 2005, 01:49 PM
Post #1


I must at least be a official member! =]p
***

Group: Member
Posts: 46
Joined: Dec 2004
Member No: 69,172



cry.gif I'm so dumb!!! i used this code:

<!-- begin code provided by createblog.com -->
<!-- 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 -->
<!-- end code provided by createblog.com -->

the code would't work becuase im to dumb to know how many pixels i need! help please?
My Xanga
 
 
Start new topic
Replies
Tina_5693
post Jan 15 2005, 05:09 PM
Post #2


I must at least be a official member! =]p
***

Group: Member
Posts: 46
Joined: Dec 2004
Member No: 69,172



O OOPS hehe accidently put it in the custom header _unsure.gif hehe stupid me thnx!
 

Posts in this topic


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