Click to See Complete Forum and Search --> : Colors in dropdown boxes


TJJ
04-18-2003, 06:48 PM
I pulled some Javascript off http://javascript.internet.com/ to create cascading style sheets and I can't seem to change the colors except for page bkgrnd. Here is the script area I think the color codes might be for the 'Background of box' and the 'Color when the cursor is over a hyperlink'.



<HTML xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns="http://www.w3.org/TR/REC-html40">
<HEAD>

<link rel="File-List" href="test1_files/filelist.xml">

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Original: Arun kumar (n_arunk@hotmail.com) -->

<link href="CascadeMenu.css" rel="stylesheet">
<script language="javascript" src="CascadeMenu.js">
</script>
<!--[if !mso]>
<style>
v\:* { behavior: url(#default#VML) }
o\:* { behavior: url(#default#VML) }
.shape { behavior: url(#default#VML) }
</style>
<![endif]--><!--[if gte mso 9]>
<xml><o:shapedefaults v:ext="edit" spidmax="1027"/>
</xml><![endif]-->
</HEAD>

<!-- STEP TWO: Insert the onLoad event handler into your BODY tag -->

<BODY OnLoad="InitMenu()" Onclick="HideMenu(menuBar)" ID="Bdy" bgColor=white>

<!-- STEP THREE: Copy this code into the BODY of your HTML document -->

<!--[if gte vml 1]><v:shapetype id="_x0000_t138"
coordsize="21600,21600" o:spt="138" adj="10800" path="m0@0l10800,,21600@0m,21600r10800,l21600,21600e">
<v:formulas>
<v:f eqn="val #0"/>
<v:f eqn="prod #0 1 2"/>
<v:f eqn="sum @1 10800 0"/>
<v:f eqn="sum 21600 0 @1"/>
</v:formulas>
<v:path textpathok="t" o:connecttype="custom" o:connectlocs="10800,0;5400,@1;10800,21600;16200,@1"
o:connectangles="270,180,90,0"/>
<v:textpath on="t" fitshape="t"/>
<v:handles>
<v:h position="topLeft,#0" yrange="0,21600"/>
</v:handles>
<o:lock v:ext="edit" text="t" shapetype="t"/>
</v:shapetype><v:shape id="_x0000_s1025" type="#_x0000_t138" style='width:181.5pt;
height:36pt' fillcolor="#ffc">
<v:fill color2="#000f99" focus="100%" type="gradient"/>
<v:shadow color="#868686"/>
<o:extrusion v:ext="view" backdepth="18pt" color="#06c" on="t" viewpoint="-34.72222mm"
viewpointorigin="-.5" skewangle="-45" brightness="10000f" lightposition="0,-50000"
lightlevel="44000f" lightposition2="0,50000" lightlevel2="24000f"/>
<v:textpath style='font-family:"AGaramond";font-size:24pt;v-text-kern:t'
trim="t" fitpath="t" string="OptionCaddie.com"/>
</v:shape><![endif]--><![if !vml]><img border=0 width=252 height=54
src="test1_files/image001.gif" alt=OptionCaddie.com v:shapes="_x0000_s1025"><![endif]></p>

TJJ
04-18-2003, 06:50 PM
I am using Frontpage

Jona
04-18-2003, 11:43 PM
Dave, since this was already posted, I'd like to ask a question concerning this topic, of course. Is there a way to display a font inside an individual option? E.g.:

<select>
<option style="font-family:verdana" selected>Verdana</option>
<option style="font-family:arial">Arial</option>
</select>

Jona
04-19-2003, 12:35 PM
Actually, Dave, I did try it, and it didn't work for me. I was wondering if I was doing something wrong. Thanks, though.

Jona
04-19-2003, 07:37 PM
Thanks, I guess I did ask wrong. Sorry... But thanks! :)

(Wow! I, like, made so much sense out of that one. :rolleyes: )

Esmaeiluk
04-26-2003, 06:25 PM
:confused: <v:fill color2="#000f99" focus="100%" type="gradient"/>
<v:shadow color="#868686"/>
<o:extrusion v:ext="view" backdepth="18pt" color="#06c"
i think u have to change the area at the beginning of where i've cut of from
this myight help