I’m having a hard time getting this to work in IE. All the other browsers are working perfectly! Can’t use a transparent gif because this link is being used inside a cycling background image. If I place a gif, it does not cycle anymore… Anyone suggestions?
<div onclick="window.open('mylink.html','new_window');" style="display:block; float:right; height:40px; width:100px; cursor:pointer;">
I believe IE still only fires onClick events from elements that are normally clickable.
Do this:
(of course use the corresponding
</a>instead of</div>at the end)Not sure what a transparent gif has to do with it.