| | |
Open.window popup
Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Apr 2007
Posts: 30
Reputation:
Solved Threads: 0
hi
i need to open a new window using
is there any way to solve this?
if there is any other way to control the window parameters, like while its loading, feel free to post where, it would be much more usefull to me
thanks
i need to open a new window using
open.window to control some parameters, like window size, bars, scrollbars... the problem is that this way the brower blocks the window like if it was a popup...is there any way to solve this?
if there is any other way to control the window parameters, like while its loading, feel free to post where, it would be much more usefull to me
thanks
As long as you don't call it on a page load or something similar the pop up will open just fine. Basically, it has to be opened based on a user action (i.e. they click on a link). So it is not the code that is the issue, it is how the pop up is called.
John Conde
Brainyminds | Merchant Account Services | I Love Code
IT'S HERE: Merchant Accounts 101 Everything you need to know about merchant accounts!
Brainyminds | Merchant Account Services | I Love Code
IT'S HERE: Merchant Accounts 101 Everything you need to know about merchant accounts!
> if there is any other way to control the window parameters, like while its loading, feel free to post
Set the focus to the parent window, so that the newly opened window can load in the background and the user can browse the original page.
If you still don't get it, let me know.
Set the focus to the parent window, so that the newly opened window can load in the background and the user can browse the original page.
If you still don't get it, let me know.
Last edited by ~s.o.s~; Jul 19th, 2007 at 1:48 pm.
I don't accept change; I don't deserve to live.
•
•
Join Date: Apr 2007
Posts: 30
Reputation:
Solved Threads: 0
sorry, don't get it...
i'm using a normal page to open another page after 3 seconds, but only because i don't know any other way to control the window.
what i meant was that if there is a way to control a window without using the first one with the javascript code above, it would be great...
thanks
i'm using a normal page to open another page after 3 seconds, but only because i don't know any other way to control the window.
window.open("fgo.aspx","new ",
"toolbar=no,directories=no,status=no,titlebar=no,
menubar=no,scrollbars=no,resizable=no,width=800,
height=600,top=0,left=0")what i meant was that if there is a way to control a window without using the first one with the javascript code above, it would be great...
thanks
What you are trying to do is exactly what popup blockers try to block.
John Conde
Brainyminds | Merchant Account Services | I Love Code
IT'S HERE: Merchant Accounts 101 Everything you need to know about merchant accounts!
Brainyminds | Merchant Account Services | I Love Code
IT'S HERE: Merchant Accounts 101 Everything you need to know about merchant accounts!
I don't properly understand what you are trying to do here, but as far as I can make out, I guess you want to create a new window and allow it to load in the background while the user keeps on working with the original window.
If not, then please specify which parameters you want to control.
JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
// ee.html <html> <head> <script> function doSome() { var wnd = window.open("dd.html"); if(!wnd.opener) wnd.opener = self; } </script> </head> <body> <input type="button" value="Open Window" id="btn" onclick="doSome();" /> </body> </html> // dd.html <html> <head> <script> function shiftFocus() { opener.focus(); } </script> </head> <body onload="shiftFocus();"> <div>This really is something.</div> </body> </html>
If not, then please specify which parameters you want to control.
I don't accept change; I don't deserve to live.
Wow, I have the power to block your boss! I will use it. BLOCK!!!!
The trick is to provide a button the USER clicks to open the window.
Any window which opens without the USER deciding to open it by clicking something is a popup ad.
The trick is to provide a button the USER clicks to open the window.
Any window which opens without the USER deciding to open it by clicking something is a popup ad.
Last edited by MidiMagic; Jul 20th, 2007 at 6:41 pm.
Daylight-saving time uses more gasoline
•
•
Join Date: Apr 2007
Posts: 30
Reputation:
Solved Threads: 0
ok, my english limitations are creating some confusion here...
i'll try to explain what i need. my boss wants that when someone goes to (for example) www.xpto.com, the window appears without scrollbars, statusbars, toolbars... basically just the window frame and nothing more... the problem is that it appears that the only way to control these parameters is to open a new window using:
but this isn't what i want. if possible, i want to create this kind of window without using two pages, just one (fgo.aspx in this case)...
hope it helps understanding what i need.... and thanks for your help
i'll try to explain what i need. my boss wants that when someone goes to (for example) www.xpto.com, the window appears without scrollbars, statusbars, toolbars... basically just the window frame and nothing more... the problem is that it appears that the only way to control these parameters is to open a new window using:
window.open("fgo.aspx","new","toolbar=no,directories=no,
status=no,titlebar=no,menubar=no,scrollbars=no,resizable=no,width=800,
height=600,top=0,left=0")but this isn't what i want. if possible, i want to create this kind of window without using two pages, just one (fgo.aspx in this case)...
hope it helps understanding what i need.... and thanks for your help
![]() |
Similar Threads
- can`t open more than one window of internet explorer (Web Browsers)
- new window popup (HTML and CSS)
- Can't open more than one window at a time (Windows NT / 2000 / XP)
- IE-links won't always work and will not "open in new window" (Web Browsers)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Javascript MP3 Player
- Next Thread: help me
| Thread Tools | Search this Thread |
acid2 ajax ajaxexample ajaxjspservlets array browser bug captchaformproblem cart checkbox child class close codes createrange() css cursor date debugger decimal dependent design disablefirebug dom dropdown editor element embed engine enter error events explorer ext file firefox focus form forms frameworks getselection google gxt hiddenvalue highlightedword hint html ie7 ie8 iframe images index internet java javascript javascripthelp2020 jquery jsf jsfile jsp jump libcurl listbox maps masterpage math media menu mp4 object onmouseoutdivproblem onmouseover onreadystatechange parent paypal pdf php position post problem programming progressbar prototype redirect runtime safari scale scriptlets scroll search security shopping size software toggle unicode w3c web wysiwyg \n






