com Marcações:
back
X

TODAS AS PUBLICAÇÕES
- Classificar por:
- Data ▼
- Título
- Curtir
- Comentários
- Visualizações
Changing the moveTo attribute in "dojox/mobile/Heading" dynamically
One of the known issues of the Dojo mobile is that when the Dojo mobile heading dojox.mobile.Heading has a moveTo attribute, the value of the moveTo attribute cannot be changed once the widget is created. This means that the moveTo attribute will cause the back button to be always going to the initial view id that is binded to the attribute. This post shows you how to solve this issue: http://www.technicaladvices.com/2013/01/29/changing-the-moveto-attribute-in-dojoxmobileheading-dynamically/
Marcações:  mobile button dojox.mobile.heading moveto dojo back heading |
Overriding Android back button behavior in Apache Cordova
If you are using Cordova for building a native application on mobiles using HTML, CSS, and JavaScript, you may need to override the default behavior of the back button on the Android mobiles to implement your application specific back button behavior. In this post, I show you how to override the Android back button using Apache Cordova: http://www.technicaladvices.com/2013/01/24/overriding-android-back-button-behavior-in-apache-cordova/
Marcações:  deviceready cordova back android button backbutton apache |
Preventing backspace from navigating back in all the browsers
One of the requirements which you may face is preventing the backspace key from navigating back in the browser. This requirement can be achieved by listening on the keyboard keys in the browser and acting when the backspace key is pressed under the condition that the mouse cursor is NOT inside an input or a text area elements. Actually, you have to take care of the IE broken event model when you are implementing this feature. for example, the event.stopPropagation() method is not working in IE, adding to this, you have to get the keycode from... [More]
Marcações:  prevent back ie chrome model window.event safari firefox event stoppropagation backspace navigation |