User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 373,365 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,646 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 1030 | Replies: 4
Reply
Join Date: Feb 2008
Posts: 12
Reputation: web_lock is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 1
web_lock web_lock is offline Offline
Newbie Poster

Disabling toolbar Firefox

  #1  
Feb 28th, 2008
I'm facing a problem with Firefox.

I've got a page with a input text box element within a form .

On the Click of Submit , I would like to open a new window with width =1200 and height=900 .

I've used the following code
<form name='form' action="login_check.php" method="POST" target="foo" onsubmit="window.open('', 'foo', 'width=450,height=300,status=yes,resizable=yes,scrollbars=yes')">



It works perfectly fine in IE , however in Firefox it opens it in a tab... My objective is to actually hide the address toolbar.

Hope someone could really help me out here.
Last edited by web_lock : Feb 28th, 2008 at 6:11 am.
web_lock
--------------------------------------------------------------------------------------
God created the world out of atoms, I intend on creating mine out of 1's and 0's
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Apr 2005
Location: New York state
Posts: 442
Reputation: ShawnCplus will become famous soon enough ShawnCplus will become famous soon enough 
Rep Power: 5
Solved Threads: 65
Sponsor
ShawnCplus's Avatar
ShawnCplus ShawnCplus is offline Offline
Code Monkey

Re: Disabling toolbar Firefox

  #2  
Feb 28th, 2008
Well you can't exactly control that because even if it opens in a new window for one user another might have their settings to override opening pages in a new window IE., no matter what you do it will open in a new tab. Controlling the user is a bit difficult and unpredictable.

IE will pretty much always open a new window when it encounters the window.open() method. However, Firefox's action is, as I said before, a bit unpredictable.

Why do you want to hide the address bar?
GCS d- s+:+ a-->? C++(++++) UL+++ P+>+++ L+++ !E--- W+++
N+ o K w++(---) O? !M- V PS+>++ PE+ Y+ PGP !t- 5? X- R tv+
b+>++ DI+ D G++>+++ e+ h+>++ r z+*
Reply With Quote  
Join Date: Feb 2008
Posts: 12
Reputation: web_lock is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 1
web_lock web_lock is offline Offline
Newbie Poster

Re: Disabling toolbar Firefox

  #3  
Feb 29th, 2008
Originally Posted by ShawnCplus View Post
Well you can't exactly control that because even if it opens in a new window for one user another might have their settings to override opening pages in a new window IE., no matter what you do it will open in a new tab. Controlling the user is a bit difficult and unpredictable.

IE will pretty much always open a new window when it encounters the window.open() method. However, Firefox's action is, as I said before, a bit unpredictable.

Why do you want to hide the address bar?


Well its more or less on grounds of security .. therre are some elements that I am passing through the URL , though its encrypted , I would really not want ppl to have access to it .
web_lock
--------------------------------------------------------------------------------------
God created the world out of atoms, I intend on creating mine out of 1's and 0's
Reply With Quote  
Join Date: Apr 2005
Location: New York state
Posts: 442
Reputation: ShawnCplus will become famous soon enough ShawnCplus will become famous soon enough 
Rep Power: 5
Solved Threads: 65
Sponsor
ShawnCplus's Avatar
ShawnCplus ShawnCplus is offline Offline
Code Monkey

Re: Disabling toolbar Firefox

  #4  
Feb 29th, 2008
Pass it using POST and not GET
GCS d- s+:+ a-->? C++(++++) UL+++ P+>+++ L+++ !E--- W+++
N+ o K w++(---) O? !M- V PS+>++ PE+ Y+ PGP !t- 5? X- R tv+
b+>++ DI+ D G++>+++ e+ h+>++ r z+*
Reply With Quote  
Join Date: Jan 2007
Posts: 2,410
Reputation: MidiMagic is on a distinguished road 
Rep Power: 6
Solved Threads: 99
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Nearly a Posting Maven

Re: Disabling toolbar Firefox

  #5  
Mar 1st, 2008
This is not yours to control. It belongs to the user who owns the computer.
Daylight-saving time uses more gasoline
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb JavaScript / DHTML / AJAX Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 2:45 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC