Log In · Register

 
scrollbar in entry help, not showing up
lipstickD
post Jul 8 2007, 04:18 PM
Post #1


Newbie
*

Group: Member
Posts: 6
Joined: Dec 2006
Member No: 491,432



I used the script suggested in the post way below, but nothing shows up. No box or scrollbar. I made sure and typed it all in under Edit HTML. Any suggestions? Thank you!
 
 
Start new topic
Replies (1 - 7)
lipstickD
post Jul 9 2007, 02:11 PM
Post #2


Newbie
*

Group: Member
Posts: 6
Joined: Dec 2006
Member No: 491,432



Well, I sorta figured it out. A scrollbar eventually pops up, but only after I put at least 11 or so links in it. There's no box around the entry or anything so it's a little confusing looking. I'd like for it to have a border around it. My layout may be over-riding the border script I put in.
My URL:
http://www.xanga.com/lipd_links
Note: It's no where near done! :-)
 
YourSuperior
post Jul 9 2007, 02:18 PM
Post #3


;)
*******

Group: Staff Alumni
Posts: 9,573
Joined: Feb 2005
Member No: 99,124



You want your enties to have borders?
 
lipstickD
post Jul 9 2007, 03:07 PM
Post #4


Newbie
*

Group: Member
Posts: 6
Joined: Dec 2006
Member No: 491,432



well, I'd like for each section of links to have a box with a scrollbar with it.
Each section is in its own scrollbar script, so tech. they can all scroll, if I put enough text in them. But I'd like for it to show up even though some don't have a enough in them to make the scrollbar show up.

I'll try to find an example of what I'd like! biggrin.gif
 
*digitalfragrance*
post Jul 9 2007, 03:14 PM
Post #5





Guest






^ I'm not sure that's possible... there is a way to work around it though.. kinda.
If you put a lot of Page Breaks <br> after your links, you can create a scrollbar.
 
lipstickD
post Jul 9 2007, 09:11 PM
Post #6


Newbie
*

Group: Member
Posts: 6
Joined: Dec 2006
Member No: 491,432



thanks for ya'll's help. I'll work it out. lol. Thanks!
 
michellerrific
post Jul 18 2007, 10:50 PM
Post #7


vivacity
*******

Group: Official Member
Posts: 3,183
Joined: Jan 2007
Member No: 495,247



If you're using a universal script, you can always change the height of the text area, so the chances of an auto scrollbar are more frequent. I'm pretty sure it works with individual blog entry scripts.
 
*IVIike*
post Jul 23 2007, 06:17 PM
Post #8





Guest






this one works really great

CODE
<!-- from http://ecc.xlayoutsx.com-->
<style type="text/css">
.custom{
width:360px;
height:500px;
z-index:100;
overflow: auto;
border: 2px color solid;
background:Transparent;
}</style>
<!-- begin code provided by createblog.com revised by http://ecc.xlayoutsx.com-->
<script>
var tds = document.getElementsByTagName ('a');
for (var i = 0; i < tds.length; i++) {
timeString = tds[i].innerText;
if(timeString.match(/\d+:\d+ [ap]m\b/i)){
if(!tds[i].parentNode.parentNode.parentNode.parentNode.parentNode.tagName.match(/table/i)){break;}
table = tds[i].parentNode.parentNode.parentNode.parentNode.parentNode;
stuff = tds[i].parentNode.parentNode.parentNode.previousSibling.lastChild;
inner = stuff.innerHTML
stuff.innerHTML="";
stuff.insertAdjacentHTML('afterBegin','<div class="custom">'+inner+'</div>');
}
}
</script>
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: