8 messages in com.googlegroups.google-gadgets-apiRe: Gadgets
FromSent OnAttachments
Liam K.20 Jul 2006 21:29 
labtopia21 Jul 2006 13:55 
Liam K.23 Jul 2006 11:09 
Don French23 Jul 2006 11:10 
Liam K.24 Jul 2006 09:20 
Justin McConnell24 Jul 2006 10:13 
Liam K.25 Jul 2006 13:21 
Justin McConnell25 Jul 2006 16:04 
Subject:Re: Gadgets
From:Justin McConnell (bool@gmail.com)
Date:07/25/2006 04:04:09 PM
List:com.googlegroups.google-gadgets-api

Liam K. wrote:

But is there a way to use onMouseOver so when your mouse hovers over a word, a window/alert will pop up and tell you the google definition (search for define:"word")?

Liam, Your question is a little open ended. I'm sure there is a way to do this but it would be much more complicated than your sample gadget. You'd have to start doing some event handling to capture the x,y coordiantes of where the mouseover occurs, then traverse the DOM to figure out which word the mouse is over. Then you have a word you can use to make an HTTP request to some dictionary service like answers.com or Google's own search engine.