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
*IVIike*
post Jul 23 2007, 06:17 PM
Post #2





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>
 

Posts in this topic


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