F
Fritz
Hi,
I've started doing html and CSS for the first time and in the
process of testing what I want, I have this in the html:
<div id="My_Menu">
<a href="">First</a><br />
<a href="">Second</a><br />
<a href="">Third</a><br />
</div>
This in an attached style sheet:
#My_Menu{
background-color: #000000;
padding: 10px;
font-size: 14px;
font-family: Verdana, Arial, Helvetica, sans-serif;
position: absolute;
top: 150px;
left: -60px;
width: auto;
height: auto;
}
div a {color:#FFFFFF}
And in a .js page I have a routine that will (if I ever get it worked
out) push this div in and out from the left side. So, I tried
"onmouseover()" but in the documentation I have this only works with
anchors. And I'm not sure how to go about applying it to a div.
Does anyone have an idea how to wrap this div in something so as to be
able to use the mouseover to initiate a script?
I hope it's simple.
Thanks.
f.
I've started doing html and CSS for the first time and in the
process of testing what I want, I have this in the html:
<div id="My_Menu">
<a href="">First</a><br />
<a href="">Second</a><br />
<a href="">Third</a><br />
</div>
This in an attached style sheet:
#My_Menu{
background-color: #000000;
padding: 10px;
font-size: 14px;
font-family: Verdana, Arial, Helvetica, sans-serif;
position: absolute;
top: 150px;
left: -60px;
width: auto;
height: auto;
}
div a {color:#FFFFFF}
And in a .js page I have a routine that will (if I ever get it worked
out) push this div in and out from the left side. So, I tried
"onmouseover()" but in the documentation I have this only works with
anchors. And I'm not sure how to go about applying it to a div.
Does anyone have an idea how to wrap this div in something so as to be
able to use the mouseover to initiate a script?
I hope it's simple.
Thanks.
f.