Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 5 of 5
  1. #1
    Member Be Loud Online's Avatar
    Join Date
    Apr 2011
    Location
    GTA, Ontario, Canada
    Posts
    53
    Member #
    27439
    Liked
    7 times
    Hello,

    I would appreciate some help on this matter. I have a div (Div B) within a div (Div A) that does not display unless they hover over Div A. Then Div B appears. My question is, how do I delay the re-disapearing of Div B once they are no longer hovering over Div A. Even for just a few seconds. Ideally by using CSS.

    Here are the essentials of the code so far:

    .div-a .div-b {
    display:none;
    }
    .div-a:hover .div-b {
    display: block;
    }

    Thanks in advance!

  2.  

  3. #2
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    I think if you are going to have an interval you may have to go to javascript for that.
    Here's something I found that may be useful to you
    Good design should never say "Look at me!"
    It should say "Look at this." ~ David Craib


    http://digitalinsite.ca ~ my current site . . info@digitalinsite.ca ~ my email

    If you feel that someone's post helped you fix your problem, answered your question, or just made you feel better, feel free to "Like" their post. The "Like" link is at the bottom right of each post, along side the "reply" link. And if you are being helped here, try to help someone else - pass it on!

  4. #3
    Member Be Loud Online's Avatar
    Join Date
    Apr 2011
    Location
    GTA, Ontario, Canada
    Posts
    53
    Member #
    27439
    Liked
    7 times
    Thanks AlphaMare. I haven't been on in a while so I don't know how new it is, but I love the "new" avatar!

  5. #4
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    Thank you sir!

    Glad you like it!
    Good design should never say "Look at me!"
    It should say "Look at this." ~ David Craib


    http://digitalinsite.ca ~ my current site . . info@digitalinsite.ca ~ my email

    If you feel that someone's post helped you fix your problem, answered your question, or just made you feel better, feel free to "Like" their post. The "Like" link is at the bottom right of each post, along side the "reply" link. And if you are being helped here, try to help someone else - pass it on!

  6. #5
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,485
    Member #
    425
    Liked
    2783 times
    I usually just use straight Javascript for this...don't really bother with jQuery.

    onmouseout="setTimeout('hide-whatever-div-it-is', 1000);" The 1000 represents the time in milliseconds so you can adjust as needed.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)


Remove Ads

Posting Permissions

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

Search tags for this page

display css after few second

,

display div when hover by seconds

Click on a term to search for related topics.
All times are GMT -6. The time now is 11:59 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com