search for: infocomp

Displaying 2 results from an estimated 2 matches for "infocomp".

Did you mean: infocom
2005 Nov 29
3
OT - Detect selected text with JavaScript
Hello, Does anyone know if it is possible for JavaScript to detect what text is currently selected by a user? I would like to allow the user to select some text and then grab that text using JS. I saw these guys do it : http://www.enlighter.com/ but I''m not sure if its possible to do this using JS only or if it needs a browser extension. Thanks! --Dave.
2005 Jul 12
11
how to cancel/stop a script.aculo.us effect
I apologise for what is probably a totally noob question here, but I''m at a loss after pouring over the docs and the source code for prototype and scriptaculous... After you''ve started an effect, how do you access it to cancel or change it? I had assumed it was something like this: myEffect = new Effect.Appear(element, {duration:1.5}); myEffect.cancel(); ... but that