Mouseover creating menu and changing image
-
Ok. Headache time.
I currently have a webpage where I have a mouseover that changes two images (one as a mouseover of the nav item and one as a targeted image).
I am now trying to put a dropdown menu to the right of “Fishing” menu upon the same mouseover – hence: a mouseover of the “fishing” button causes a rollover of the button, a targeted rollover of a second image, and now I need to add an additional mouseover that calls a menu to the right of the “fishing” button.
Whew!
This is all being done in html and css – HA! – and I am using a plug-in to insert html and link an uploaded css to it.
The current code reads as follows:
Any coding assistance would be very helpful.
Thanks in advance
bam
-
Thank you so much for the code –
I can definitely use the css –
Unfortunately I am still having a difficult time figuring out where to put it in the code I provided. Where do I put the actual nav in my code? What is that code?
bam
-
Still looking for assistance.
I need to put a menu inside of a currently working link.
I have the dropdown, but it doesn’t work the way I had intended.
It needs to show up to the right when the “Fishing” menu item is moused-over.<div style=”width:160px; height:172px; float:left; line-height: 0px;”>
<form id=”form1″ name=”form1″ method=”post” action=””>
<label>
<select name=”fishingMenu” id=”fishingMenu”>
</select>
<img src=”wp-content/uploads/2018/04/crossroads_fishing.jpg”
alt=”Fishing” name=”f_button” width=”160″ height=”38″ border=”0″ align=”left” id=”f_button”onmouseover=
“MM_swapImage(‘f_button’,”,’wp-content/uploads/2018/05/fishing_choice.png’,’chalkboard’,”,’wp-content/uploads/2018/05/fishing_choice.png’,1);MM_swapImage(‘f_button’,”,’wp-content/uploads/2018/04/fishing_hot.jpg’,’chalkboard’,”,’wp-content/uploads/2018/05/fishing_choice.png’,1)”
onmouseout=”MM_swapImgRestore()” /></label>
</form>The css was provided by a current member, but I am having difficulty actually putting the menu in the right place.
Any help would be greatly appreciated.
Thanks.
bam
-
Hi @bamgraphic, can we have a link to the site you are talking about? It would be much easier to figure things out if we had that. Right now, it is a bit of guesswork. You mention using a plugin, which would lead me to believe you are talking about a self-hosted WordPress.org installation and not a site hosted here at WordPress.com.
- The topic ‘Mouseover creating menu and changing image’ is closed to new replies.