nyroDev/nyroModal — Issue #160: Switching the focus to the lightbox
Author: lawyip
Created: 2012-01-27 00:25:10+00:00
State: open

Hi,

I'm trying to create a page, abc.html, whenever this page is loaded, a popup will appear on load, and switch the focus to the popup page.

Here's my setup:
in abc.html's

tag:

I've tried to use the callbacks to switch the focus, such as:

I've tried to replace $('iframe[name="nyroModalIframeForm"]') with other scripts but still can't get it to work.
Can anyone please help? Thanks.