![]() |
How would you create a popup window.
Hi all
How would you suggest creating a resized pop up browser window when a user clicks on a form, as I guess there are now different things to consider with pop up blockers etc... or would you suggest keeping to a full screen if you can.. |
Re: How would you create a popup window.
The best method at the moment for creating a pop-up that will not be blocked by default by eiter IE or Firefox is to create a flash applet that spawns a popup window.
Thats your answer. |
Re: How would you create a popup window.
Quote:
|
Re: How would you create a popup window.
Probably the most "block resistant" popup, is actually a DHTML flyover - not a traditional popup.
The common blocking methods are: 1. Block/kill unrequested windows (common in toolbars that do this) 2. Search and destroy any scripts with window.open (can be defeted by script obfuscation , script rewriting, eval ) 3. Block all script |
Re: How would you create a popup window.
You are all evil. :(
|
Re: How would you create a popup window.
Quote:
|
Re: How would you create a popup window.
Popups that display when a user clicks a link (like displaying a full size image of a property) are OK. It those that pop up when the page loads/page is closed, or at random intervals that IMO are bad. DHTML flyovers are the most irritating.
|
Re: How would you create a popup window.
Ditto.
|
Re: How would you create a popup window.
A lot of the toolbar and add-on popup stoppers tend to lack differentiation between wanted and unwanted popups - especially in free versions.
I got so used to the synchronicity of a blocker which used SHIFT as a momentary release, when SHIFT-Clicking to open a link in a new Window, that I never noticed any weaknesses in that approach, in fact, I returned to it from the rather unreliable script based blocking, and I haven't seen a popup or popunder since - the DHTML flyovers will be answered by complete script blocking, if they get too bad! |
Re: How would you create a popup window.
All i want to do is create a form tha6t when the user submits it, it pops up a confirmation form that runs a little... nothing evil :)
|
Re: How would you create a popup window.
Trouble is, popups are so misused that you can almost guarantee that the majority of people will have some kind of blocker.
|
Re: How would you create a popup window.
This is my ponderence, seems a little silly having a whole page with just two lines of txt after the user submits the form
|
Re: How would you create a popup window.
If you just want to use javascript then the following command will work fine. All you need to do is put some note on the page indicating that a popup window will occur and users will need to bypass any blockers that they are running.
window.open('1.html','','menubar=no,height=100,wid th=300,top=10,left=10'); The code above will popup a window 300x100 at the coordinates specified in top & left. It removes the scrollbars and the menu & address bars. |
| All times are GMT. The time now is 03:23. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum