View Single Post
Old 03-22-2012, 05:04 PM   #86
erez213
Junior Member
erez213 plays well with otherserez213 plays well with otherserez213 plays well with otherserez213 plays well with otherserez213 plays well with otherserez213 plays well with otherserez213 plays well with otherserez213 plays well with otherserez213 plays well with otherserez213 plays well with otherserez213 plays well with others
 
Posts: 7
Karma: 2601
Join Date: Feb 2012
Device: Kindle Touch
Quote:
Originally Posted by silver18 View Post
Mmm...a bit tricky!
I use LocalStorage to store bookmarks and they are made by a key and a value:

key=folders name
value=page number

To add multiple bookmarks, I should create multiple LocalStorage entries with same key and different value.
By now, I don't know whether this is possible or not (plus I'm too tired to check it now! )
First of all I'd like to say I'm amazed of what you've done from my small little idea/app. Well done!
About the question above, maybe you can insert in value an array whice you'll convert to string using json, or csv like this:
23,42,89
Shouldn't be that hard, just use split and your'e good.

Keep up the good work!

EDIT: Missed the part where you said "This could also solve the multiple bookmark problem, though.". So I see you found a solution

Last edited by erez213; 03-22-2012 at 05:06 PM.
erez213 is offline