Bug Tracker

Modify

Ticket #4988 (closed bug: invalid)

Opened 4 years ago

Last modified 3 years ago

hover with fadein fadeout

Reported by: froemken Owned by:
Priority: major Milestone: 1.3.2
Component: unfiled Version: 1.3.2
Keywords: fadein hover Cc:
Blocking: Blocked by:

Description

I'm just learning since yesterday...but I think this is a bug. First: Here is my little code: <html> <head> <script type="text/javascript" src="jquery/js/jquery-1.3.2.min.js"></script>

<script type="text/javascript"> $(document).ready(function () {

$('#text1').hover(

function() {

$(this).css('background-color', '#FF0000');

}, function() {

$(this).css('background-color', 'transparent');

}

); $('#text2').hover(

function() {

$(this).fadeOut(1000);

}, function() {

$(this).fadeIn(1000);

}

);

});

</script>

</head> <body> <p id="text1">Ich bin der erste Text</p> <p id="text2">Ich bin der zweite Text</p> </body> </html>

First paragraph workst perfectly. When I stay over it, it gets a red background.

Second paragraph. When I stay with my mouse over it, it toggels the fading all the time. I can't understand this...there is no fadein in mouseout.

Change History

comment:1 Changed 3 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

Not a bug report ... please ask for help on the forum.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.