Add event listener to react on back button

2012-06-07 Thread Musicman75
Hello,

is it possible to add an event listener to the back button?
I need to change toolbar content for different pages.

Thanks.

Stephan

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



Re: Add event listener to react on back button

2012-06-07 Thread Remi Grumeau
Take a look at the Tbdmob plugin in iui/ext-sandbox/, or use the
event-log.js in iui/js
Then a beforetransition  aftertransition with a e.out to true/false will
help you to do that.

(again, this before/aftertransition listener should really be part of the
default iUI experience...)

Remi


On Thu, Jun 7, 2012 at 3:54 PM, Musicman75 stephan.beu...@googlemail.comwrote:

 Hello,

 is it possible to add an event listener to the back button?
 I need to change toolbar content for different pages.

 Thanks.

 Stephan

 --
 You received this message because you are subscribed to the Google Groups
 iPhoneWebDev group.
 To post to this group, send email to iphonewebdev@googlegroups.com.
 To unsubscribe from this group, send email to
 iphonewebdev+unsubscr...@googlegroups.com.
 For more options, 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 iphonewebdev@googlegroups.com.
To unsubscribe from this group, send email to 
iphonewebdev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en.