Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Beginning Object-Oriented JavaScript

 
Sagar Kumbhar
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
is there a way to force pop up windows even if the browser preferences is set to block pop windows?
[ August 26, 2008: Message edited by: Bear Bibeault ]
 
Ananth Chellathurai
Ranch Hand
Posts: 349
Eclipse IDE Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I don't think there will be a way when the browser settings blocks pop ups. But not very sure on my answer. Wait for more Ranchers to answer you.

Ananth Chellathurai
 
Reehan Lalkhanwar
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can always try create a new window with minimal features the size set on it. It would then be as good as a pop-up.
 
krishna maddu
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi...

just now i got an idea while reading your question, i think we can use ajax to create our own popups without using default browser popups....
 
Ananth Chellathurai
Ranch Hand
Posts: 349
Eclipse IDE Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Krishna is absolutely right,

Here is an URL, try sample 4, Open an alert dialog. Ajax alert

Ananth Chellathurai
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64826
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please be sure to take the time to compose descriptive subjects for your posts; read this for more information.

You can go back and change your post to add a more meaningful subject by clicking the .
 
B Webb
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Who needs popups when you can use dynamic divs and layering to show your message? In addition, you can use a div, put an iframe in it, and show the new page...Setting a divs z-index to something higher than 2 should do the trick. Also, if the reference to the div (id) is maintained, you can reuse the same div over and over...just change its size and z-index to hide...(1,1 and z-index < 0)
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64826
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Popups are just so 2002!

Seriously, popups have gone out of favor as a means of delivering user information. They're intrusive and disruptive.

In my modern web apps, new windows are opened only as links to external sites. Everything else happens in-page.
 
Sagar Kumbhar
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks guys..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic