Results 1 to 2 of 2

Thread: Billboard Script pause on hover

  1. #1
    Join Date
    Jan 2006
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Billboard Script pause on hover

    1) Script Title: DHTML Billboard Script

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...lbillboard.htm

    3) Describe problem: Just wondering if there's a way to get this to pause on hover.
    Last edited by vvv7000; 03-07-2007 at 05:34 AM.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Add the red parts as shown in the script here:

    Code:
    function expandboard(){
    if(expandboard.pause){
    setTimeout("expandboard()",300);
    return;
    }
    var selectedDivObj=document.getElementById("billboard"+selectedDiv)
    contractboard()
    if (selectedDivObj.filt . . . 
    And, in the markup here:

    Code:
    <div id="contentwrapper" onmouseover="expandboard.pause=1;" onmouseout="expandboard.pause=0;">
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •