Looks at the iUI-logevent.js in iui/js.  This will activate
beforetransition/aftertransition events. Then you might be able to
show/hide a button based on those event (knowing your homescreen ID value.

Remi

Sent from my BlackBerry® PlayBook™
www.blackberry.com

------------------------------
*From:* "Andy Rennard" <[email protected]>
*To:* "[email protected]" <[email protected]>
*Sent:* August 10, 2012 5:29 PM
*Subject:* Back button with external URL when at top level

Hi - I'm using iUI inside a UIWebView in an native iOS app - I'm using
it to display user documentation, and it looks nice.

I have a problem though - when at the top level of the uIU hierarchy,
I want to back button to stay visible (with a custom label), and when
clicked I need iUI to fire off an external http:// request, which my
native app can intercept and pop the iUI off my navigation stack.

I've tried a few things, but I'm struggling to get it to work. I get
get a button to appear, but it doesn't seem to do anything when at the
top level. I've tried adding a new pattern to the native URL patterns,
and trying to intercept that, but I never see the request being fired.

My Javascript skills are not great...anybody know how to solve this problem ?

Thanks !

-- 
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].
Visit this group at http://groups.google.com/group/iphonewebdev?hl=en.

-- 
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].
Visit this group at http://groups.google.com/group/iphonewebdev?hl=en.


Reply via email to