Make address bar disappear...

Need technical advice on coding your web pages? Covers HTML, JavaScript, CSS, and some server side technologies. Also the issue of some webpages not displayed well.

Moderator: Don_HH2K

Make address bar disappear...

Postby Sacapuss » Fri 25 Mar, 2005 10:28 pm

Hi !

Could you tell me how it is possible to make address bar, menu bar, etc. disappear by script ?

Thanx for your answer !
UserAgent: Mozilla/5.0 (X11; U; NetBSD i386; en-US; rv:1.6) Gecko/20040211
User avatar
Sacapuss
junior member
junior member
 
Posts: 12
Joined: Wed 23 Mar, 2005 12:40 am

Postby Don_HH2K » Fri 25 Mar, 2005 10:39 pm

You may want to take a look at Opening a New Window with JavaScript, which shows you some of the attributes you can use to remove things like scrollbars and the menu bars. Take note, though, that in most web browsers, you can opt to prevent JavaScripts from doing this, and therefore your settings would not be seen. Take note of Mozilla's in-built JavaScript functionality blockers:
Image
Here, you can see that it it is possible to disable all of these features, or better yet, disable JavaScript entirely and not see the new window at all (like I've done here).

Users of ZoneAlarm Pro or Security Suite (like me) are able to stop JavaScript and pop-ups from loading:
Image
Or, there's always Mozilla's built-in popup blocker that will block this as well.

Case in point: JavaScript's effects are different for every user. And I mean every user. That's not to say that I'm the only one with two-layer popup controls and ZoneAlarm's JavaScript blocking either. Keep in mind that it's on a rare occasion that something like what you're trying to do gets past both Mozilla's inbuilt functionality and ZoneAlarm Pro.

Please keep in mind that blocking JavaScript through both ZoneAlarm and Mozilla at the same time is a disaster waiting to happen. It has only been used as an example here.
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Donzilla/0.6PR2 (like Netscape/7.2; wml/1.3)
Laptop: HP Compaq nx6325 - Turion 64 X2 @ 2GHz, 2GB DDR2, 100GB HD, ATI Radeon X300, 15" LCD, Seven Pro
Handheld: Palm Treo 650 - Intel PXA270 @ 312MHz, 10MB RAM, 32MB flash, 2.7" LCD, Palm OS 5.4
User avatar
Don_HH2K
Moderator
Moderator
 
Posts: 5112
Joined: Sun 09 May, 2004 3:59 pm


Return to Web Design and Page Coding

Who is online

Registered users: Google [Bot]