Log In · Register

 
using scrollbars, plz help if you can
crashingg
post Dec 22 2004, 06:58 PM
Post #1


rainy days fade away..
*****

Group: Member
Posts: 566
Joined: Oct 2004
Member No: 58,261



hey its me the girl w/ the banner..
i was wondering if anyone knew how to put the scroll bar near the entries instead of all the way at the side. i have 3 scrollbars - one on the right for the entire xanga, one ont the bottom for entire xanga, and then one all the way and the right for the entries.
my xanga -- www.xanga.com/aisha_girl
if u know how to put the scrollbar for the entries go right along the entries instead of all the way at the right plz help me out! thx so much!
 
 
Start new topic
Replies
lilswtangl1124
post Dec 23 2004, 01:40 PM
Post #2


Senior Member
***

Group: Member
Posts: 39
Joined: Dec 2004
Member No: 73,564



put this in your webstats:


CODE
<!-- begin code provided by createblog.com -->
<style type="text/css">
.custom{
width: 200px;
height: 200px;
z-index:100;
overflow: auto;
border: px #000000 solid;
background: #ffffff;
}</style>
<!-- end code provided by createblog.com -->
<!-- begin code provided by createblog.com -->
<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 code provided by createblog.com -->


I had the same problem with you, but When I put that code It worked. Make sure to change the height and the width.
 

Posts in this topic


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