Lose icons with offline cache.manifest

  You are currently not logged in. You can view the forums, but cannot post messages. Log In | Register

05-Apr-12 05:09
I've built an offline site and included the icons in jQuery mobile as part of cache.manifest. Everything was fine in the app when it was run on the web until I went to the offline version. I lost the icons in the buttons...they're now just dark circles without the graphic.

I'm using 1.1.0 RC1 and jQuery 1.7.1 because it has the best fixed headers/footers

Any ideas?

Thanks in advance!
Alan
05-Apr-12 06:36
Hi Alan,

I must admit I haven't played with application caches much yet. Sounds like the browser's having trouble referencing the "images/icons-18-white.png" etc image files.

Did you also include the jQuery Mobile stylesheet(s) in the manifest? That might be needed, since the icon file paths are relative to the CSS.

This might give you some ideas too:

http://www.html5rocks.com/en/tutorials/appcache/beginner/

Thanks for buying my book btw

--
Matt Doyle, Elated
3rd Edition of my jQuery Mobile book out now! Learn to build mobile web apps. Free sample chapter: http://store.elated.com/

 
New posts
Old posts

Follow Elated