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 3 of 3
  1. #1
    New Coder
    Join Date
    Jun 2006
    Posts
    46
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Is there any way to make a button a link with no form?

    Is there any way to make a button a link with no form? Button when pressed just links to another page.

  • #2
    Regular Coder mic2100's Avatar
    Join Date
    Feb 2006
    Location
    Scunthorpe
    Posts
    562
    Thanks
    15
    Thanked 28 Times in 27 Posts
    yeah this is how you do it, this one moves the entire page

    Code:
     <input name="button" type="button" title="Next Page" onclick="window.top.location-'Your Next Page'" value="Next Page" />
    or.... if you only want the frame you r working in to change try this..

    Code:
     <input name="button" type="button" title="Next Frame" onclick="window.location='Next Frame'" value="Next Frame" />
    Hopfully this will help you

  • #3
    New Coder
    Join Date
    Jun 2006
    Posts
    46
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks for the information .


  •  

    Posting Permissions

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