hkahil Posted May 30, 2010 Share Posted May 30, 2010 bonjourj'ai besoin d'une petite aide svpje souhaiterais faire un lien sur la page de ma boutique qui ferai appel a un autre global.cssen fait je voudrais faire un lien , en cliquand dessu mon image d'arriere plan changepouvez vous m'aidez svpmerci Link to comment Share on other sites More sharing options...
ould.abeidy Posted May 30, 2010 Share Posted May 30, 2010 Bonjour,essaye d'integrer le code PHP et HTML: <?php $imgs = array('fond1.jpg', 'fond2.jpg', 'fond3.png'); $randBg = $imgs[rand(0,count($imgs)-1)]; ?> <body style="background: url(<?php echo $randBg; ?> );"> enleve aussi le style background dans ton global.css. Link to comment Share on other sites More sharing options...
liandri Posted June 3, 2010 Share Posted June 3, 2010 bonjour,peut-être une piste ici :http://www.developpez.net/forums/d893775/webmasters-developpement-web/javascript/bibliotheques-frameworks/jquery/affichage-simultane-nouvelle-division-nouvelle-image-fond/ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now