jQuery callback errors on iPad

  • We are using the krpanoiphone.js in our wordpress site and there seem to be js() errors when the site is accessed via the iPad. We have a jQuery layer that seems to be triggering the problem ONLY on the mobile version of the site.

    The link is:
    http://synthescape.com/~rbcm


    When the site is accessed on the iPad, we get a bunch of undefined js() errors (you should be able to see them as the viewer is in debug mode).

    Every pano that is embedded has the following js callbacks on the corresponding xml files :

    Code
    <events 
    			onenterfullscreen="action(enterfs);"
    	onexitfullscreen="action(exitfs);"
    			onxmlcomplete="js(testfunction());js(xmlloadcallback());"
    			onloadcomplete="js(onloadcomplete());"
    			onresize="js(resizeCallback());"
    />


    Basically all the onxmlcomplete and onloadcomplete js calls are being made to non existing functions. This ONLY happens on the mobile viewer and ONLY when the jQuery library is referenced by the callback function. If the jQuery layer is stripped, everything works just fine.

    Any help would be appreciated.

  • We have just discovered (as we are using the panopress embed plugin) that the content gets embedded into an iframe on the mobile version .. and that might have to do with our communication issues.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!