There's got to be a way to direct Safari to load a file stored locally on the device... just not sure what syntax to use and where to store those files.
ah wow, that's a shame. i really want to get these files compiled into an app but have no idea how I'd take HTML, JavaScript, and PNG images and put them into an app that can stand alone on the iPhone/touch.
- install apache on the ipod
- put files in /Library/WebServer/Documents/
- navigate to http://127.0.0.1/
or...
- base-64 encode any images and put them in your file as: <img src="data:image/gif;base64,[[BASE 64 GIBBERISH GOES HERE]]">.
- base-64 encode your entire html file, any js or css embeded.
- make a link to your file: <a href="data:text/html;base64,[[BASE 64 GIBBERISH GOES HERE]]">.
- Visit page on ipod
- click link
- bookmark link
- visit when offline
Path #1 is easier, but only you can use it.
Path #2 can be used by anyone. This is the only way to make offline safari apps at the moment.