JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old June 30th, 2004, 10:03 AM
Dipak Dipak is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 1 Dipak User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Deactivate pop-up blocker

I have one issue regarding pop-up blocker. Pop-up blocker won't allow opening a window, when trying to open a window using window.open() method from the onload event of the body tag. It allows to open a window, if window.open() command is executed from other than body onload event. Also, as per documentation, MS Windows XP will have in-built pop-up blocker, which cause problem when opening page using window.open() method.

I can know whether or not any pop-up blocker is installed, by checking the type of object created after executing the window.open() method and assigning the reference to a variable.

I have also tried another option in that, we can open a dummy modeless window (window.showModeless) and from that window opening the required page using window.open() command and closing the dummy window. But, in this case one extra server trip will be executed and a splashing small window appears (even though dialog's height and width attributes sets to 0) before displaying required page.

Can any other approach to open a new window other than page body onload event? Any idea to deactivate pop-up blocker or any work-around to overcome this issue?

As per doc. pop-up window allows, if user has clicked link on the web page. Any idea to generate Click() event of link control programmatically? So that we can call the window.open() method in the clicked event code of link control.


Thanks,
Dipak

Reply With Quote
  #2  
Old July 14th, 2006, 07:39 AM
richarddixon74 richarddixon74 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2006
Posts: 1 richarddixon74 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 m 2 sec
Reputation Power: 0
pop-up blocker Problem

Hi Dipak,

I am facing the same problem too. Did you find any solution to this problem. If yes can you please answer me the method of how to deactivate the popup blocker or how to open a child popup window without being blocked by the popup blocker!

Thanks in advance,

I am looking forward to your reply,
Regards,
Dixon

Quote:
Originally Posted by Dipak
I have one issue regarding pop-up blocker. Pop-up blocker won't allow opening a window, when trying to open a window using window.open() method from the onload event of the body tag. It allows to open a window, if window.open() command is executed from other than body onload event. Also, as per documentation, MS Windows XP will have in-built pop-up blocker, which cause problem when opening page using window.open() method.

I can know whether or not any pop-up blocker is installed, by checking the type of object created after executing the window.open() method and assigning the reference to a variable.

I have also tried another option in that, we can open a dummy modeless window (window.showModeless) and from that window opening the required page using window.open() command and closing the dummy window. But, in this case one extra server trip will be executed and a splashing small window appears (even though dialog's height and width attributes sets to 0) before displaying required page.

Can any other approach to open a new window other than page body onload event? Any idea to deactivate pop-up blocker or any work-around to overcome this issue?

As per doc. pop-up window allows, if user has clicked link on the web page. Any idea to generate Click() event of link control programmatically? So that we can call the window.open() method in the clicked event code of link control.


Thanks,
Dipak

Reply With Quote
  #3  
Old July 14th, 2006, 11:09 AM
Mittineague's Avatar
Mittineague Mittineague is offline
Contributing User
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jul 2005
Location: West Springfield, Massachusetts
Posts: 553 Mittineague User rank is Private First Class (20 - 50 Reputation Level)Mittineague User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Week 1 Day 9 h 1 m 33 sec
Reputation Power: 5
pop-up blocker

Hi richarddixon74, welcome to the forums,
You may not have noticed, but this thread was posted a little over 2 years ago. Browsers and pop-up blockers have changed some since then. If you're have troubles with your browser blocking scripted pop-ups, check to ensure that it is allowing javascript. Also make sure that if you have other blocking apps installed, their settings will allow scripted pop-ups. If they don't allow you this option you may have to uninstall them for the pop-ups to work for you.

Reply With Quote
  #4  
Old July 14th, 2006, 02:53 PM
Itsacon's Avatar
Itsacon Itsacon is offline
Command Line Warrior
Click here for more information
 
Join Date: Aug 2004
Location: Sector ZZ9 Plural Z Alpha
Posts: 1,030 Itsacon User rank is Lance Corporal (50 - 100 Reputation Level)Itsacon User rank is Lance Corporal (50 - 100 Reputation Level)Itsacon User rank is Lance Corporal (50 - 100 Reputation Level)  Folding Points: 1969886 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1969886 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1969886 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1969886 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1969886 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1969886 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1969886 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1969886 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1969886 Folding Title: Super Ultimate Folder - Level 4
Time spent in forums: 1 Week 9 h 8 m 43 sec
Reputation Power: 7
Send a message via ICQ to Itsacon
In my experience, most pop-up blockers have a disable button..

Unless of course you're trying to disable the pop-up blocker of your site's visitors, in which case you should stop trying and redeem yourself...
__________________
This is my code. Is it not nifty?

"The biggest problem encountered while trying to design a system that was completely foolproof, was, that people tended to underestimate the ingenuity of complete fools."
---Douglas Adams


Join the Itsacon fanclub!    
Zero Tolerance: Spammers banned so far: 562

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingJavaScript Development > Deactivate pop-up blocker


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
Create the Optimal Architecture for your Critical Applications
Warburton's the largest independently owned bakery in the UK faced a number of difficult challenges in providing the most robust yet efficient IT infrastructure for their organization's success. IBM's services combined with their xSeries servers created the perfect platform for their SAP environment with sufficient flexibility, and did so in very time effective fashion.

Request Your Free Technology Downloads!
 
Five Best Practices for Deploying a Successful Service-Oriented Architecture
This white paper describes the benefits you can expect with SOA, and how IBM can help take your business there.

Request Your Free Technology Downloads!
 
Gartner Magic Quadrant for Application Delivery Controllers
Gartner summarizes its view on Application Delivery Controllers, evaluates strengths and weaknesses of solutions, and provides Magic Quadrant reporting for a quick comparison across all vendors. Learn from Gartner how you can benefit from an all-in-one device like Citrix NetScaler that delivers the highest levels of availability, performance and security.

Request Your Free Technology Downloads!
 
Knowledge is Power
What you don't know can hurt you, and is likely costing you money and increasing your security risks during an era of scarce resources. This white paper proposes six key strategies that enterprise security managers can use to improve their network defense posture.

Request Your Free Technology Downloads!
 
Rationalizing the Multi-Tool Environment
The rationalized multi-tool approach is flexible, scalable and cost effective. It provides the necessary input to the IT service management business processes. It preserves prior investments in monitoring tools, empowers technologists to select the best tools with which to do their jobs, and enhances effective response to incidents.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2010 by Developer Shed. All rights reserved. DS Cluster 7 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek