Buon giorno,
sto cercando di ottenere un'immagine a sinistra con il testo a destra, collegato che scorrono assieme. Inoltre le immagine hanno un javascript toggle immage. Vorrei una specie di layout a due colonne. Il mio xsl è il seguente:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xd="http://www.oxygenxml.com/ns/doc/xsl"
exclude-result-prefixes="xs xd"
version="2.0"
xmlns="http://www.w3.org/1999/xhtml"
xpath-default-namespace="http://www.tei-c.org/ns/1.0"
xmlns:tei="http://www.tei-c.org/ns/1.0"
>
<xslutput method="xhtml"/>
...
<script type="text/javascript">
function toggleSize(img){
if (parseInt(img.style.width) != 820){
img.style.width='820px';}
else{
img.style.width = '50%';
}
}
function showHideNote(noteId){
var note = document.getElementById(noteId);
if (note.className == 'hiddenNote'){
note.className='showingNote';
}
else{
note.className='hiddenNote';
}
return true;
}
</script>
Avete un'idea da suggerirmi? grazie!!!!!!!!!!!