onLoad="galleryChanged(this.contentWindow.location);"
The above unfortunately I know nothing of, if it should work or not, or about the javascript function it is trying to run. It is certainly 100% unrelated to the existence of Imagevue in the document, so its a bit hard for me to diagnose.
mc007ibi wrote:The galleryChanged function works properly in HTML mode.
You mean when you load the html gallery into an iframe? The SWF gallery is still embedded into a html page in terms of having a javascript onload function ...
mc007ibi wrote:I also looked in swObject and swAdress source files. It seems they do all their job properly but I am not sure. Somewhere I saw that I can pass a parameter to disable swAdress. Could it help me ?
I am not sure how these are related to your onload function. SWFObject is required simply for embedding the SWF file, and if you disable it, the SWF won't load at all. You can disable the SWFAddress from Imagevue settings, but this is not related to "load" in any way ... Its for settings an #Address in the URL field of your browser.
In Imagevue, we use jQuery for onLoad events. We have code like this:
<script type="text/javascript">
// <![CDATA[
$(window).load(function () {
// Stuff to run on document load goes here ...
});
// ]]>
</script>
You would need to add that to the document that loads in the iframe, or maybe add to your custom document and target the iframe instead (I am not sure exactly how, but a few searches may help you).