Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | How would you create a popup window.

You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > Computers & IT > General IT Discussion
Register FAQ Community Calendar

How would you create a popup window.
Reply
 
Thread Tools
Old 11-03-2005, 13:03   #1
Millay
Inactive
 
Millay's Avatar
 
Join Date: Oct 2003
Location: Portsmouth
Age: 48
Posts: 1,689
Millay has reached the bronze age
Millay has reached the bronze ageMillay has reached the bronze ageMillay has reached the bronze ageMillay has reached the bronze ageMillay has reached the bronze ageMillay has reached the bronze ageMillay has reached the bronze age
Send a message via MSN to Millay Send a message via Yahoo to Millay
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..
Millay is offline   Reply With Quote
Advertisement
Old 11-03-2005, 13:05   #2
TheBlueRaja
cf.mega poster
 
Join Date: Dec 2003
Location: Baw deep in a munter
Age: 50
Services: Initiations, rep rigging and orgies!
Posts: 5,750
TheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny star
TheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny starTheBlueRaja has a nice shiny star
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.
TheBlueRaja is offline   Reply With Quote
Old 11-03-2005, 13:39   #3
Bifta
Inactive
 
Join Date: Jul 2003
Location: Eglinton, Co. Derry
Posts: 7,640
Bifta has a nice shiny starBifta has a nice shiny star
Bifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny star
Re: How would you create a popup window.

Quote:
Originally Posted by Millay
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..
Use this http://javascript.internet.com/gener...up-window.html works fine with SP2's popup blocker.
Bifta is offline   Reply With Quote
Old 12-03-2005, 21:54   #4
Matth
Inactive
 
Join Date: Mar 2004
Services: BB:M, TV:XL, Phone:M, Loyalty
Posts: 2,516
Matth has reached the bronze age
Matth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze age
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
Matth is offline   Reply With Quote
Old 12-03-2005, 23:42   #5
Richard M
Inactive
 
Join Date: Jun 2003
Location: Los Angeles, CA
Age: 47
Posts: 6,343
Richard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze array
Richard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze array
Re: How would you create a popup window.

You are all evil.
Richard M is offline   Reply With Quote
Old 13-03-2005, 02:13   #6
Bifta
Inactive
 
Join Date: Jul 2003
Location: Eglinton, Co. Derry
Posts: 7,640
Bifta has a nice shiny starBifta has a nice shiny star
Bifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny star
Re: How would you create a popup window.

Quote:
Originally Posted by Richard M
You are all evil.
Why? I use popups on all of my property search databases to display full size images of properties uploaded by clients, they're happy with it and they've never had a single complaint from any of their hundreds of thousands of individual customers so I'm at a loss as to why you're complaining.
Bifta is offline   Reply With Quote
Old 13-03-2005, 02:29   #7
Stuart
-
 
Stuart's Avatar
 
Join Date: Jun 2003
Location: Somewhere
Services: Virgin for TV and Internet, BT for phone
Posts: 26,546
Stuart has a lot of silver blingStuart has a lot of silver blingStuart has a lot of silver blingStuart has a lot of silver blingStuart has a lot of silver bling
Stuart has a lot of silver blingStuart has a lot of silver blingStuart has a lot of silver blingStuart has a lot of silver blingStuart has a lot of silver blingStuart has a lot of silver blingStuart has a lot of silver blingStuart has a lot of silver bling
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.
Stuart is offline   Reply With Quote
Old 13-03-2005, 10:00   #8
Richard M
Inactive
 
Join Date: Jun 2003
Location: Los Angeles, CA
Age: 47
Posts: 6,343
Richard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze array
Richard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze array
Re: How would you create a popup window.

Ditto.
Richard M is offline   Reply With Quote
Old 13-03-2005, 17:51   #9
Matth
Inactive
 
Join Date: Mar 2004
Services: BB:M, TV:XL, Phone:M, Loyalty
Posts: 2,516
Matth has reached the bronze age
Matth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze age
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!
Matth is offline   Reply With Quote
Old 13-03-2005, 21:07   #10
Millay
Inactive
 
Millay's Avatar
 
Join Date: Oct 2003
Location: Portsmouth
Age: 48
Posts: 1,689
Millay has reached the bronze age
Millay has reached the bronze ageMillay has reached the bronze ageMillay has reached the bronze ageMillay has reached the bronze ageMillay has reached the bronze ageMillay has reached the bronze ageMillay has reached the bronze age
Send a message via MSN to Millay Send a message via Yahoo to Millay
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
Millay is offline   Reply With Quote
Old 14-03-2005, 22:32   #11
Matth
Inactive
 
Join Date: Mar 2004
Services: BB:M, TV:XL, Phone:M, Loyalty
Posts: 2,516
Matth has reached the bronze age
Matth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze ageMatth has reached the bronze age
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.
Matth is offline   Reply With Quote
Old 14-03-2005, 22:42   #12
Millay
Inactive
 
Millay's Avatar
 
Join Date: Oct 2003
Location: Portsmouth
Age: 48
Posts: 1,689
Millay has reached the bronze age
Millay has reached the bronze ageMillay has reached the bronze ageMillay has reached the bronze ageMillay has reached the bronze ageMillay has reached the bronze ageMillay has reached the bronze ageMillay has reached the bronze age
Send a message via MSN to Millay Send a message via Yahoo to Millay
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
Millay is offline   Reply With Quote
Old 15-03-2005, 01:10   #13
iron25
Inactive
 
Join Date: Aug 2003
Location: nowhere
Posts: 718
iron25 is the helpful oneiron25 is the helpful oneiron25 is the helpful oneiron25 is the helpful oneiron25 is the helpful oneiron25 is the helpful oneiron25 is the helpful oneiron25 is the helpful oneiron25 is the helpful oneiron25 is the helpful oneiron25 is the helpful oneiron25 is the helpful oneiron25 is the helpful oneiron25 is the helpful oneiron25 is the helpful oneiron25 is the helpful oneiron25 is the helpful one
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.
iron25 is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:09.


Server: lithium.zmnt.uk
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum