Jump to content

Getting Images to Rollover - Placement in PHP!?!


suess0r

Recommended Posts

I basically want to use a GET to find out which Template my customer has chosen and basically make a rollover from the Template Images they chose. The $id is the same name as the image, and $id-over.gif is the rollover image... Here's what i got

 

<?php

      $id = $_GET["id"];

      echo '<img src="images/FlashdesignTemplates/Big/'.$id.'.gif" name="Image126" width="329" height="326" border="0"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage("Flash","","images/FlashdesignTemplates/Big/'.$id.'-over.gif",1)">[/url]</td>';

?>

 

I'm getting a display of the Original image but it's not doing the Rollover (i would assume because i'm no longer in the PHP when the user runs the mouseover) but could use a lil help, thanks!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.