Need some help...

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 some help...

Post by mjseaden »

http://www.spanish-property-partnership ... /index.php

I have a listbox of parameter keywords. The users of the site (scientists) likely don't know exactly what each of the parameters mean - you can see them labelled as 'Property', the first item is called 'id'. Therefore, when the user opens the list box and hovers over any given property, it would be nice for the text next to 'Description' (currently 'Description Goes Here Depending on Parameter Selected') to change to the parameter description, which is stored in an SQL database next to each parameter name.

Can anyone give any indication on how to do this?

Many thanks

Mark
User avatar
protokol
Forum Contributor
Posts: 353
Joined: Fri Jun 21, 2002 7:00 pm
Location: Cleveland, OH
Contact:

Post by protokol »

This would call for some JavaScript. Retrieve the descriptions from the database when you load the page. Then select the description to show based on the property you are selecting.
mjseaden
Forum Contributor
Posts: 458
Joined: Wed Mar 17, 2004 5:49 am

Post by mjseaden »

protokol - do you know where I find details of such a script?

Many thanks

Mark
[]InTeR[]
Forum Regular
Posts: 416
Joined: Thu Apr 24, 2003 6:51 am
Location: The Netherlands

Post by []InTeR[] »

Need some kind of a javascript?
http://www.google.com/search?q=free+javascript
Post Reply