DreamweaverFAQ.com
Search the site!Search DWfaq.com | Print This PagePrinter Friendly Page
Current: Default | Default: The Roubaix Blues


DreamweaverFAQ.com » Tutorials » JavaScript » Popup Refresh Or Redirect Parent Window


Popup Redirect or Refresh Parent Window - Summary

What You Have Learned

  1. You made a text link open up a pop up window.

  2. The popup window provided your your user with some navigational choices.

  3. When the user selected a link:
    1. The parent window was redirected to the appropriate page.

    2. The popup window automatically closed.

    3. All this with one simple piece of JavaScript code:

      <a href="javascript:;" onclick="opener.location='YourPageHere.htm';self.close()">

And that's it!

 

The Extension

Remember that present I promised you? Well, here it is... a bonus to make everything you just learned 4 Levels easier!

If you don't want to get your hands dirty by playing in the code, my friend Trent Pastrana of fourlevels.com was kind enough to make a nifty little extension to do all of this and more...

Head on over to Trent's site and look under the Extensions Menu for the "Pop_to_Parent" link at :
FourLevel.com
URL: http://www.fourlevel.com



Coming Soon

How to make a password protected log-in page with UltraDev using the same principles you learned here.

::This page last modified 8/13/2013 at 04:37::

Copyright © 2001-2024 DreamweaverFAQ.com All Rights Reserved.
All brands, trademarks, tutorials, extensions, code, and articles are the property of their respective owners.
A production of Site Drive Inc.
Legal Notice | Privacy Policy | Disclaimer & Notice