scrollbar on subscriptions |
scrollbar on subscriptions |
Aug 13 2004, 10:19 PM
Post
#1
|
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 32 Joined: Jul 2004 Member No: 32,929 |
Hey, I'm not sure if someone's already posted this, but does anyone have the script to get my subscriptions moudle on the left to have a scrollbar? It'd be greatly appreciated, thanks!
|
|
|
|
![]() |
| *NatiMarie* |
Aug 13 2004, 11:17 PM
Post
#2
|
|
Guest |
Yup, there is a script in Xanga Scripts.
=] |
|
|
|
Aug 13 2004, 11:36 PM
Post
#3
|
|
![]() hi, my name is brianna! =] ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 5,764 Joined: Jun 2004 Member No: 22,114 |
CODE <!-- begin code provided by createblog.com -->
<script type="text/javascript"> // written by EasterEgg function adjustSirListHeight() { // *** define the height of your SIR-list in the line below var sirListHeight = 'HEIGHTpx'; 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 --> |
|
|
|
![]() ![]() |