<div>Hello Everyone,<br></div><div><br></div><div>I have been working (between beta version stuff) on a means of making it possible to open a Xerte project at a specific page, rather than always have them open at the title page.</div>
<div><br></div><div>Attached is a simple 3 page desktop Xerte project as a proof of concept.</div><div><br></div><div>Do not open it in Xerte (at least until you have finished testing it!) If you publish the project, in Xerte, your local copy of rloObject.js will overwrite the one in the project and the code that supports the redirection will be lost.</div>
<div><br></div><div>Would you mind unzipping it and then opening index.htm in a web browser - not Xerte.</div><div><br></div><div>For it to work you will need to set up the folder in which you place it as a trusted location in the Flash player settings (otherwise javascript calls will not work).</div>
<div><br></div><div>It should open at a title page.</div><div><br></div><div>Then add to the url in your browser </div><div><br></div><div>?pageID=menu</div><div><br></div><div>and press enter to reload the page.</div><div>
<br></div><div>After a short delay the project should redirect from the title page to the menu page.</div><div><br></div><div>I have tested this in Firefox, IE8, and Opera. </div><div><br></div><div>If anyone has other browsers at their disposal I would be keen to know if the redirection works. e.g. Chrome, Safari,</div>
<div><br></div><div>Should you examine the project the key stuff that makes it work is a function at the end of rlsObject.js and some code running off the onInitHandler interaction in the entry frame. Because rootIcon.pages.length has not finished being built when the onInit event fires I have added a timer to create a delay to allow time for the array to be built - hence the delay before redirection takes place.</div>
<div><br></div><div>Should this prove reliable in your testing I believe the same approach should be applicable to XOT (albeit using a different array to source the page information)</div><div><br></div><div>Kind regards</div>
<div><br></div><div>Johnathan</div><div><br></div><div><br></div>