changing an image

From: Date: Fri, 29 Sep 2000 16:33:35 +0000
Subject: changing an image
Groups: php.general 
Request: Send a blank email to php-general+get-18072@lists.php.net to get a copy of this message
I have a spalsh page with about three gif navigations. When a certain gif is clicked, it takes it to the main page with other various gif navigations utilizing javascript to do rollovers or whatever. How can I do it that when that a certain gif in the splash page is clicked and takes it the second main page with one of the navigator gifs, it changes one of the gif navigation images. I have something like this (assuming that the gif's name in the splash page is named "story"): <?php // display nav_1_over.gif if *story* clicked on // spalsh page if($source){ echo " src=\"images3/nav_1_over.gif\" "; } else{ echo " src=\"images3/nav_1_up.gif\" "; } ?> Now, will this work?? Cause I dont know what kind a value a gif is supposed to have when clicked. Also, will this screw up any of the javascript functions for the navigation images?? Thanks in advance. __________________________________________________ Do You Yahoo!? Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free! http://photos.yahoo.com/

« previous php.general (#18072) next »