MozillaZine

Creating Links with Mozilla's window.getSelection() Method

Friday October 25th, 2002

Kenneth Dillon writes: "This morning, IBM developerWorks published a tutorial detailing how Mozilla's cutting-edge ECMAScript and W3C DOM support and its nonstandard, but incredibly useful window.getSelection() method can be put to work to allow users to create links to virtually any piece of text within an HTML document."

Note that you must have a developerWorks profile to access this tutorial. You can create a free profile at the registration page.


#1 Cool

by WillyWonka

Friday October 25th, 2002 8:07 AM

You are replying to this message

Now that's kind of cool. Sites pointing to your page can hilight words similar to the way the google search bar hilights search terms in a page.