Archief voor de ‘javascript’ Categorie

V 0.1 of the right click search function

Well with some cut and paste work i created a v 0.1 version of a search function that reacts on a selected part in the page. I was thinking of using xajax and php to work this out. But later on i thought this is only needed when you use your own search engine/function . I did the job with the Ajax Google search Api and with some js and css let the box appear on the mousePointer position.

Feel free to look at the code and make improvements or give some feedback. Take notice that you need to replace the google api key

Click here for the code , and here for the demo

Cool feature on “The Wall street journal”

A cool new feature on WSJ is the ability to search on terms within the text. Looks like something that isn’t really exciting, but …. As web 2.0 or even thinking of web 3.0 and all kind of terms as vertical search, tagging and ajax, this is cool. When you do a right click on a word or a couple of words it’s immediatly submitted to the search engine. With a simple overlay box the related articles to the search term are displayed. See for yourself

This feature i will implement as soon as posible. First of all it’s cool to have, and i think it’s something that when people get used to something like this it’s much easier to select what kind of related articles you want to read. It’s much more difficult to get the related articles that a user really want get on an article another way.

I am thinking of creating this feature in php and make use of the xajax project.  And i will post the code here aswell

If you have any suggestions feel free to comment