Log In · Register

 
can you see anything wrong w/ this code?..
seanlindo06
post Jul 23 2004, 12:43 PM
Post #1


Newbie
*

Group: Member
Posts: 8
Joined: Jan 2004
Member No: 1,485



do you see what would be causing the auto. scrollbar in entry code not to work?

*Insert your own header html8
<style type="text/css">


body
{ background-color: #000000; background-image: url(http://img.villagephotos.com/p/2004-6/748757/Image1.gif); background-repeat: no-repeat; background-position: center left }

/* remove regular modules */
texttable.left, td.mainleft, table.left, table.navigation, table.search{display:none}
table.blogbody tr td {width:0px; padding: 0px;}

/*Automatic entry scrollbar by blogring*/
.custom{
width:450px;
height:200px;
z-index:100;
overflow: auto;
border: 0px none;
background:;
}
/*End script by blogring*/

</style>

*Website stats*
<!--Automatic entry scrollbar by blogring-->
<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>
<!--End Script by blogring-->
 

Posts in this topic


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