can you see anything wrong w/ this code?.. |
![]() ![]() |
can you see anything wrong w/ this code?.. |
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--> |
|
|
|
Jul 23 2004, 01:31 PM
Post
#2
|
|
![]() ^_^ ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,666 Joined: Feb 2004 Member No: 4,225 |
here's the code to make it easier to see:
CODE <!-- begin code provided by createblog.com -->
<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--> <!-- end code provided by createblog.com --> |
|
|
|
![]() ![]() |