New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jquery mobile and dynamic content #250
Comments
I thank you from the bottom of my heart. I was struggling with this "display bug" for weeks. This fixed it for me: I'm using the swipe files by bradbirdsall in combination with the: jquery.mobile-1.3.0.js and jquery-1.9.1.js libraries. I've placed the following code: $(document).delegate("#page_id", "pageshow", function() { See an example of how I use the code underneath: /* var elem = document.getElementById('slider'); // runs the script when page is showed up
}); |
I'm still not sure how you managed to get this to work, @ilhan88. What did you mean with the "#inname_uitgave" portion of the code? Would you be able to post your solution to jsfiddle? EDIT: |
Hi! I'm trying to use swipe with jquery mobile 1.2.0 and dynamic content. But i reproduce the offset problem : div's are showing up stacked on top of each other, below the 'slider'.
<script> $('#home').live('pageshow',function(){ window.slider = Swipe(document.getElementById('slider')); var content = "To show it, you can see the brad birdsall's jsFiddle (http://fiddle.jshell.net/bradbirdsall/PT5d3/) and replace the pageshow function :
The text was updated successfully, but these errors were encountered: