I'm using this code to show and hide a div.
The link to hide the div is in another frame and it works fine.
When it is hidden a background image is visible and I've made it clickable with this:
and this:
It works fine if I create a link in the other frame but it will not work in IE from the transparent box link div. Instead of making the div visible again, it goes to the directory page showing a list of files. It works perfectly in Firefox. But this is for an offline app in an app specific browser based on IE. So I don't care if it works in other browsers. Just IE.
Thanks in advance for any suggestions.
Code:
function showDiv(){ document.getElementById("test").style.visibility="visible" } function hideDiv(){ document.getElementById("test").style.visibility="hidden" }
When it is hidden a background image is visible and I've made it clickable with this:
Code:
#box-link { position: absolute; top: 21px; left: 21px; width: 267px; height: 180px; background-color: transparent; border: 1px solid yellow; }
Code:
<div class="box-link" id=test2><a id="box-link" href="" onClick="javascript:showDiv()"></a></div>
Thanks in advance for any suggestions.
Comment