April 25th, 2013, 07:18 PM
Position of menu
I recently got the action I want. But I want the position of the menu item to be below the menu option.
Here is the code:
mediamenu.jpg is the menu item I want to appear under mediaoption.jpg
<a href="mediamenu.html"><img style="fixed" src="mediaoption.jpg" onMouseOver="this.src='mediamenu.jpg'" onMouseOut="this.src='mediaoption.jpg'" /></a>
April 25th, 2013, 10:21 PM
For some reason, when I first read your question; I was thinking this was a basic CSS question. I re-read your question and realized; you need dhtml. So do an online search for "dhtml element positioning".
April 25th, 2013, 10:31 PM
April 25th, 2013, 11:08 PM
I have tried dhtml positioning but I cannot get it to work.
Here is what i have in code:
The image mediaoption.jpg is 123x55
<p><a href="mediamenu.html"><img style="position: relative; top: 10px; left: 10px;" src="mediaoption.jpg" onMouseOver="style='position: relative; left: 10px; top: 65px';this.src='mediamenu.jpg'" onMouseOut="this.src='mediaoption.jpg'" /></a></p>
April 25th, 2013, 11:54 PM
Last edited by web_loone08; April 25th, 2013 at 11:59 PM.
April 26th, 2013, 01:30 AM
Thanks for that. Problem solved with a software program.