Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Community Discussions (All other subjects)
 Removing the address bar in a popup window ?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 24 April 2008 :  04:50:26  Show Profile
Hi, Iīm using a quite simple code to create a popup window:

<script type="text/javascript">
<!--
function popwindow()
{
window.open('URL link insert here','width=770,height=540,menubar=no,scrollbars=no,toolbar=no,location=no,directories=no,resizable=yes,top=50,left=50');
}
//-->

Is there anyway I can remove the address bar, so that the URL canīt be seen ?

Thanks
</script>

Edited by - wii on 24 April 2008 04:51:18

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 24 April 2008 :  05:36:38  Show Profile  Visit HuwR's Homepage
can you post an image of what your window looks like ? menubar=no should remove the address bar
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 24 April 2008 :  05:38:10  Show Profile  Visit HuwR's Homepage
actually, try location=no
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 24 April 2008 :  06:27:16  Show Profile  Visit AnonJr's Homepage
Won't IE7 always show the address bar as an anti-phishing measure?
Go to Top of Page

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 24 April 2008 :  06:34:12  Show Profile
Do you want to see an image ? Itīs just a standard popup - both IE 7, Firefox 2, Opera 9 show the address bar. I have all these set to no:

menubar=no,
scrollbars=no,
toolbar=no,
location=no,
directories=no
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 24 April 2008 :  07:51:42  Show Profile  Visit HuwR's Homepage
quote:
Originally posted by AnonJr

Won't IE7 always show the address bar as an anti-phishing measure?



no, it shouldn't
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 24 April 2008 :  07:53:09  Show Profile  Visit HuwR's Homepage
take a look here http://www.scriptfx.com/windows/plain/simple.htm

the only one that should show the address bar is pop-up 3 which has location=yes
Go to Top of Page

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 24 April 2008 :  08:07:20  Show Profile
I just realized, my code doesnīt show the address bar in Firefox, but IE 7 does show it. Same with the URL you show Huw, none of them completely removed the address bar in IE 7.

Hmm....this may not be so simple.
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 24 April 2008 :  09:09:32  Show Profile  Visit HuwR's Homepage
apparently as anonjr suggested it is an IE7 feature that only the user can disable in their browser, it can not be done in code.
Go to Top of Page

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 24 April 2008 :  09:51:37  Show Profile
Ok, thanks anyway.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.33 seconds. Powered By: Snitz Forums 2000 Version 3.4.07