Click to See Complete Forum and Search --> : Colored Scroll Bars and Fixed Windows
LeaDxPainT
07-23-2001, 12:03 AM
I was woners what script i use to make the scroll bar of an ie window to be a certain color for my page and how i go about making my site pop up as a small window instead of a full screen, and if it's possible i'd like to keep it so it staid that certain size. Thanks http://www.sysopt.com/forum/smile.gif
Cabinetmaker
07-23-2001, 05:27 AM
simply nifty program for the scroll bar (http://www.echoecho.com/toolcustomscroll.htm)
A list of colors to help you
ALICEBLUE - ANTIQUEWHITE - AQUAMARINE - AZURE - BEIGE - BISQUE - BLACK - BLANCHEDALMOND - BLUE - BLUEVIOLET - BROWN - BURLYWOOD - CADETBLUE - CHARTREUSE - CHOCOLATE - CORAL - CORNSILK - CRIMSON - CYAN - DARKBLUE - DARKCYAN - DARKGOLDENROD - DARKGRAY - DARKGREEN - DARKKHAKI - DARKMAGENTA - DARKOLIVEGREEN - DARKORANGE - DARKORCHID - DARKRED - DARKSALMON - DARKSEAGREEN - DARKSLATEBLUE - DARKSLATEGRAY - DARKTURQUOISE - DARKVIOLET - DEEPPINK - DEEPSKYBLUE - DIMGRAY - DODGERBLUE - FIREBRICK - FLORALWHITE - FORESTGREEN - GAINSBORO - GHOSTWHITE - GOLD - GOLDENROD - GRAY - GREEN - GREENYELLOW - HONEYDEW - HOTPINK - INDIANRED - INDIGO - IVORY - KHAKI - LAVENDER - LAVENDERBLUSH - LAWNGREEN - LEMONCHIFFON - LIGHTBLUE - LIGHTCORAL - LIGHTGOLDENRODYELLOW - LIGHTGREEN - LIGHTGREY - LIGHTPINK - LIGHTSALMON - LIGHTSEAGREEN - LIGHTSKYBLUE - LIGHTSLATEGRAY - LIGHTSTEELBLUE - LIGHTYELLOW - LIME - LIMEGREEN - LINEN - MAGENTA - MAROON - MEDIUMAQUAMARINE - MEDIUMBLUE - MEDIUMORCHID - MEDIUMPURPLE - MEDIUMSEAGREEN - MEDIUMSLATEBLUE - MEDIUMSPRINGGREEN - MEDIUMTURQUOISE - MEDIUMVIOLETRED - MIDNIGHTBLUE - MINTCREAM - MISTYROSE - MOCCASIN - NAVAJOWHITE - NAVY - OLDLACE - OLIVE - OLIVEDRAB - ORANGE - ORANGERED - PALEGOLDENROD - PALEGREEN - PALETURQUOISE - PALEVIOLETRED - PAPAYAWHIP - PEACHPUFF - PERU - PINK - PLUM - POWDERBLUE - PURPLE - RED - ROSYBROWN - ROYALBLUE - SADDLEBROWN - SALMON - SANDYBROWN - SEAGREEN - SEASHELL - SIENNA - SILVER - SKYBLUE - SLATEBLUE - SLATEGRAY - SNOW - SPRINGGREEN - STEELBLUE - TAN - TEAL - THISTLE - TOMATO - TURQUOISE - VIOLET - WHEAT - WHITE - WHITESMOKE - YELLOW - YELLOWGREEN
or...you can enter the hex color values.
And....Is this what you want to open in a certain size?
<html>
<head>
<script language="JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000" onLoad="MM_openBrWindow('YOURURLGOESHERE,'','width=300,hei ght=400')">
</body>
</html>
If so, change the bold items
[This message has been edited by Cabinetmaker (edited 07-23-2001).]
LeaDxPainT
07-23-2001, 09:59 AM
You just made my day.. http://www.sysopt.com/forum/smile.gif , Thanks-A-Bunch
socalgal
07-24-2001, 01:38 AM
Cool stuff, Cab http://www.sysopt.com/forum/wink.gif
Female
07-26-2001, 09:11 AM
Very nifty!!!
LeaDxPainT
07-26-2001, 09:39 AM
Anyone able to get the window size script to work?
To the best of my knowledge, it will only work on IE 5.5 and later. IE 5.0 does not support the colored scroll bars. Correct me if I'm wrong.
Cabinetmaker
07-26-2001, 03:17 PM
Make this your index page
<html>
<head>
<script language="JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000" onLoad="MM_openBrWindow('index2.htm','','scrollbars=yes,wi dth=600,height=400')">
</body>
</html><html>
<head>
<script language="JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000" onLoad="MM_openBrWindow('index2.htm','','scrollbars=yes,wi dth=600,height=400')">
</body>
</html>
then make the next one index2.html (this will be your main page)
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
body {
scrollbar-arrow-color: yellow;
scrollbar-base-color: black;
scrollbar-dark-shadow-color: yellow;
scrollbar-track-color: green;
scrollbar-face-color: blue;
scrollbar-shadow-color: white;
scrollbar-highlight-color: silver;
scrollbar-3d-light-color: black;
}
</style>
</head>
<body bgcolor="#FFFFFF" text="#000000">
This is your index2 page, the one that will pop up with with the colored scroll.
</body>
</html>
I hope this is what you are wanting?
Cabinetmaker
07-26-2001, 03:21 PM
also..you can add feature if you wish to the pop-up box
<html>
<head>
<script language="JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000" onLoad="MM_openBrWindow('index2.htm','','toolbar=yes,locat ion=yes,status=yes,menubar=yes,scrollbars=yes,resi zable=yes,width=600,height=400')">
</body>
</html>
Cabinetmaker
07-26-2001, 04:13 PM
edit: uhm....skip the info that was here /edit
http://www.sysopt.com/forum/smile.gif
[This message has been edited by Cabinetmaker (edited 07-26-2001).]
LeaDxPainT
07-26-2001, 04:44 PM
http://www.sysopt.com/forum/smile.gif Thanks, i was looking to have a disclamer opager and then have my site pop up in a smaller window...think this might be it. TY Again.
SysOpt.com
Copyright WebMediaBrands Inc. All Rights Reserved.