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
    Feb 2004
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question How do I make a link open into a new full screen window?

    Using Animated Link Box by Website Abstraction. My page is in 3 seperate panels with scroll bars. When a link is opened it opens within the left panel (1/3 page size). How do I make that link open into a full screen within a browser? Heres a few lines of the code:

    form name="take" >
    <table border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td width="100%"><select name="take2" size="5" style="width:200px">
    <option value="http://www.java-scripts.net">Java-Scripts.net</option>
    <option value="http://www.wsabstract.com">Website Abstraction</option>
    <option selected value="http://www.dynamicdrive.com">Dynamic Drive</option>
    <option value="http://www.webmonkey.com">Webmonkey</option>
    <option value="http://www.freewarejava.com">Freewarejava.com</option>
    </select>

    <script>

  • #2
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,075
    Thanks
    0
    Thanked 256 Times in 252 Posts
    You mean you're using frames and you want the page to open without frames?

    If correct, then change this line:

    window.location=document.take.take2.options[document.take.take2.selectedIndex].value

    to:

    top.location=document.take.take2.options[document.take.take2.selectedIndex].value;

    or

    window.open(document.take.take2.options[document.take.take2.selectedIndex].value, "_top");
    Glenn
    ____________________________________

    My Blog
    Tower of Hanoi Android app (FREE!)
    Tower of Hanoi Leaderboard
    Samegame Facebook App
    vBulletin Plugins
    ____________________________________


  •  

    Posting Permissions

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