<div>This morning I down loaded the latest version of Xerte 2.16 to obtain the missing New Window and Bleeding Image model files.<br></div><div><br></div><div>I have been trying to get the new window to work but there are a few issues.</div>
<div><br></div><div>Line 8 reads</div><div><br></div><div>if (pageIcon.templateData.textGraphics[0].url.indexOf('http') == 0){</div><div><br></div><div>So I changed that to reference pageIcon.templateData.newWindow[0].url.indexOf('http') </div>
<div><br></div><div>Then the next few lines confused me.</div><div><br></div><div>if (pageIcon.templateData.newWindow[0].url.indexOf('http') == 0){<br> previewImage = "'" + pageIcon.templateData.newWindow[0].previewImage + "'";<br>
} else {<br> previewImage = pageIcon.templateData.newWindow[0].previewImage;<br>}<br></div><div><br></div><div>If I add a url to the xwd form then the if condition is true and previewImage is set to have ' wrapped around it, in which case no image is displayed, so nothing to click on.</div>
<div><br></div><div>If I remove the url from the xwd form then the image is displayed but after a few exiting the preview and returning to the preview, the preview stalls with a loading xml message.</div><div><br></div><div>
It seems that you need the ' wrapping to stop the page breaking but then the image value is not recognised as a valid url by the image icon.</div><div><br></div><div>Any ideas?</div><div><br></div><div>Kind regards</div>
<div><br></div><div>Johnathan</div>