I'm working with Google Adsense on my site. If I go from page 1 to page 2, ads don't usually show up on page 2, except that now I am using Adsense mobile ads, and they do show up one or two times when visiting page 2. If my link to page 2 includes data-ajax="false", the ads always show up on page 2.
Unless I show data-ajax="false", IE 10 will work for one or two visits to page 2, but will then display an error about a long running script. The script it is talking about is the ads script.
I placed a pageinit event in my page 1 code, and that results in showing the ads on page 2, but just one time (and I don't need data-ajax="false"). If I go back to page one, and then go to page 2 again, I see the space for the ads, but no ads. Here's my pageinit code:
<script>
$(document).on("mobileinit", function() {
$.extend( $.mobile , {
pageLoadErrorMessage: 'Either the page cannot be found or it cannot be loaded.'
I have an iframe on one of my JQM pages. The width of the iframe is 490 px. When I reduce the size of my Chrome browser to simulate a cell phone screen, I can see only about half the iframe, and there is no scroll bar. How can I make the page scroll horizontally?
I've built a JQM page for mobile devices, and I'd like it to serve as a desktop page also. Is there anything I need to do to accomplish this?
I'm concerned about the width of the JQM page when viewed on desktops. I think most developers now build 960 px width pages for desktops. My JQM page will be much wider than that when viewed on a desktop.