scrollbars on custom moudles |
scrollbars on custom moudles |
Dec 30 2004, 05:47 PM
Post
#1
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 310 Joined: Dec 2004 Member No: 73,592 |
is there any way to put scrollbars on custom moudles?? i need a code
|
|
|
|
![]() |
Dec 30 2004, 08:09 PM
Post
#2
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 7,048 Joined: Jun 2004 Member No: 22,696 |
i think you can....
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 --> use this code for all the things you want to change thats for subscriptions but you can change sites i read to something else :) |
|
|
|
laughn_l0ser scrollbars on custom moudles Dec 30 2004, 05:47 PM
electric shock .. there is one for subscriptions. and i think blo... Dec 30 2004, 06:01 PM
laughn_l0ser well i need a scrollbar on my custom moudles.. be... Dec 30 2004, 07:57 PM
JlIaTMK QUOTE(laughn_l0ser @ Dec 30 2004, 7:57 PM)wel... Dec 30 2004, 07:59 PM
ryanoman CODEBOX: -> right click -> copy/paste
<div s... Dec 30 2004, 08:00 PM
laughn_l0ser http://www.xanga.com/uhh_lyssa juss dont leave a c... Dec 30 2004, 08:01 PM
laughn_l0ser does it work on custom moudles??
///edit\... Dec 30 2004, 08:17 PM
LatinaLady can you show YOUR code you have for the custom mod... Dec 30 2004, 08:21 PM
laughn_l0ser CODE<!-- begin code provided by createblog... Dec 30 2004, 08:23 PM
LatinaLady im sorry i should have asked this before. where do... Dec 30 2004, 08:31 PM
laughn_l0ser all of them Dec 30 2004, 08:34 PM
LatinaLady ok here goes change the numbers if you want.
i ad... Dec 30 2004, 08:55 PM![]() ![]() |