Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-09-2008, 01:33 AM
Member
 
Join Date: May 2008
Posts: 1
JavaNewb is on a distinguished road
Next and Previous Buttons
Hello all,

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.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 05-09-2008, 02:23 AM
sukatoa's Avatar
Senior Member
 
Join Date: Jan 2008
Location: Cebu City, Philippines
Posts: 250
sukatoa is on a distinguished road
Send a message via Yahoo to sukatoa
What part of the page did you use Java? i guess it should be applet.

Quote:
I know enough to get into trouble but not enough to do things from scratch.
Just Practice.

Quote:
I've been going to all of the help pages on the net, finding code that is close to what I want,
That's what im afraid for. i should practice to be able to get what i want for my project.

What if what you've looking for is not on the web? or far from what you want? How will you handle this?
__________________
best regards,
sukatoa
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Go back to previous page using session in JSP page gopikarikati009 JavaServer Pages (JSP) and JSTL 0 04-27-2008 05:38 AM
GUI buttons question... glenrowan New To Java 0 01-16-2008 06:49 PM
Preventing inserted text from becoming colored from previous style jkhoa AWT / Swing 2 08-10-2007 01:36 AM
Using previous with CardLayout uncopywritable New To Java 2 08-05-2007 10:43 PM
Next, Finish Buttons !!! pele SWT / JFace 1 07-14-2007 06:22 PM


All times are GMT +3. The time now is 11:05 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org