Help - Search - Members - Calendar
Full Version: scrollbars on custom moudles
Forums > Resource Center > Support Center > Xanga Support > Xanga Resolved Topics
laughn_l0ser
is there any way to put scrollbars on custom moudles?? i need a code laugh.gif
lovescream
.. there is one for subscriptions. and i think blogrings. =\
laughn_l0ser
well i need a scrollbar on my custom moudles.. because my friend has scrollbars on hers..
JlIaTMK
QUOTE(laughn_l0ser @ Dec 30 2004, 7:57 PM)
well i need a scrollbar on my custom moudles..  because my friend has scrollbars on hers..
*


haha, one of those things thats about "youre not cool if youre xangas not like me?"

well can i see your friends site :)
ryanoman
CODEBOX: -> right click -> copy/paste


Put that before your custom module content... not module code.

CODEBOX: -> right click -> copy/paste


Put that at the end of the module content... not module code.

Those two codes must be applied to all modules that you want a scrollbar on.
laughn_l0ser
http://www.xanga.com/uhh_lyssa juss dont leave a comment or something.. i think she will get mad _unsure.gif

but i put that code.. it gave me a scrollbar on the blog not moudles
JlIaTMK
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
does it work on custom moudles??

///edit\\\

anyways i tried doing the other code.. look what happened

http://www.xanga.com/chezproductionz
LatinaLady
can you show YOUR code you have for the custom modules
laughn_l0ser
CODE
<!-- begin code provided by createblog.com -->
<style type=text/css>
/* remove regular modules */
texttable.left, td.mainleft, table.left, table.navigation, table.search{display:none}
table.blogbody tr td {width:0px; padding: 0px;}

/* edit to your liking */
table.module { border: 1px solid #D2B48C; width:160px; background-color:#D2B48C; }
table.module th { background-color: #D2B48C;font: bold 11px arial; text-transform: lowercase;color: #FFFFFF; border: none; }
table.module td {color: #ffffff; text-align: left; border: none; background-image: none; }
</style>

<!-- add this below all the CSS -->

<table border=0 width="660"><tr><td valign="top" width="160">
<table border="1" cellspacing="0" cellpadding="4" width="100%" class="module"><tr><th valign="top" align="left" class="module"><b>Rules</b></th></tr><tr><td valign="top" class="module">
<div style="overflow: auto;">
RULES:
1.<b>N0 TAKiNG 0UT MY C0PYRITE SiGN</b><br>
-not ALL my banners have copyrite signs<br>
2.<b>PLEASE NOT AL0T 0F REQUESTS 0N AiM</b><br>
-if i am away, dont leave a message or something<br>
-if i accidently close your window on aim, please put another request in this box<br>
-when i am busy on aim, just leave an request in this box<br>
3.<b>N0 STEALiNG MY BANNER WITH0UT PERMiSS0N UNLESS iT iS A UNREQESTED BANNER.</b><br>
4.<b>OTHER BANNER SITES WHO GET MY BANNERS PLEASE SAY YOU DIDNT MAKE THEM</b><br>
-tell that you didnt make it please<br>
5.<b>PLEASE SAVE THE BANNER TO YOUR COMPUTER</b><br>
-i will delete the banner in about a week from my computer<br>
-get your own host and host it there when the banner isnt working.<br>
</div>
</td></tr></table><br>

<table border="1" cellspacing="0" cellpadding="4" width="100%" class="module"><tr><th valign="top" align="left" class="module"><b>Requests</b></th></tr><tr><td valign="top" class="module">
I will only do banner requests for now. Once I get enough people in my crew, I can start glitter name requests and more. I dont do layouts.. Sorry. please vote for me and subscribe. thank you!<a href="http://www.createblog.com/topsite/in.php?id=770"><img src="http://www.createblog.com/topsite/button.php?id=770" border="0" /></a>


</td></tr></table><br>

<table border="1" cellspacing="0" cellpadding="4" width="100%" class="module"><tr><th valign="top" align="left" class="module"><b>I wouldn't make your request because..</b></th></tr><tr><td valign="top" class="module">
-I dont understand you<br>
-I dont have that certain thing<br>
-I cant do that<br>
-There's too many requests<Br>
-Im too lazy to do it:D<br>


</td></tr></table><br>


<!-- Here's your CUSTOM MODULE.. copy and paste as needed -->
<table border="1" cellspacing="0" cellpadding="4" width="100%" class="module"><tr><th valign="top" align="left" class="module"><b>juss look</b></th></tr><tr><td valign="top" class="module">

<a href="http://chatter.flooble.com/chatter.php?id=chezproductionz&popup=true&w=490&h=400&title=no+requests+please+" target="flooblechatterbox" onClick="window.open('about:blank','flooblechatterbox','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,re
izable=no,copyhistory=no,width=490,height=400');return true;"><img src="http://www.flooble.com/images/chatter/chaticon.gif" border="0" align="absbottom">DROP A LITTLE SOMETHIN~</a><img src="http://www.flooble.com/images/dot.gif?source=cbpopup">
<br>
banner request form
<br>FORM:<br>
bg color(hex#plz):<br>
brushes(swirls,stars,hearts etc.):<Br>
brushes color:<br>
font:<br>
font color(hex#):<Br>
saying:<br>
anything else?:<br>
</td></tr></table><br>



</td><td width="500" valign="top" align="left">
<!-- end code provided by createblog.com -->
LatinaLady
im sorry i should have asked this before. where do you want to add the scrollbar too. to all the custom modules. orjust one certain one or as a whole?
laughn_l0ser
all of them
LatinaLady
ok here goes change the numbers if you want.
i added this part so change the number in bold
<div style="overflow: auto; HEIGHT: 120px">
QUOTE
<style type=text/css>
/* remove regular modules */
texttable.left, td.mainleft, table.left, table.navigation, table.search{display:none}
table.blogbody tr td {width:0px; padding: 0px;}

/* edit to your liking */
table.module { border: 1px solid #D2B48C; width:160px; background-color:#D2B48C; }
table.module th { background-color: #D2B48C;font: bold 11px arial; text-transform: lowercase;color: #FFFFFF; border: none; }
table.module td {color: #ffffff; text-align: left; border: none; background-image: none; }
</style>

<!-- add this below all the CSS -->

<table border=0 width="660"><tr><td valign="top" width="160">
<table border="1" cellspacing="0" cellpadding="4" width="100%" class="module"><tr><th valign="top" align="left" class="module"><b>Rules</b></th></tr><tr><td valign="top" class="module">
<div style="overflow: auto; HEIGHT: 120px">
RULES:
1.<b>N0 TAKiNG 0UT MY C0PYRITE SiGN</b><br>
-not ALL my banners have copyrite signs<br>
2.<b>PLEASE NOT AL0T 0F REQUESTS 0N AiM</b><br>
-if i am away, dont leave a message or something<br>
-if i accidently close your window on aim, please put another request in this box<br>
-when i am busy on aim, just leave an request in this box<br>
3.<b>N0 STEALiNG MY BANNER WITH0UT PERMiSS0N UNLESS iT iS A UNREQESTED BANNER.</b><br>
4.<b>OTHER BANNER SITES WHO GET MY BANNERS PLEASE SAY YOU DIDNT MAKE THEM</b><br>
-tell that you didnt make it please<br>
5.<b>PLEASE SAVE THE BANNER TO YOUR COMPUTER</b><br>
-i will delete the banner in about a week from my computer<br>
-get your own host and host it there when the banner isnt working.<br>
</div>
</td></tr></table><br>

<table border="1" cellspacing="0" cellpadding="4" width="100%" class="module"><tr><th valign="top" align="left" class="module"><b>Requests</b></th></tr><tr><td valign="top" class="module">
<div style="overflow: auto; HEIGHT: 120px">
I will only do banner requests for now. Once I get enough people in my crew, I can start glitter name requests and more. I dont do layouts.. Sorry. please vote for me and subscribe. thank you!<br><a href="http://www.createblog.com/topsite/in.php?id=770"><img src="http://www.createblog.com/topsite/button.php?id=770" border="0" /></a>


</td></tr></table><br>

<table border="1" cellspacing="0" cellpadding="4" width="100%" class="module"><tr><th valign="top" align="left" class="module"><b>I wouldn't make your request because..</b></th></tr><tr><td valign="top" class="module">
<div style="overflow: auto; HEIGHT: 70px">
-I dont understand you<br>
-I dont have that certain thing<br>
-I cant do that<br>
-There's too many requests<Br>
-Im too lazy to do it:D<br>


</td></tr></table><br>


<!-- Here's your CUSTOM MODULE.. copy and paste as needed -->
<table border="1" cellspacing="0" cellpadding="4" width="100%" class="module"><tr><th valign="top" align="left" class="module"><b>juss look</b></th></tr><tr><td valign="top" class="module">
<div style="overflow: auto; HEIGHT: 120px">

<a href="http://chatter.flooble.com/chatter.php?id=chezproductionz&popup=true&w=490&h=400&title=no+requests+please+" target="flooblechatterbox" onClick="window.open('about:blank','flooblechatterbox',& #39;toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,re
sizable=no,copyhistory=no,width=490,height=400');return true;"><img src="http://www.flooble.com/images/chatter/chaticon.gif" border="0" align="absbottom">DROP A LITTLE SOMETHIN~</a><img src="http://www.flooble.com/images/dot.gif?source=cbpopup">
<br>
banner request form
<br>FORM:<br>
bg color(hex#plz):<br>
brushes(swirls,stars,hearts etc.):<Br>
brushes color:<br>
font:<br>
font color(hex#):<Br>
saying:<br>
anything else?:<br>
</td></tr></table><br>

</td><td width="500" valign="top" align="left">
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.