![]() |
| ||
| 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? |
| ||
| 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. |
| ||
| 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. |
| ||
| Re: Next/Previous Navigation Does you question have anything to do with Java? 'Cause javascript and html have nothing to do with Java. |
| ||
| Re: Next/Previous Navigation Quote:
Sorry |
| ||
| 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. |
| ||
| 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? |
| ||
| 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. |
| All times are GMT -4. The time now is 12:22 pm. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC