I'm using jQuery mobile 1.2 in my project. I've got the following question: What can I do to remove the white box surrounding the data-filter element? It should show the background instead of the white box.
First I thought that I could solve this with data-shadow="false" but according to the API this attribute does not exist / work with the listview element..
I'm developing an app for android an Playbook OS. On android the app runs fast, transition-effects are looking good and everything is fine. But on my Playbook (Playbook OS 2.1) the app runs slow, sometimes the reaction on user-clicks takes about 10 - 15 seconds. I used web inspector to have a look at the web console but no errors appeared there. For my app I'm using Phonegap/cordova 2.1, jQuery 1.8.2 and jQuery mobile 1.2.0.
Unfortunately I have no idea what could be the reason for this lack of speed.
Has someone experienced similar app-behaviour or has someone a tipp what I could do to improve performance?
apps.js : After the DOM is loaded, I try to listen to the pageshow-event of page2:
$("#page2").on("pageshow",function()
{
alert('pageshow - page123');
// Do something
});
I would expect, that - after the user clicks on page 2 - the event fires one time but it seems that it is fired two times since the alert box is shown 2 times. The funny thing is: if I use the back-button on page 2 to get back to the menu and click again on the li-item of page 2, the app changes to page 2 and the alert box is shown 4 times instead of 2 times. When I repeat it again it is shown 6 times and so on....