Results 1 to 2 of 2

Thread: Ajax with mouseover and mouseout

  1. #1
    Join Date
    Aug 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default 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?

  2. #2
    Join Date
    Aug 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Solved It!!!

    <a href="#" onmouseover="ajaxpage('content/people.html', 'people');" onmouseout="ajaxpage('content/people1.html', 'people');">People</a>

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •