I was actually intrigued by the second example on this page (Ajax
Link). I see that you are storing that ajax panel (minus the toolbar)
in a file called "fragPanel.frag" thus bringing that separate section
into the framework.

Originally, I was planning on separating each section of this site
into separate PHP pages and linking them from my main springboard
page, but it looks like this might have potential since I can possibly
store each section in a .frag file.

So assuming I need to run a javascript from within one of these .frag
files, I can't easily do this since it's not a full webpage and
doesn't have a <body> tag for me to check if the page is loaded. if I
were to have the javascript live on my main page, is there an event
listener I can call when the .frag file is brought in to the main
view? I tried both 'aftertransition' and 'load' with no success.

I hope I'm asking this clearly, let me know if you want me to clarify.

Thanks!

- Scott

On Nov 24, 12:28 am, Sean Gilligan <[email protected]> wrote:
> Scott Finkelstein wrote:
> > Now I'm not looking to replicate the
> > transitions, but is it possible to have the new page load within the
> > same full-screen browser window,
>
> Yes.  Use target="_webapp"
> There's an example, here:http://iui-js.appspot.com/test/link-types.html
>
> >  and in addition, have the new page
> > display a back button to the main page?
>
> That's a little trickier.  You'll have to disable the JavaScript (by not
> including iui.js, perhaps) and adjust the HTML and CSS so that back
> button links to the previous page. Or something like that...
>
> -- Sean

--

You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en.


Reply via email to