Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

soonguy

macrumors newbie
Original poster
Sep 6, 2009
3
0
Hi

I've installed a javascript which allows people to double click on a word in a webpage, and give a definition in various languages. However, this only works in WIndows, and a previous dicationary script I used also only worked in Windows.

Is it intrinsically not possible to have a javacript do this in Macs? Is it also true that likely any second-language English speaker who is a mac user would likely have installed such a feature, that would do this anyway? I note on my son's new mac laptop that double-finger on the pad will open the installed English dictionary for a word.

Thanks for your advice

Tony
 
JavaScript works in Mac browsers too. It's possible the JavaScript you're using simply isn't well written, or doesn't handle Mac appropriately for some reason. Without seeing the script it would be hard to say for sure. Mac does have a Dictionary built-in and some programs like Safari can look-up words from within the program.
 
Maybe the JavaScript is not enabled in your browser, or the JavaScript file is not linked properly (path changes, name changes, incorrect declaration, and so on).
 
Both of those web sites worked correctly for me on my Mac using Firefox 3.5 and Safari 4. I double-clocked the word "media" and it showed me definitions in multiple languages.
 
thanks

Thanks! There must be something in my son's setup that is blocking it somehow. Javacript IS enabled.

If most people can get it, then that's good enough!


Best wishes

Tony
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.