scrollar bar in subscription, help... |
![]() ![]() |
scrollar bar in subscription, help... |
Dec 21 2004, 05:03 PM
Post
#1
|
|
|
Member ![]() ![]() Group: Member Posts: 15 Joined: Nov 2004 Member No: 59,977 |
does anybody know the code for scrollar bar in your subscription? i really need it..thank you..
|
|
|
|
Dec 21 2004, 05:05 PM
Post
#2
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 5,585 Joined: Aug 2004 Member No: 38,082 |
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 --> |
|
|
|
![]() ![]() |