Need a helpful suggestion

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mjseaden
Forum Contributor
Posts: 458
Joined: Wed Mar 17, 2004 5:49 am

Need a helpful suggestion

Post by mjseaden »

Dear All,

I have a 'combobox' control on my web page, which contains a list of scientific parameters.

The users of the web page may not understand the meaning of the parameter names. I have all the parameter names and descriptions in a database, so all I need to do is look up the descriptions of the parameters in a MySQL table.

However, I don't know how to show the parameter description to the user. Ideally, I would have a description come up on the page itself depending upon the parameter the user is hovering over with the mouse before selecting (I suspect this may be clientside, however if it doesn't have to be clientside then that might be easier).

Can anyone explain how this could be done?

Many thanks

Mark
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

You really have to be more specific of your layout.....

The possibilties are endless. And you are correct, I avoid uding JS to an extent because you cannot control if the user has JS enabled or not.
hedge
Forum Contributor
Posts: 234
Joined: Fri Aug 30, 2002 10:19 am
Location: Calgary, AB, Canada

Post by hedge »

a 'combo' box has a value property, set this to the 'code' but display the description to the user.
rehfeld
Forum Regular
Posts: 741
Joined: Mon Oct 18, 2004 8:14 pm

Post by rehfeld »

Post Reply