This question seems to have been asked a lot, but I have not seen an answer that works.
So, I have a div that works as follows:
<div onclick="location.href='http://www.abc123.com';" class="menuitem">
</div>
Now I need a link (specified in location.href) to open in fancybox iframe.
I would like to use element A , but this Div contains other elements, so I don't think I can.
I am open to all suggestions ... even using elements other than a div, or using a different jquery iframe shortcut.
thank
Tim Mohr
source
share