PDA

View Full Version : Display images & text


topdog
03-05-2009, 01:23 AM
I have a table 7 rows by 2 columns each with titles in them. I want the user to be able to click on each of the titles and display two things, an image and somewording (from a .txt file).
I have seen this somewhere in documentation (maybe in a tutorial somewhere) but cannot find it.
Ideas would be appreciated.
I am using CS4 and CSS.

Thanks

Brian

davidj
03-05-2009, 07:52 AM
better to use a database for this

Ricky55
03-05-2009, 08:42 AM
or you could use dreamweaver spry with divs that are all invisible at the start but fade into view as the links are clicked

davidj
03-05-2009, 11:28 AM
aye

that too

topdog
03-05-2009, 03:01 PM
Thanks guys, I do not want to go to a database for tis minor effort (it means I will have to learn PHP <vbg>)

I thought that this was possible without going to java - Spry). THe images and text would occupy the same position on the page - i.e. Click on one of the table fields and a picture and text appear in two locations - click on another table field and a different picture and text appear in the same locations.

Could tis be done using an image map of the table broken into smaller sections for each field?

Brian