35 users online (2 members and 33 guests)  

Thread: navigation


  Results 1 to 8 of 8

Related

  1. Navigation bar problems    Forum: CSS Forum
    Replies: 2
  2. Navigation bar using DIV and CSS    Forum: CSS Forum
    Replies: 0
  3. Navigation    Forum: HTML Forum
    Replies: 5
  4. Navigation    Forum: HTML Forum
    Replies: 1
  1. #1
    computerfan1's Avatar
    New User

    Status
    Offline
    Join Date
    Apr 2002
    Location
    Oregon
    Posts
    14

    navigation

    how do you put "next" and "previous" buttons on the bottom of your page so visitors can view your pages in order?
    Thanks

  2. #2
    benzden's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Feb 2002
    Location
    San Antonio, Texas
    Posts
    652
    The same as any other link. Assuming you have the next and previous images, it's:

    <A HREF=previouspagename.htm><IMG .... ></A>

    Someone else can pop-in with the <FORM ...> or other method of using the TYPE=BUTTON methods - I don't use them.

  3. #3
    Mikailus's Avatar
    Ugly Geezer

    Status
    Offline
    Join Date
    Mar 2002
    Location
    Florida
    Posts
    135
    http://www.a1javascripts.com/form_navigation/forwardback/forwardback.html ... I think this is what you need.

  4. #4
    Doorknob's Avatar
    Super Newbie

    Status
    Offline
    Join Date
    Jun 2002
    Location
    Malaysia
    Posts
    316
    <INPUT type='button' value='Previous' name='Previous' onClick='javascript:history.go(-1)'>
    <INPUT type='button' value='Next' name='Next' onClick='javascript:history.go(+1)'>
    i think..

  5. #5
    benzden's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Feb 2002
    Location
    San Antonio, Texas
    Posts
    652
    Doorknob,

    rather than

    <INPUT type='button' value='Previous' name='Previous' onClick='javascript:history.go(-1)'>
    <INPUT type='button' value='Next' name='Next' onClick='javascript:history.go(+1)'>


    I think computerfan1 (and I) want

    <INPUT type='button' value='Previous' name='Previous' onClick='page0.htm'>
    <INPUT type='button' value='Next' name='Next' onClick='page2.htm'>

    (note that the above doesn't work)


    with relative referencing being preferred over the more complex http:// ... to the actual web host server location.

  6. #6
    Doorknob's Avatar
    Super Newbie

    Status
    Offline
    Join Date
    Jun 2002
    Location
    Malaysia
    Posts
    316
    oops. sorry my mistake. didnt read his post throughly.

  7. #7
    benzden's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Feb 2002
    Location
    San Antonio, Texas
    Posts
    652
    Both you and Mikailus' answers undoubtedly helped anyone lurking for those solutions - so, no apologies are needed - it'd just be nice to have the same button-type solutions for more immediately web site needs without having to resort to more <IMG ...> file requirements.

    (And, who knows, maybe computerfan1 was looking for the back and forward answers, too, in addition to or as opposed to my presumption.)

  8. #8
    computerfan1's Avatar
    New User

    Status
    Offline
    Join Date
    Apr 2002
    Location
    Oregon
    Posts
    14
    thanks that is what i needed.



Tags for this Thread