Replacing "Add Bookmark" div with "Add Bookmark" button

902
1
03-19-2012 03:16 PM
DanielLi
New Contributor
I am using the esri ootb bookmarks where all the html is generated for adding/editing/removing bookmarks. I want to modify the div that contains "Add Bookmark" and replace it with a "Add Bookmark" button that does the same thing. Then I want to put a "Save Bookmark" button on the same row which will save the bookmarks to a cookie.
Is there anyway to modify "Add Bookmark" to be a button instead of a "text" without having to write a custom bookmark tool?
0 Kudos
1 Reply
DanielLi
New Contributor
I ended up writing my own custom bookmark tool which would use an actual database to store bookmarks. This turned out to be alot easier thanusing theirs OOTB. I found their OOTB bookmark tool useless. Why would you have adding and editing a bookmark call the same event. Why wouldn't each have their own event handling? Why would you not let the user have access to the bookmark being added/updated/removed on those event calls?
0 Kudos