I know this is a bit of an older thread, but if anyone is reading this, I have a question:
I've been building a iBooks Author's-destined widget in Dashcode (starting with the interface layout tools), and hope to have users keep persistant data in the widget. The design is a blank role playing game character sheet. I also hope to duplicate the widget, making a few minor changes, and add multiple copies that have data filled in through out the book (but are also user modifiable).
There's still some work to do, but this is a rough draft of the base widget.
https://www.dropbox.com/s/jub447tganpe0ao/Char_Sheet%20LocalStorage.dcproj.zip
I have no java script experiance (I've been trying to squeeze some training in at codecademy.com, but it's slow going), and was wondering if someone could dumb down the process for me--
Where to add code
What the code pieces would look like
How to get data from the fields into localStorage
I know this is asking an aweful lot. I'm working on trying to understand this independantly, but I have little to no programming background. I've picked up the Dashcode for Dummies on Kindle, but it doesn't really focus on iBooks and doesn't talk about the localStorage function at all. I'm trying to push through the javascript courses in codecademy and w3schools.com, but it's an uphill climb. If anyone can offer any thing like what I've been looking for, I'll gladly include you in my dedication page!!