-
Ajax with mouseover and mouseout
1) Script Title: AJAX
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...jaxcontent.htm
3) Describe problem: I am using AJAX to show sample ads on a classified site. I would like a mouseover event to load a small html file into a <div>. I then want the file to revert back to the original file. I have the mouseover working, I need th mouseout code. Here is what I have:
<a href="#" onmouseover="ajaxpage('content/people.html', 'people');">People</a>
How do I ad a mouseout event to restore the people.html to people1.html?
-
-
Solved It!!!
<a href="#" onmouseover="ajaxpage('content/people.html', 'people');" onmouseout="ajaxpage('content/people1.html', 'people');">People</a>
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks