Results 1 to 3 of 3

Thread: Accordion Content script with an 'onMouseOut' event

  1. #1
    Join Date
    Jan 2008
    Location
    Australia
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Accordion Content script with an 'onMouseOut' event

    1) Script Title:
    Accordian Content Script
    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...daccordion.htm
    3) Describe problem:
    Im only just begining to learn javascript, and DHTML and Id like to make an onMouseOut event for the Accordian Content Script - so that instead of it only collapsing when clicked again, it will collapse when the users cursor leaves the DIV/Title for longer than X secounds. Can somebody help me with this? And would it be possible to detect that the mouse is no longer on the element while the mouse is on a different frame?

    Another question I have(this attaches to the last) is if its possible to force the user to either click the title of that DIV, or click a different DIV - as it is originaly - or click another link in the same frame; but only if the user has checked a box inside the DIV(which auto un-checks when the DIV collapses again).

    Thanks in advanced

  2. #2
    Join Date
    Apr 2008
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default ?

    Did you figure this out, I'm working on a project and need some help with it.

  3. #3
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    There is a mod for getting the menu header to auto expand when the mouse rolls over them, but not hide onmouseout: http://www.dynamicdrive.com/forums/s...d.php?p=138526 The later is more complex as mentioned in that thread, and is probably only something I'll look at doing the next time the script is updated.

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
  •