Closed GoogleCodeExporter closed 8 years ago
That is being a problem for some of my projects too. Is it easy to solve
withouth the _self workaround?
Original comment by DarkJ...@gmail.com
on 3 Jan 2012 at 11:52
I posted the original report in ingnorance. It's actually the way jQuery
Mobile is meant to work. Default page requests are by Ajax unless overridden.
It's all explained here:
http://jquerymobile.com/demos/1.0/docs/pages/page-links.html
Original comment by craigsw...@gmail.com
on 3 Jan 2012 at 12:31
The only issue with adding the target is now you loose the loading and page
transition. Any other way around this?
Original comment by jakehuls...@gmail.com
on 6 Jan 2012 at 8:58
Original comment by diosla...@gmail.com
on 27 Feb 2012 at 7:50
Instead of the jquery document ready event, use the jqm pageinit event:
$('#page1').live('pageinit', function(event){
$('#test1').scroller();
});
$('#page2').live('pageinit', function(event){
$('#test2').scroller();
});
Put the code in a js file, which is included in both pages.
Form more details:
http://jquerymobile.com/demos/1.0.1/docs/api/events.html
Original comment by diosla...@gmail.com
on 27 Feb 2012 at 10:33
Original issue reported on code.google.com by
craigsw...@gmail.com
on 30 Nov 2011 at 3:47