Copy link to clipboard
Copied
La fonction 'Nettoyer le code XHTML' estime comme vide la fonction
<div id="Ch1" align="left"></div> (code d'affichage pour javascript)
et la supprime.
Gênant !
et ce quelque soit la version de Dreamweaver (dont la dernière 18.0)
NP
Nice, i can certainly understand why people would wish to use such a feature.
Copy link to clipboard
Copied
Posting a snippet of code like the one you have posted, tells us nothing, and apart from saying both your div tags are opening tags, and the enclosing of a 'comment' (at least that is what i assume it is) inside '( )' is invalid, plus the use of uppercase charachters in the id, along with in line styling, (which is also incorrect) nothing more can be said.
Copy link to clipboard
Copied
Ok - cette instruction d'affichage complète dans le corps de la page le code suivant en en-tête :
<script type="text/javascript"> Z.showImage("Ch1", "ill/costume-france-berthe-10e-siecle-5dsr_04444", "zWatermarkPath=../graph/copyright-150v.gif&zFullViewVisible=0&zSliderVisible=1&zLogoVisible=0"
Source du code : Zoomify qui est un des composants d'exportation de Photoshop.
Copy link to clipboard
Copied
Unfortunatly zoomify exports to html5, (used to be flash) not xhtml.
xhtml language is much more strict than html5, and the code produced by zoomify is not for editing in Dreamweaver, as much of it is custom. It is for using as a stand-alone page, not for modification or inclusion in an html page.
Copy link to clipboard
Copied
Merci de votre réponse et ce votre éclairage.
Juste une remarque : vous dites que zoomify n'est utilisable qu'en tant que page individuelle. Cependant j'ai acheté le logiciel complémentaire de Zoomify, qui en principe est fait pour être inclut dans du html5 (effectivement).
Copy link to clipboard
Copied
The idea behind the zoomify supplied software is that it does provide the code to be used in an html5 page, (unlike that supplied for photoshop). But be carefull when using it as the file paths to images and assets must be maintained, meaning that if you create another slideshow, (for example) and place it in a different directory then you have to also place the required images and js in that directory also.
Copy link to clipboard
Copied
Oui Merci de vos précisions. J'ai dû effectivement prendre en compte tout cela. Vous pouvez voir certains de ces résultats par exemple dans cette page
https://www.traces-h.net/costumes/france-sergent.html
ou encore (bas de page)
https://www.visites-p.net/gravure-ancienne-du-jour/marseille-hugo-1830.html
Mes sentiments les meilleurs
Norbert Pousseur
Copy link to clipboard
Copied
Nice, i can certainly understand why people would wish to use such a feature.