I have made an iPhone app with jqtouch and jquery (and it works great)
that I converted to an iPad design that I found here:
https://github.com/senchalabs/jQTouch/issues/229
You can see my live demo here:
http://www.manmade.se/iphone/hotell/index_ipad.html
The problem I get is that if I click a menulink and load a page and
then click the same link again it loads the page again and then I cant
click any other links, they stop working.
I load all my pages as separate ajax pages, and the pages are .asp
pages that gets it content from the database.
So I need to set cacheGetRequests to false in the jqtouch.js file
otherwise the new content isnt visible, than it just loads the page
from the memory.
If I set cacheGetRequests to true then when I click a link it loads
the page and if I click again, then it doesnt load the page again, and
all other links work as they should.
This is how it should work, but it doesnt if I set cacheGetRequests to
false.
So I guess that I have to with the history memory in the jqtouch.js
file.
I tested a iPad demo from beedesk that you can find here:http://
www.manmade.se/iphone/beedesk/demos/main/index.html and I set
cachegetrequest to false in that one and it worked as it should. The
problem is that I cant just use his version, because he has made so
many other changes that it doesnt work with my other codes.
The guy that made the beedesk one says:
"History management improvement is required by split-view, because
with split-view, you have two views that can be navigate
independently."
I have looked and tested different things from his jqtouch.js file,
but I dont really understand where it is handling the load of a second
click on the link!?
I would pay anybody that comes up with a solution, because if I cant
fix this problem the hole iPad design is wortless.
Any help, really appreciated, thanks!