I currently have a popup-window script that works fine. Now im trying to create a script that will open a link in the main page from the popup window. Any advice.
Hey meztec, To control anything from a pop-up window to the main window, you use window.opener. SO, to make a link open there, use: <a href="javascript:void(0)" onclick="window.opener.location='someOtherPage.html'"> and change: someOtherPage.html To the page you want to open in the parent window. aDog
Moderator at www.javascriptcity.com/forums/
Forum Rules
Bookmarks