how can I do that url disappears from window when i use open() (IE7)

D

Domingo

this function goes well in IE5 and IE6, but in IE7 goes wrong, because window
displays the URL and I don't want people enter in the web without pass trough
the main window, doing "cut and paste" the url in a clean window

function AbrirVentana(documento,nombre_ventana){
var v_popup = 'popup'; // nombre por defecto para la ventana
if (AbrirVentana.arguments.length==2) {v_popup=nombre_ventana;}
v_sin=open(documento,v_popup,"status=no,toolbar=no,menubar=no,resizable=yes,directories=no,scrollbars=yes");
v_sin.focus();
return;
 
R

Randy Webb

Domingo said the following on 12/29/2006 5:45 AM:
this function goes well in IE5 and IE6, but in IE7 goes wrong, because window
displays the URL and I don't want people enter in the web without pass trough
the main window, doing "cut and paste" the url in a clean window

Microsoft finally started listening to users and decided not to allow
you to remove the Location bar from the browser, even in a new window,
so that the user *always* knows the URL of the current window. If a
copy/paste of the URL "breaks" your app, then you need to redesign your app.
 
D

Domingo

Randy Webb said:
Domingo said the following on 12/29/2006 5:45 AM:

Microsoft finally started listening to users and decided not to allow
you to remove the Location bar from the browser, even in a new window,
so that the user *always* knows the URL of the current window. If a
copy/paste of the URL "breaks" your app, then you need to redesign your app.
--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/

Randy, Thank you very much for your answer.
In Spain that is said "light and stenographers"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top