SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    John 8:24 JREAM's Avatar
    Join Date
    Sep 2007
    Location
    Florida
    Posts
    1,508
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    FrameSet Target!

    Hey guys im having trouble targetting the links below to show in the 2nd frame. I havent done this for a LONG time

    Code:
    <frameset rows= "100,*">
    <frame scrolling="no" noresize="noresize" frameborder="1" src="header.php" />
    
    <frame scrolling="yes" noresize="noresize" name="tt" frameborder="1" src="1.html" />
    </frameset>
    </html>
    Code:
     <form name="jumpopt">
    <select name="myjumpbox" size="6"
     OnChange="location.href=jumpopt.myjumpbox.options[selectedIndex].value">
         <option value="http://www.davesite.com/">davesite.com
         <option value="http://www.neonlollipops.com/">neonlollipops.com
         <option value="http://www.about.com/" target="tt">about.com
    </select>
    </form>

  2. #2
    SitePoint Guru
    Join Date
    Sep 2006
    Posts
    731
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by JREAM View Post
    Hey guys im having trouble targetting the links below to show in the 2nd frame.
    This should do it:
    Code:
    onchange="parent.frames['tt'].location.href=jumpopt.myjumpbox.options[selectedIndex].value"
    Tab-indentation is a crime against humanity.


Bookmarks

Posting Permissions

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