Forum Moderators: open
Is there a book that discusses how to do this? I greatly prefer a book to an online resource. Plus, I haven't really tried to write any javascript in 6-7 years (and I didn't get into it very deeply even then), so if there is a "Best Javacript Book" that happens to have a chapter or two on adding toolbar or right-click menu functionality, then that would be prefect :)
I realize I could just hunt for pre-written scripts, but I don't want to know how to do a specific task by using someone else's scripts, I want to know how to start from scratch and create my own. So, even without a chapter on bookmarklets, I'd still love to hear what the best current javascript book is.
<added>
To put it more succinctly:
1) What's the best book to learn how to write javascript?
2) What's the best book from #1 that includes bookmarklets and right-click stuff?
All else being equal, I tend to like O'Reilly's books the most.
</added>
The O'Reilly "..Definitive Guide", and "..Bible" are usually mentioned.
2)
Bookmarklets (aka favelets)
If you're rusty with JS, it's probably easier to build bookmarklets as normal scripts first.
(Something that's rarely, if ever, mentioned...)
In IE/Win at least, it's possible to use a bookmarklets to load local script files, thus getting round any maximum character limitations, and the need to put the whole thing on one line.
right-click stuff..
(Again, in IE, not sure how in other browsers...)
If you want to customize the browsers right-click menu, it takes a minor edit in the registry. Interested?
it takes a minor edit in the registry. Interested?