I am trying to use a simple java script in two of my pages, but its causing me a few problems.
Code:
<script language="Javascript">
function launchanywindow(whichfile, w, h) {
controlvalues="status=no,toolbar=no,scrollbars=no,width=" + w + ",height=" + h + "";
p=window.open (whichfile,"aname",controlvalues)
}
</script>
---
<a href="#" onClick="launchanywindow('reset/ace/index.html',300,200)">Reset</a>
That is one of the scripts, all it does is open a few window set to the size I want it. But when ever I visit this page IE puts that yellow bar up the top of my page telling people to block the content, I don't want this, its not harmful.
If there a PHP Alternative or something I can do to stop that yellow bar popping up?
I also get the bar when I use
Code:
<a href="#" onClick="javascript:top.window.close()">- Close Window -</a>
Any ideas?