Results 1 to 2 of 2
Thread: Next and Previous Buttons
- 05-09-2008, 12:33 AM #1Member
- Join Date
- May 2008
- Rep Power
Next and Previous Buttons
I'm a complete amateur when it comes to coding web pages. I know enough to get into trouble but not enough to do things from scratch. In other words, I've been going to all of the help pages on the net, finding code that is close to what I want, and modifying it to work as I need it. This has served me well enough to get the job done until I let my site grow beyond it's original 5 or 6 pages. Now I'm starting to get quite a few pages going and they all have NEXT and PREVIOUS buttons at the bottom. The problem is, if I want to insert a page between all of the pages then I have to recode the HTML of the following pages to allow for this change in format. When there was only 5 or 6 pages, no problem, but now that I'm getting close to 20+ it's becoming a pain, and I can only imagine how much harder it would be as it keeps growing.
So I'm trying to be forward thinking here (new concept for me) and find a way to make all the NEXT and PREVIOUS buttons to be sort of dynamic. If someone could point me in the right direction as Google hasn't been much of a help on this one. Basically I want to get rid of page numbers and just name the pages, so if I insert a page it won't matter to the other pages because it will have a unique name. I was thinking of maybe keeping a text file that could be accessed with a list of the names in the order I want them to be displayed. If someone where to come into the middle of the list from whatever website or bookmark, I want them to be able to use the NEXT and PREVIOUS buttons without fail. Any help would be greatly appreciated.
- 05-09-2008, 01:23 AM #2
What part of the page did you use Java? i guess it should be applet.
I know enough to get into trouble but not enough to do things from scratch.
I've been going to all of the help pages on the net, finding code that is close to what I want,
What if what you've looking for is not on the web? or far from what you want? How will you handle this?freedom exists in the world of ideas
- By gopikarikati009 in forum JavaServer Pages (JSP) and JSTLReplies: 2Last Post: 06-23-2011, 10:30 AM
- By glenrowan in forum New To JavaReplies: 3Last Post: 01-18-2011, 05:23 PM
- By jkhoa in forum AWT / SwingReplies: 2Last Post: 08-10-2007, 12:36 AM
- By uncopywritable in forum New To JavaReplies: 2Last Post: 08-05-2007, 09:43 PM
- By pele in forum SWT / JFaceReplies: 1Last Post: 07-14-2007, 05:22 PM