Hi, So i have tried to make a script that will print scrollbars when a users open the page with a screen reolution lower then 1024*768 and simply does not print them if the user has the same or a higher one ….
Her is what i have done but it does not work could be great if someone could help me ???? thx
function scrollbar() {
var width = 1024;
var height = 768;
if (screen.width !< width || screen.height !< height) {
with(document.body.style)
{
scrollBar(true);
};
else if (screen.width != width || screen.height != height)
with(document.body.style)
{
scrollBar(null);
};
else if (screen.width !> width || screen.height !> height)
with(document.body.style)
{
scrollBar(null);
};
};
& I must ad something like that to customize the scrollbar but i dont know how (in the script) :
scrollbarDarkShadowColor=”black”;
scrollbar3dLightColor=”black”;
scrollbarArrowColor=”white”;
scrollbarBaseColor=”black”;
scrollbarFaceColor=”black”;
scrollbarHighlightColor=”black”;
scrollbarShadowColor=”black”;
scrollbarTrackColor=”black”;
i will really appriciate your help thx…since i m not so good in javascript…:o)
cheers
asch
?