Hi all,
I have a problem and I am hoping somebody here has a workaround for that. I am using DHTML layers in my page, and need to call a javascript from the layer (as a link within a layer. When a user click on a button inside a layer, a javascript should be called). Now IE works great, but Netscape does not seem to support JavScript from within layers. All I wanna do is to be able to let the user click on a link in the layer which would in turn open up a new window. My code looks like this:
echo"
<SPAN>
<a href\"\" onClick=\"window.open('ViewTitle.php?AlreadyAdded=etc...')\">
<img src=\"showDetailsLayerButton.gif\" width=\"92\" height=\"19\" border=\"0\">
</a>
</SPAN>";
and Netscape behaves as if the onClick wasn't there at all. It just does nothing. When I click on the image, nothing happens.
Any ides, any help....anybody ran into a similar problem?
I would apreciate any help.
Milos
milos-popovic@home.com