Bonjour à tous !
Bien voilà, j'ai besoin de votre aide...
J'ai intégré un carrousel dans mon site qui affiche ceci :
http://sivop.com/produits/sivoderm/pommade.php
et voici le code de ma page:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link type="text/css" href="../../styles/styles.css" rel="stylesheet" /> <link type="text/css" href="../../styles/normal.css" rel="stylesheet" /> <?php include("../../config.php"); include("../../includes/header.php"); ?> <?php $db = mysql_connect(MYSQL_HOST, MYSQL_USER, MYSQL_PASS); mysql_select_db(MYSQL_BASE,$db); ?> <table width="970" border="0" align="center" cellpadding="0" cellspacing="0"><tr> <td align="center" class="CadreBlanc"><table width="947" border="0" cellspacing="0" cellpadding="0"><tr> <td align="center"><div class="Espace10"></div></td></tr><tr><td align="center"> <?php $SQL0 = 'SELECT * FROM '.$tb_produits.' WHERE Marque = "SIVODERM" ORDER BY Code'; $REQ0 = mysql_query($SQL0) or die('Erreur SQL !<br>'.$SQL0.'<br>'.mysql_error()); ?> </td></tr><tr><td align="center"><div class="Espace60"></div></td></tr></table> <div id='contentFlow' class='ContentFlow'><div class='loadIndicator'><div class='indicator'></div></div><div class='flow'> <?php while($DATA0 = mysql_fetch_assoc($REQ0)){echo "<div class='item'> <img class='content' src='".URL_IMAGES."produits/".$DATA0['Image'].".png' /> <div class='caption'>".utf8_encode($DATA0['Designation'])."</div> </div>";} ?> </div><div class='globalCaption'></div><div class='scrollbar'><div class='slider'><div class='position'></div></div></div></div> <div class='mouseoverCheckElement'></div></div></div></div> </td></tr></table> <div class="Espace20"></div> <table width='970' border='0' align="center" cellpadding='0' cellspacing='0'> <tr> <td class="CadreGris"><?php echo utf8_encode($DATA0['Contenance']); ?></td> </tr> </table> <?php mysql_close(); include("../../includes/footer.php"); ?>
Je souhaite qu'au clique d'une des images, le tableau en dessous du carrousel affiche les autres informations de la table.
<table width='970' border='0' align="center" cellpadding='0' cellspacing='0'> <tr> <td class="CadreGris"><?php echo utf8_encode($DATA0['Contenance']); ?></td> </tr> </table>
Je suis coincé et n'arrives pas à trouver comment faire depuis.
Au clique, au survol, peux m'importe, suffit juste qu'il affiche dans le tableau !
Merci de votre aide !
Afficher la suite