Log In · Register

 
Scroll Bar Help!, Can I have a different colored scroll bar in my modules then on the ri
iCEiCE BABYYY
post Jan 31 2007, 07:00 PM
Post #1


Member
**

Group: Member
Posts: 25
Joined: Aug 2006
Member No: 448,477



Hey biggrin.gif So here's the problem:

I want to add scroll bars in my modules that are a different color then the scroll bar in the right of my screen... Is that possible? If so, how?

Thanks for your help!
 
 
Start new topic
Replies
iCEiCE BABYYY
post Feb 5 2007, 07:42 PM
Post #2


Member
**

Group: Member
Posts: 25
Joined: Aug 2006
Member No: 448,477



thanks! but how do I make only the modules on the left (not my posts) scroll?


i used the following code, but it made everything scroll, and I only want the left hand modules too..
CODE
<!-- begin code provided by LAYOUT_HOW_2 -->
<style type="text/css">
.custom{
width: 350px;
height: 250px;
z-index:100;
overflow: auto;
border: 0px #000000 solid;
background: #transparent;
}</style>
<!-- end code provided by LAYOUT_HOW_2 -->
<!-- begin code provided by LAYOUT_HOW_2 -->
<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)){bre

ak;}
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 code provided by LAYOUT_HOW_2 -->


thank you!
 

Posts in this topic


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