trying to create a list view iPhone interface using jQtouch

  • Hello,

    I'm trying to create a list view interface for an iPhone's display of panoramas using jQtouch. I can get a single panorama to load and everything works, but when I try to add a second panorama (scene-003), that new panorama won't load. I don't get any errors, just a blank screen when trying to view the second ("scene-001" still works as does display of text in the div "info-004").

    I suspect newbie abuse of how div ids are used. I've tried making the id and targets unique and then I tried different. Neither works. The individual xml and panoramas run fine outside of the interface. Any suggestions?

    Thanks,

    Loren

  • I feel kinda stupid now that I figured it out. I'd delete the post, but don't know how.

    For the archive, here was the fix (aside from reading basic docs more carefully):

    <script>
    embedpano({swf:"pano.swf",xml:"pano.xml",target:"panodiv",id:"pano1"});
    </script>

    The conflict was due to the ID being left off. It runs nicely now in the iOS Simulator. jQtouch produces a pretty slick interface. I'd never heard of it until last night. Very powerful features and quite easy to use.

    If the flat pano was only supported in HTML5, my iPhone app would be completed. I'm really stumped on how to get a zoomable map working on such a small screen. My project includes 92 panoramas and the client wants the user to have a situational awareness. The place is 1 million square feet, so it is easy to get lost. 1 million sq. ft. on a mobile screen, kind of hard to do.

Participate now!

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