Log In · Register

 
Those Scrollbars, and blog entires-- again.
rasldf
post Aug 21 2007, 04:51 PM
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
 
 
Start new topic
Replies
*IVIike*
post Sep 16 2007, 06:39 PM
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>
 

Posts in this topic
rasldf   Those Scrollbars   Aug 21 2007, 04:51 PM
MorbidAngel   uhm...i'm not sure what you mean here. do you ...   Aug 21 2007, 08:22 PM
Alysia   This isn't feasible because the right side of ...   Aug 22 2007, 07:18 PM
rasldf   Darn. Thanks though. :)   Aug 23 2007, 03:27 AM
digitalfragrance   You could do it, but WITH the side modules. OR, yo...   Aug 24 2007, 09:27 PM
Chad_man   I've seen it done before. in fact I've don...   Sep 12 2007, 06:17 PM
threepointone   It's definitely possible, with a bit of work. ...   Sep 12 2007, 06:48 PM
Chad_man   I think all you have to do is take the stuff in th...   Sep 12 2007, 07:25 PM
threepointone   Unless I'm mistaken, this works only for singl...   Sep 13 2007, 09:33 PM
jbjennessee13   blah   Sep 13 2007, 12:07 PM
IVIike   try this CODE<style type="text/css"...   Sep 16 2007, 06:39 PM


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