The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Issue with .children and CSS

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #195287

    Hi there! I’m developing something, and I can’t make this code works:

    /* The image is illustrative */

    But, if I erase “.children(this)” from my JS, all the “a” makes the effect who I only want in the selected/mouseover “a”.

    I hope this gonna be understandable.


    It’s not clear what you are exactly trying to do but what you need to do (at least as I understand it) is..

    Find the child of .resaltado that has a class of titulo-trabajo and apply a color to the child…(there is only one).

    Frankly, I’d be add/changing classes rather than directly affecting CSS but I think this is it.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.