voici le code xml:
<?xml version="1.0" encoding="UTF-8"?> <simpleviewerGallery maxImageWidth="660" maxImageHeight="660" textColor="0xFFFFFF" frameColor="0xFFFFFF" frameWidth="12" stagePadding="40" thumbnailColumns="2" thumbnailRows="6" navPosition="left" title="" enableRightClickOpen="false" backgroundImagePath="" imagePath="images/" thumbPath="thumb/"> <image> <filename>08_0031_009.jpg</filename> <caption>08-0031-009</caption> </image> <image> <filename>08_0031_011.jpg</filename> <caption>08-0031-011</caption> </image> <image> <filename>08_0031_014.jpg</filename> <caption>08-0031-014</caption> </image> </simpleviewerGallery>
et voici le code de la page html:
<html xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta name="generator" content="Adobe Lightroom"/> <title>Titre du site</title> <!-- Download SimpleViewer at www.airtightinteractive.com/simpleviewer --> <script type="text/javascript" src="swfobject.js"></script> <style type="text/css"> /* hide from ie on mac \*/ html { height: 100%; overflow: hidden; } #flashcontent { height: 100%; } /* end hide */ body { height: 100%; margin: 0; padding: 0; background-color: #181818; color:#ffffff; } </style> </head> <body> <div id="flashcontent">SimpleViewer requires Adobe Flash. <a href="http://www.macromedia.com/go/getflashplayer/">Get Adobe Flash.</a> If you have Flash installed, <a href="index.html?detectflash=false">click to view gallery</a>.</div> <script type="text/javascript"> var fo = new SWFObject("viewer.swf", "viewer", "100%", "100%", "7", "#212334"); fo.addVariable("preloaderColor", "0xffffff"); fo.addVariable("xmlDataPath", "gallery.xml"); fo.addVariable( "langOpenImage", "Ouvrir l'image dans une nouvelle fenêtre" ); fo.addVariable("langAbout", "A propos de"); fo.write("flashcontent"); </script> </body> </html>
AIDEZ MOI S'IL VOUS PLAIT