Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Mar 2004
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Mini Window Script

    I am using this script, which makes a mini window

    <iframe name="cwindow" style="border:1px solid black" width=150 height=150 src="doc.htm"></iframe>


    It works fine, however if I add a link in the mini window, it will open the url in the mini window (same window as where the link is), I want it to open either in the entire page where the script is on or in a new window.....

    any ideas?

    thanks!

  • #2
    Senior Coder
    Join Date
    Aug 2002
    Location
    Kansas City, Kansas
    Posts
    1,518
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Open in parent window
    Code:
    <a href="#" onClick="window.parent.location = 'http://www.google.com/'">Google</a>
    Open in new window
    Code:
    <a href="http://www.google.com/" target="_blank">Google</a>


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •