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

Thread: button links

  1. #1
    New to the CF scene
    Join Date
    Mar 2005
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    button links

    i know how to use button links...
    this is how...

    Code:
    <html>
    
    <HEAD>
    
    <script type="javascript">
    
    function goToURL() 
    { 
    window.location = "http://www.codingforums.com"; 
    }
    
    </script>
    
    </HEAD>
    
    
    <BODY>
    
    <form>
    <input type=button value="CODING FORUMS" onClick="goToURL()">
    </form>
    
    </body>
    
    </html>
    ...BUT, how do you use a button link to link to a specific frame in a webpage


    this is my frameset and index file:

    index.html
    frametop.html
    frameleft.html
    mainframe.html

    index is the file which holds the frames in a frameset
    there are 3 frames in index.html
    one at the top,
    one at the bottom, which is split into two frames.

    so how do i use a button link to ... lets say... link to www.codingforums.com, but so that the target is "mainframe.html"?

    --any help is appreciated, thankyou!

  • #2
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,778
    Thanks
    19
    Thanked 155 Times in 146 Posts
    Please delete my post here....I know not what I say
    Last edited by chump2877; 03-10-2005 at 04:56 PM.
    Regards, R.J.

    ---------------------------------------------------------

    Help spread the word! Like my YouTube-to-Mp3 Conversion Script on Facebook !! :)
    [Related videos and tutorials are also available at my YouTube channel and on Dailymotion]
    Get free updates about new software version releases, features, and bug fixes!


  •  

    Posting Permissions

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