943,974 Members | Top Members by Rank

Ad:
Nov 30th, 2006
0

Next/Previous Navigation

Expand Post »
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?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Deech86 is offline Offline
2 posts
since Nov 2006
Nov 30th, 2006
0

Re: Next/Previous Navigation

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.
arh
Reputation Points: 10
Solved Threads: 1
Newbie Poster
arh is offline Offline
14 posts
since Nov 2006
Feb 1st, 2007
0

Re: Next/Previous Navigation

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.
Reputation Points: 10
Solved Threads: 0
Unverified User
jonathan.jbkt is offline Offline
29 posts
since Dec 2006
Feb 1st, 2007
0

Re: Next/Previous Navigation

Does you question have anything to do with Java? 'Cause javascript and html have nothing to do with Java.
Reputation Points: 92
Solved Threads: 51
Practically a Posting Shark
Phaelax is offline Offline
856 posts
since Mar 2004
Feb 1st, 2007
0

Re: Next/Previous Navigation

Click to Expand / Collapse  Quote originally posted by Phaelax ...
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
Reputation Points: 10
Solved Threads: 0
Unverified User
jonathan.jbkt is offline Offline
29 posts
since Dec 2006
Feb 1st, 2007
0

Re: Next/Previous Navigation

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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Deech86 is offline Offline
2 posts
since Nov 2006
Oct 4th, 2008
0

Re: Next/Previous Navigation

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?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
aamufeeth is offline Offline
1 posts
since Oct 2008
Oct 5th, 2008
0

Re: Next/Previous Navigation

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.
Reputation Points: 730
Solved Threads: 181
Nearly a Senior Poster
MidiMagic is offline Offline
3,314 posts
since Jan 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: CSS DIV container align multibrowser+unwanted margin
Next Thread in HTML and CSS Forum Timeline: Small CSS problem





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC