Log In · Register

 
 
Closed TopicStart new topic
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!
 
starwberry_apple...
post Dec 22 2004, 07:25 PM
Post #2


Star of Berryz
*****

Group: Member
Posts: 406
Joined: May 2004
Member No: 15,033



plz look in the xanga script section: http://www.createblog.com/forums/index.php?showtopic=8343

and i hope that's what u need happy.gif
 
crashingg
post Dec 22 2004, 07:50 PM
Post #3


rainy days fade away..
*****

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



um that was the answer sorta. well i just wanna take that scroll bar near my entries and move it so its right next to them. i dont wanna have a scroll bar for each entry!
 
lilswtangl1124
post Dec 23 2004, 01:40 PM
Post #4


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.
 
crashingg
post Dec 23 2004, 04:34 PM
Post #5


rainy days fade away..
*****

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



oh thx. but 1 more question.
what is z-index and overflow??

excuse me for being a idiot
 
lilswtangl1124
post Dec 23 2004, 11:17 PM
Post #6


Senior Member
***

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



I dunno what they are, but I just changed the height and width and it worked. So you should just change that one.
 

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