mobione

JQuery Image load fails on MobiOne iPhone simulator

社会主义新天地 提交于 2019-12-12 03:49:16
问题 I dynamically update an image on a JQTouch site using the following code: $('#sv_map') .one('load', function() { $(this).fadeIn(); }) .attr('src', imgURL); Got the basics of this from here. sv_map is an image, and imgURL points to a valid, existing JPG file. This code works as expected on all major browsers (Chrome, Safari, Firefox, IE) as well as on actual devices (several iPhones and iPods). I don't want to conclude that the simulator has a bug (it seems like such a trivial issue). What

iPhone web apps running as native apps

僤鯓⒐⒋嵵緔 提交于 2019-12-03 09:48:11
问题 The browser on the iPhone is capable of using advanced web technologies introduced in HTML5. One of these is the app cache that allows web pages to run on the client, from the cache, without a connection to the internet. Together with Local Storage you can also save data permanently "in" the page. My question is, would it then be possible to make a website that when visited and set as a web clip (bookmark on the home screen), could be accessed again, at any moment. Using HTML5, Javascript and