Subscriptions Scrollbar..., HEHE Need help with pixels |
Subscriptions Scrollbar..., HEHE Need help with pixels |
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 |
<!-- 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 |
|
|
|
![]() |
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
|
|
|
|
Tina_5693 Subscriptions Scrollbar... Jan 15 2005, 01:49 PM
Sherry_Vu did you put it into you website stats section? Jan 15 2005, 03:18 PM
Sherry_Vu QUOTE(Tina_5693 @ Jan 15 2005, 4:09 PM)O OOPS... Jan 16 2005, 01:46 PM![]() ![]() |