JanisKoks Posted June 9, 2011 Report Share Posted June 9, 2011 Kā lai uztaisa tā, lai var likt vairākas grupas no css šitam skriptam? Man sanāk tikai vienai grupai, bet kad pielieku $("GRUPA a", "GRUPA2 a") nekas vairs vispār nestrādā. $(document).ready(function(){ $("GRUPA a").css({"opacity" : 0}).hover(function(){ $(this).stop().animate({"opacity" : 1}, 300); //Change fade-in speed }, function(){ $(this).stop().animate({"opacity" : 0}, 200);//Change fade-out speed }); }); Quote Link to comment Share on other sites More sharing options...
0 Rincewind Posted June 9, 2011 Report Share Posted June 9, 2011 $("GRUPA a, GRUPA2 a") Quote Link to comment Share on other sites More sharing options...
0 JanisKoks Posted June 9, 2011 Author Report Share Posted June 9, 2011 Paldies! Quote Link to comment Share on other sites More sharing options...
Question
JanisKoks
Kā lai uztaisa tā, lai var likt vairākas grupas no css šitam skriptam?
Man sanāk tikai vienai grupai, bet kad pielieku $("GRUPA a", "GRUPA2 a") nekas vairs vispār nestrādā.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.