Next/Previous Navigation

Reply

Join Date: Nov 2006
Posts: 2
Reputation: Deech86 is an unknown quantity at this point 
Solved Threads: 0
Deech86 Deech86 is offline Offline
Newbie Poster

Next/Previous Navigation

 
0
  #1
Nov 30th, 2006
How would I go about making Next and Previous links that automatically take you to the proper pages without having to set the hyperlinking on each individual page?
Reply With Quote Quick reply to this message  
Join Date: Nov 2006
Posts: 14
Reputation: arh is an unknown quantity at this point 
Solved Threads: 1
arh arh is offline Offline
Newbie Poster

Re: Next/Previous Navigation

 
0
  #2
Nov 30th, 2006
Not quite clear what you are asking. From within a java applet, or just on a normal site? If just on a normal website here is my answer:
Have each file named number 1.html, 2.html etc. In javascript make a variable called i and set it to the current page number (ex: 2). If the user clicks next increment i (ex:3) or decrement it (ex:1). Then go the the page i.html.
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 29
Reputation: jonathan.jbkt is an unknown quantity at this point 
Solved Threads: 0
jonathan.jbkt jonathan.jbkt is offline Offline
Unverified User

Re: Next/Previous Navigation

 
0
  #3
Feb 1st, 2007
I am interested in creating a next navigation that will open the next link in a page. Example:

http://linux1.jbknowledge.com/AJW/AJ...idal/beth.html

When you click on one of the images I would like it to go to the next link on the page.
Reply With Quote Quick reply to this message  
Join Date: Mar 2004
Posts: 762
Reputation: Phaelax is on a distinguished road 
Solved Threads: 38
Phaelax Phaelax is offline Offline
Master Poster

Re: Next/Previous Navigation

 
0
  #4
Feb 1st, 2007
Does you question have anything to do with Java? 'Cause javascript and html have nothing to do with Java.
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 29
Reputation: jonathan.jbkt is an unknown quantity at this point 
Solved Threads: 0
jonathan.jbkt jonathan.jbkt is offline Offline
Unverified User

Re: Next/Previous Navigation

 
0
  #5
Feb 1st, 2007
Originally Posted by Phaelax View Post
Does you question have anything to do with Java? 'Cause javascript and html have nothing to do with Java.
I found this thread last night during a search for a solution. I did not realize that this was in the Java forum. I am very sorry.

Sorry
Reply With Quote Quick reply to this message  
Join Date: Nov 2006
Posts: 2
Reputation: Deech86 is an unknown quantity at this point 
Solved Threads: 0
Deech86 Deech86 is offline Offline
Newbie Poster

Re: Next/Previous Navigation

 
0
  #6
Feb 1st, 2007
Thanks, yeah this is what I'm looking for... I wanted to have this work within a normal site. Unfortunately I don't even know how to create variables in javascript or really much of any coding outside of html.
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 1
Reputation: aamufeeth is an unknown quantity at this point 
Solved Threads: 0
aamufeeth aamufeeth is offline Offline
Newbie Poster

Re: Next/Previous Navigation

 
0
  #7
Oct 4th, 2008
How would I go about making Next and Previous links that automatically take you to the proper pages without having to set the hyperlinking on each individual page?
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 3,193
Reputation: MidiMagic has a spectacular aura about MidiMagic has a spectacular aura about 
Solved Threads: 162
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Posting Sensei

Re: Next/Previous Navigation

 
0
  #8
Oct 5th, 2008
There is no such thing. How would it know what the name of the "next " page is, without you telling it?

Set the hyperlinks on each page. That's all you can do without a lot of tricky JS code.
Daylight-saving time uses more gasoline
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC