Those Scrollbars, and blog entires-- again. |
Those Scrollbars, and blog entires-- again. |
![]()
Post
#1
|
|
Newbie ![]() Group: Member Posts: 2 Joined: Aug 2007 Member No: 564,728 ![]() |
I've found dozens of pages and topics about putting individual entries in scroll boxes, but what I want is coding that will allow me to group the entirety of the entries (without the side modules) into a box. Can anyone help out?
Rex |
|
|
![]() |
*IVIike* |
![]()
Post
#2
|
Guest ![]() |
try this
CODE <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 from xanga.com/html_scripts--> <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> |
|
|
![]() ![]() |