PDA

View Full Version : load files via ajaxpage onMouseOver??



pmorrison
06-29-2006, 05:36 PM
Is there a way to modify ajaxpage (or the code in the AHREF tage) so an external file can be loaded in a DIV not on a mouse click but with an onMouseOver event?

Peter

djr33
06-29-2006, 09:24 PM
Just change onClick to onMouseover?

If that doesn't fix it, please link to the script you're using and your page, as well as anything else that might matter. You could paste the source code here as well.

pmorrison
06-29-2006, 09:55 PM
Thanks djr, but the script for AJAXPAGE doesn't use an onClick event to activate the function. PM

Twey
06-29-2006, 10:53 PM
FISH.
Take everything that is in the href after javascript:, put it in an onmouseover attribute, and replace it in the href with void(0);.