Instead of call the parent you can call Only that DIV of which u want to
change the background color
$(document).ready(function(){
//action when the mouse is over :
$(#delete).mouseover(function(){ // I select the .delete
divs.
//now i want to
Hi, thank you for you answser.
Of course I could do that, expect that I'll have an undefined number
of container div. That's why I gave them classes and no id !
Thank you
On 22 avr, 13:17, Zeeshan Khan khan.zeesha...@gmail.com wrote:
Instead of call the parent you can call Only that DIV of
try this...
$(.delete).hover(function(){
$(this).parent().css('background-
color','red');
}, function() {
$(this).parent().css('background-
color','white');
});
On Apr 22, 6:25 am, gostbuster
class container contains the CSS code right?if u assign ID to all of your
parent div it'll be very helpful for u in this case also in many
other scenarios or you can create CSS design on the basis of IDs.
On Wed, Apr 22, 2009 at 4:25 PM, gostbuster jeremyescol...@gmail.comwrote:
Hi, thank you
Daniel's Suggestion is simple i think it might work for u.
On Wed, Apr 22, 2009 at 4:31 PM, Daniel dcosta...@gmail.com wrote:
try this...
$(.delete).hover(function(){
$(this).parent().css('background-
color','red');
}, function() {
Thank you very much! it works !
thanks a lot !
On 22 avr, 13:31, Daniel dcosta...@gmail.com wrote:
try this...
$(.delete).hover(function(){
$(this).parent().css('background-
color','red');
}, function() {
I'm very glad!
On Apr 22, 6:38 am, gostbuster jeremyescol...@gmail.com wrote:
Thank you very much! it works !
thanks a lot !
On 22 avr, 13:31, Daniel dcosta...@gmail.com wrote:
try this...
$(.delete).hover(function(){
thanks a lot again.
On 22 avr, 13:47, Daniel dcosta...@gmail.com wrote:
I'm very glad!
On Apr 22, 6:38 am, gostbuster jeremyescol...@gmail.com wrote:
Thank you very much! it works !
thanks a lot !
On 22 avr, 13:31, Daniel dcosta...@gmail.com wrote:
try this...
8 matches
Mail list logo