Oopsies! I knew this had happened before. And it's only in some browsers, I think the web-kit/chrome style ones like Chrome, Opera, Safari. And I was right, but I had the wrong element, or it depends. If you're using the construction like on the demo page, it's the parent a element, like:
Code:
<a href="http://www.dynamicdrive.com" class="menuanchorclass" rel="anylinkmenu4" data-image="http://i52.tinypic.com/24g7uc7.giff" data-overimage="http://i55.tinypic.com/2z5lzlu.gif">
<img src="http://i52.tinypic.com/24g7uc7.gif" style="border-width:0" /></a>
And there have been various versions, I'm not sure if you can with this version make the menu drop (programatically) from the image itself. If so, then it's the image. But, as I say, using this type markup, it's the parent. This worked here:
Code:
<a href="http://www.dynamicdrive.com" style="display: inline-block;" class="menuanchorclass" rel="anylinkmenu4" data-image="http://i52.tinypic.com/24g7uc7.giff" data-overimage="http://i55.tinypic.com/2z5lzlu.gif">
<img src="http://i52.tinypic.com/24g7uc7.gif" style="border-width:0" /></a>
You of course may need to refresh and/or clear the cache to see changes. Also, if you prefer this could be added to the stylesheet as:
Code:
.menuanchorclass {display: inline-block;}
instead.
Using vertical-align: bottom; or middle also seems to work.
Bookmarks