Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- Trigger inside Jquery and different parts of content


toplisek - 6:42 am on Feb 2, 2012 (gmt 0)


So, it will work:
$(".panel1").toggle("slow");
$(".panel2").toggle("slow");
$(".panel3").toggle("slow");

and image:
<img src="wre" border="0" alt="" class="trigger" width="24" height="24" />
<img src="wre" border="0" alt="" class="" width="24" height="24" />
<img src="wre" border="0" alt="" class="" width="24" height="24" />

$(document).ready(function(){
$(".trigger").mouseover(function(){
$(".panel1").toggle("slow");
$(".panel2").toggle("slow");
$(".panel3").toggle("slow");
$(this).toggleClass("active");
return false;
});
});

How to set $(".trigger").mouseover(function(){ when you have many panels like 1,2,3...


Thread source:: http://www.webmasterworld.com/javascript/4412606.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com