-
Conditional Image Placement
Hi gurus,
I'm maintaining a site that showcases several sponsor logos at different levels:
*Platinum*
company A logo
company B logo
company C logo
*Gold*
company D logo
company E logo
company F logo
... etc.
http://www.smcda.org/dinner/2008/dinner_details.html
Every year I have to change the line up to include new logos, delete some, and move others up and down the sponsorship level.
I need either a javascript or a php solution that will allow me to simply set a condition that will either display or hide the logo (perhaps on 0 for 'on' and 1 for 'off').
A more functional, but complex script, would also allow me to display the image on the correct div according to a pre-defined label. Maybe something like:
if <img id="2" src="company A logo"> then,
display inside <div id="platinum"> in any order
if <img id="4" src="company D logo"> then,
display inside <div id="gold"> in any order
But I'll be happy to just be able to display on or off each image.
Your help will be greatly appreciated!
Thank you,
Alan
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks