:: Forum >> General/Off-topic >>

How do I open a new window with hidden url/adress bar?

Hi!

I want to open a new window from a html document located in c:\temp\test.htm (shared folder on the intranet)
The new html document is located in c:\folder\new.htm
I don't want to show where the second document is located.
Is there a way to hide the url with javascript?
I use htmlblock to hide the code also.
The second window opens a video and a lot of other files I don't want to show. I just want to show the video.

Can you give me a complete example of this. /Roger

Here is test.htm:

<HTML>
<HEAD>
<TITLE> test </TITLE>
</HEAD>
<BODY>
<script type="text/javascript">

function loadwindow(){
window.open("/folder/new.htm","","width=800,height=600,status=1")
}
</script>

<form>
<input type="button" onClick="loadwindow()" value="New window">
</form>

</BODY>
</HTML>


Tuesday, May 2, 2006



This topic is archived.

Back to support forum

Forum search