Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / JavaScript / December 2006



Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Domingo - 29 Dec 2006 10:45 GMT
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;
Randy Webb - 29 Dec 2006 23:20 GMT
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.
Signature

Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/

Domingo - 30 Dec 2006 14:52 GMT
>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
[quoted text clipped - 7 lines]
>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, Thank you very much for your answer.
In Spain that is said "light and stenographers"
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.