zyucar / imgmap

Automatically exported from code.google.com/p/imgmap
GNU General Public License v2.0
0 stars 0 forks source link

Make my map autosave in a cookie (Previously: Link to 'read more' about the html opens in same window, loses data) #30

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Make a map
2. Click HTML
3. Click read more.
4. Now bury your face into your hands because you just lost your map (in my
case, 10 minutes... down drain .. not balming on you, knew better than to
not assume worst and command+click. Darn.)

Some suggestions:
1) Serialize data and save in cookie, JIC.
2) Create save method that creates and xml file for download.
3) Change all in app links to target=_blank.

thx.

Original issue reported on code.google.com by hi.n...@gmail.com on 30 Nov 2009 at 10:26

GoogleCodeExporter commented 9 years ago
1. I can agree with, and long been thinking of your firts suggestion.
2. The second one, well, copy-paste is quite straightforward i think:)
3. Third one, and the thing that caused your pain:
Adding target=_blank to links is considered a bad practice. Users should be 
able to
decide where do links open. If they want in a new window, they can do it, if 
they
want it in the current one, they can also do it. If you google search for 
"target
blank accessibility" in google, i am pretty sure you will get more detailed 
explanations.

Thanks for the heads-up though. Will rename the ticket to reflect #1

Original comment by adam.mas...@gmail.com on 30 Nov 2009 at 5:38