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
    Jul 2005
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Making a button link to another page

    I'm trying to make a button link to another page, it worked in IE6, but when I tried it in Firefox, it couldn't find the page even though the address was right. The website is currently on a memory stick. Here is a sample of my code:

    <a href="WellerWorld/Pages/linux/index.htm"><input type="button" value="My Linux Website"></a>

    Any help would be much appreciated.

  • #2
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,074
    Thanks
    0
    Thanked 256 Times in 252 Posts
    Code:
    <input type="button" value="My Linux Website" onclick="location.href='WellerWorld/Pages/linux/index.htm'" />
    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
    •