Results 1 to 2 of 2

Thread: delay attribute for hover changes?

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

    Default delay attribute for hover changes?

    I was wondering if there was some CSS attribute, for example: {width: 10;}, that added a delay to changes that occur when the cursor hover over content.

    Here is the CSS code:
    Code:
    #tx
    {
    text-align: justify;
    width: 260;
    height: auto;
    padding-left: 5;
    padding-right: 5;
    height: 113;
    overflow: hidden;
    bottom: 0%
    }
    
    
    #tx:hover
    {
    text-align: justify;
    width: 260;
    height: auto;
    padding-left: 5;
    padding-right: 5;
    height: auto;
    bottom: 0%;
    }
    Is there any way that I can delay the expansion of div "tx" by a certain number of seconds after the cursor hovers over it?

  2. #2
    Join Date
    Feb 2007
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    no no, you can't make dalay with css rules. You must use javascript for that behaviour.

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
  •