I'm trying to write a script that will allow me to perform some actions once the "embed" of the JavaScript version of the panorama (for iPhone/iPad) has completed, but I'm having a difficult time measuring this. Is there an event fired or just a way to determine when the krpanoiphone.js has completed and the img tags are actually in the DOM so I can perform actions on them?
Determine when JavaScript has finished dynamically inserting img tags
-
-
Hi,
why would you perform 'actions' on them?
(just as node - the whole internal dom structure will change with the next release)best regards,
Klaus -
Because I'm iframing in the panos from a separate page, I'd like to be able to assign jQuery's .load function to each img in the panorama so I can keep track of when all have loaded. At this point, I'll fade in the panorama and can assign other scripts to run to gracefully introduce it.
-
Hi,
sorry, there will be no possibilities to do that yet,
best regards,
Klaus
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!