Slashdot Mirror


AJAX Inline Dictionary like WallStreetJournal.com

chevoldavis writes "Highlight any text on this site then right click. A tooltip containing the definition of the selected word should show up. This tutorial will show you how to accomplish this, step by step. You can modify it to call any function or webservice. This is similar to the WallStreetJournal.com except they show search results in their tooltip window and they leave the functionality of the context menu while I have chosen to supress it. "

4 of 52 comments (clear)

  1. 2 things by giorgiofr · · Score: 4, Funny

    1. I can right-click or double-click any word on any page on the webs and I get a nice "Dictionary" item in my context menu. That's because I use a sensible browser, so I don't depend on your service.
    2. My right-click menu is *sacred*. Really, I kill kittens on its altar every morning. Thou shalt not dare to touch it. For he will not slay thee in thy turn, etc etc. Seriously, don't mess with people's interface. Luckily my fancy browser denies such requests as yours.
    Did I mention I use a cool browser?

    --
    Global warming is a cube.
  2. This is great by Ohreally_factor · · Score: 4, Funny

    This is great, if you define all words as "The remote server returned an error: (500) Internal Server Error."

    --
    It's not offtopic, dumbass. It's orthogonal.
    1. Re:This is great by alphafoo · · Score: 2, Funny

      I right-clicked on the word "Slashdotted" and thought, yep, that's about right.

      Even a stopped clock gives the right time twice a day.

  3. Just like the website... by __aaclcg7560 · · Score: 3, Funny

    So like the Wall Street Jounal website, this inline dictionary has some free word definitions but you need a subscription to see the rest? Not a very useful dictionary...