- jQuery Mobile, Style issue
- function loadView(id, trans, callback) {
- if(current_view != id)
- {
- id = $(id);
- $.mobile.changePage(id, {transition: trans} );
- current_view = id;
- id.die('pageshow').live('pageshow', function(e) {
- if(callback) callback(e);
- });
- }
- };