View Single Post
Old 07-25-2005, 08:52 PM   #1 (permalink)
Sketch
v7n Mentor
 
Sketch's Avatar
 
Join Date: 05-06-04
Location: London, UK
Posts: 664
iTrader: 0 / 0%
Latest Blog:
None

Sketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web pro
Java - Alternative

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?
Sketch is offline   Reply With Quote