website logo
Auteur
avatar
colonelwog

Forum » » Mods, Trucs, Astuces » » Jquery pour zoom sur image


Posté : 02-01-2010 18:01 icone du post

le code pour une image interne est quasi le meme sauf les http :



function MM_ZOOMEXT($arg,$arg1,$arg2) {

$MM_image = ' <script type="text/!javascript!"
src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js">< /script>
<script type="text/!javascript!" src="jquery.magnifier.js">
/***********************************************
* jQuery Image Magnify- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
***********************************************/
</script>

<img class="magnify" src="'.$arg.'" alt="'.$arg1.'" title="'.$arg1.'" width="'.$arg2.'"  />';
        return ($MM_image);
}


BONNE ANNEE 2010

Cet article provient de NPDS REvolution 16
https://lab.grottes-et-karsts-de-chine.org/viewtopic.php?topic=24657&forum=7