Help
-
Search
-
Members
-
Calendar
Full Version:
Add scrollbar to my blogring
Forums
>
Resource Center
>
Support Center
>
Xanga Support
>
Xanga Resolved Topics
Missforbiddenfruit
Feb 1 2005, 02:15 AM
HI, another post... How to add scrollbar to my blogrings... thanks
greedybunny92
Feb 1 2005, 07:08 AM
i dont think u can but subscription, u can.
largosama
Feb 1 2005, 10:57 AM
You guys need to look more carefully
<script language="Javascript">
// Module Scrollbar - xanga.com/add_ons
// Submitted by xanga.com/godofphotoshop
//edited by xanga.com/mrportable
// change here to the height of the box, px means pixels
var boxheight = "100px";
// do not edit below here
var th = document.getElementsByTagName("th");
for (var p = 0; p < th.length; p++) {
if(th[p].innerHTML.toLowerCase().indexOf('subscriptions</span>') !== -2) {
var subtext = th[p].parentElement.parentElement.getElementsByTagName("tr")[1].getElementsByTagName("td")[0];
subtext.innerHTML = "<div style=\"height: " + boxheight + ";overflow:auto;\">" + subtext.innerHTML + "</div>";
}
}
</script>
CKae
Feb 3 2005, 04:09 AM
QUOTE(largosama @ Feb 1 2005, 11:57 PM)
You guys need to look more carefully
<script language="Javascript">
// Module Scrollbar - xanga.com/add_ons
// Submitted by xanga.com/godofphotoshop
//edited by xanga.com/mrportable
// change here to the height of the box, px means pixels
var boxheight = "100px";
// do not edit below here
var th = document.getElementsByTagName("th");
for (var p = 0; p < th.length; p++) {
if(th[p].innerHTML.toLowerCase().indexOf('subscriptions</span>') !== -2) {
var subtext = th[p].parentElement.parentElement.getElementsByTagName("tr")[1].getElementsByTagName("td")[0];
subtext.innerHTML = "<div style=\"height: " + boxheight + ";overflow:auto;\">" + subtext.innerHTML + "</div>";
}
}
</script>
But this script put scroll bars in all left modules! U should read the topic more carefully!
iki2aZei
Feb 3 2005, 04:23 AM
u kant jus put a scrollbar in "my blogrings," itz neither all left side mods or da subscriptions mod..
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here
.