Nov 14, 2003 #1 bungpeng Senior Contributor Joined Sep 10, 2002 Messages 906 Location Malaysia Is there anyway I can control Browser Scroll Bar? Can it be done using javascript? Thank you
Nov 14, 2003 #2 F fadi Junior Contributor Joined Jul 4, 2003 Messages 209 Location Lebanon if u mean the colors and style of the scroll bar, then yes u can. here is a piece of code: function PaintScrollBar() { document.body.style.scrollbarFaceColor="#eef5ff" document.body.style.scrollbarArrowColor="#dfeeff" document.body.style.scrollbarTrackColor="red" document.body.style.scrollbarShadowColor="black" document.body.style.scrollbarHighlightColor="blue" document.body.style.scrollbar3dlightColor="white" document.body.style.scrollbarDarkshadowColor="red" }
if u mean the colors and style of the scroll bar, then yes u can. here is a piece of code: function PaintScrollBar() { document.body.style.scrollbarFaceColor="#eef5ff" document.body.style.scrollbarArrowColor="#dfeeff" document.body.style.scrollbarTrackColor="red" document.body.style.scrollbarShadowColor="black" document.body.style.scrollbarHighlightColor="blue" document.body.style.scrollbar3dlightColor="white" document.body.style.scrollbarDarkshadowColor="red" }
Nov 14, 2003 #3 bungpeng Senior Contributor Joined Sep 10, 2002 Messages 906 Location Malaysia Thank you. Actually I want to control the movement of scroll bar, and I was found it, use "parent.scroll(x,y)" Anyway, your information is also useful for me...
Thank you. Actually I want to control the movement of scroll bar, and I was found it, use "parent.scroll(x,y)" Anyway, your information is also useful for me...