Log In · Register

 
Color Scroll Bar
xxtangoisnotfor3
post Oct 16 2004, 11:44 PM
Post #1


peace and love
*****

Group: Member
Posts: 326
Joined: Oct 2004
Member No: 53,946



i tried putting the rainbow scroll bar in my xanga, but when i did it made my background white, is there any way i could keep the image for my background and have the rainbow scroll bar in my xanga?please answer, thank you.
roxie
xanga
 
 
Start new topic
Replies
xxtangoisnotfor3
post Oct 17 2004, 12:35 PM
Post #2


peace and love
*****

Group: Member
Posts: 326
Joined: Oct 2004
Member No: 53,946



oh my gosh, no.

i wanted the rainbow scroll bar to go with the theme on my xanga. so i got the code
QUOTE
<!-- begin code provided by createblog.com -->
<script language="JavaScript">
<!-- Scroll Surprise by kurt.grigg@virgin.net
colours=new Array('ff0000','fff000','00ff00','ffa500','ff00ff','00ffff','ffffff')
function flash(){
var clrPos=Math.floor(Math.random()*colours.length)
with (window.document.body.style){
scrollbarTrackColor=document.bgColor;
scrollbarFaceColor=document.bgColor;
scrollbarArrowColor=colours[clrPos];
scrollbar3dLightColor=colours[clrPos];
scrollbarHighlightColor=colours[clrPos];
scrollbarShadowColor=colours[clrPos];
scrollbarDarkShadowColor=colours[clrPos];
borderWidth=2;
borderStyle='solid';
borderColor=colours[clrPos];
}
}
if (document.all)window.document.body.onscroll=flash;
//-->
</script>
<!-- end code provided by createblog.com -->
but when i put the code in, it turns my background white but i get the rainbow scroll bar, my question was
QUOTE
can i have a rainbow scroll bar and keep my background with the image I want?
 

Posts in this topic


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