Jump to content
php.lv forumi
  • 0

visi elementi iekšs noteikta elementa


anonīms

Question

	$('.page-effective-website-development .pane-content table tr td').hover(function() {
 	$('#calc_baloon').show();
 	mouseover = true;

});

 

pašlaik ir šādi, bet reāli tiekot uz td iekšējā div,img vai cita elementa vairs neuzskata, ka tas ir hover.

Kā panākt, lai turpinātu uzskatīt nerakstot tagad katru elementu aiz komata.

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

Tātad

$('.page-effective-website-development .pane-content table tr td').mouseout(function() {
 	$('#calc_baloon').hide();
 	mouseover = false;
});


$('.page-effective-website-development .pane-content table tr').hover(function(){
 	$('#calc_baloon').show();
 	mouseover = true;
});

 

un html izskatās tā, aj vnk te: http://jsfiddle.net/RBTt9/2/

 

Kāpēc tik gļukaini strādā?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...