PDA

View Full Version : delay attribute for hover changes?



zack.eth
09-27-2007, 10:50 PM
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:

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

devaka
10-06-2007, 05:07 PM
no no, you can't make dalay with css rules. You must use javascript for that behaviour.