senchalabs / jQTouch

Create powerful mobile apps with just HTML, CSS, and Zepto.js (or jQuery).
http://www.jqtouch.com/
MIT License
2.79k stars 592 forks source link

pages mixed #481

Open ghost opened 11 years ago

ghost commented 11 years ago

hi, i created sevel pages and linked a.htm b.html like this, adter click link fast pages mixed , see attached image

please how can i solve this problem thank you

error

davidkaneda commented 11 years ago

Hi kakkuk, any chance you could post/provide a live link to this? I could debug much easier on the page-

ghost commented 11 years ago

it happen mobile app , but web page normal, after click link and before load page clean old content on screen it will ok for me, sorry for bad english thank you

davidkaneda commented 11 years ago

No worries — Does that mean that it happens in Phonegap but not when loaded as a web page?

ghost commented 11 years ago

yes you are right. it happenes in phonegap

davidkaneda commented 11 years ago

Ah, sorry, if I can't see it in a webpage I'm not able to debug directly... If you could post a URL, I could see if anything looks wrong, but otherwise I don't think we can help here.

ghost commented 11 years ago

i used like this and it is working but is it ok?

$(document).on('ajaxStart', function () {
    $('#pageLoader').show();
    $('.innerView').empty();
});

i will upload sample file soon