•
•
•
•
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 423,535 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 4,340 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: 1324 | Replies: 4
![]() |
| |
•
•
Join Date: Feb 2008
Posts: 12
Reputation:
Rep Power: 1
Solved Threads: 1
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
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.
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
--------------------------------------------------------------------------------------
God created the world out of atoms, I intend on creating mine out of 1's and 0's
•
•
Join Date: Apr 2005
Location: New York state
Posts: 465
Reputation:
Rep Power: 5
Solved Threads: 72
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
Why do you want to hide the address bar?
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+*
N+ o K w++(---) O? !M- V PS+>++ PE+ Y+ PGP !t- 5? X- R tv+
b+>++ DI+ D G++>+++ e+ h+>++ r z+*
•
•
Join Date: Feb 2008
Posts: 12
Reputation:
Rep Power: 1
Solved Threads: 1
•
•
•
•
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 thewindow.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
--------------------------------------------------------------------------------------
God created the world out of atoms, I intend on creating mine out of 1's and 0's
•
•
Join Date: Apr 2005
Location: New York state
Posts: 465
Reputation:
Rep Power: 5
Solved Threads: 72
![]() |
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
beta bon browser browsers browsing development echo email encryption eu europe firefox firefox background-position problem solved gecko html internet internet explorer internet explorer 7 javascript leak linux memory microsoft mozilla networking news open source open-source opera patch phishing scams security social software super testing users web webmail
- pop ups are back (Viruses, Spyware and other Nasties)
- Hijack this log (Viruses, Spyware and other Nasties)
- How to disable back button and backspace using Javascript..? (JavaScript / DHTML / AJAX)
- Browser opening by itself. (Viruses, Spyware and other Nasties)
- Desktop Advertisements! Hijacker perhaps? (Viruses, Spyware and other Nasties)
- Internet Explorer connect delay - Spyware? (Viruses, Spyware and other Nasties)
- dxsetu.exe (Viruses, Spyware and other Nasties)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Error message makes no sense! Help!
- Next Thread: .style.backgroundColor doesnt work well in IE???



Hybrid Mode