Can I create something like an Internet Explorer accelerator using JavaScript on the client-side?
I want a clickable icon to show up when the user selects some text on the page.
What is the event I should wait on?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In essence the idea is to handle
document.onmouseupevent appropriately, show your hidden “accelerator”divand retrieve the text selected.I guess the following sample will be a good starting point for you: