Old 27-09-2005, 08:47   #1 (permalink)
paulanthony
mingin dawg baitch
 
paulanthony's Avatar
 
Join Date: Apr 2004
Location: Belfast
Posts: 1,040
Send a message via MSN to paulanthony
Popup windows accessiblility

How would one go about detecting if a webpage was spawned as a popup or not - I ask because I use "accessible popup" code.

<a href="'popups/picture1.aspx" onclick="ShowPopup('popups/picture1.aspx','popup','resizable=yes,
width=470,height=403'); return false;" class="boldfont">blah</a>

When a popup blocker is installed, the link just goes direct to popupimg01.aspx however I want another bit of javascript inside that page to know "have I been successfully popped up" or "am I appearing as a fullscreen page" and tell the user the reason is cause they have a popup blocker installed.
__________________
  Reply With Quote
Old 27-09-2005, 10:00   #2 (permalink)
stickmus
hmmm...
 
stickmus's Avatar
 
Join Date: Jan 2004
Location: Yorkuk
Posts: 2,127
find out if the pop's got a parent window
  Reply With Quote
Old 27-09-2005, 16:21   #3 (permalink)
paulanthony
mingin dawg baitch
 
paulanthony's Avatar
 
Join Date: Apr 2004
Location: Belfast
Posts: 1,040
Send a message via MSN to paulanthony
Yeah that did the bit. Quite nice now works with all the major popup browser shitness - and even works when they specify to open the link in a new window - it appears that the parent still exists in this case scenario
__________________
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8