Idered / cssParentSelector

CSS4 parent selector based on jQuery
214 stars 38 forks source link

Problem with Selector. #11

Open AnghelGabriel opened 11 years ago

AnghelGabriel commented 11 years ago

Let's say i have this.

Css: li.active! h4:hover { do something }

If the active class is changed with javascript on another list item the effect still remains on first list item that was active. I tryed to use it o an accordion type list. And it didn;t work properly.

Regards. P.S nice plugin ;)

Idered commented 11 years ago

Hey, sorry for late response.

This might be hard to fix because I'd have to watch for all DOM elements changes and check in css if there's a rule for changed element.

I'll give it a try but tomorrow. If you have any ideas then I don't mind a brainstorm :)

Thanks

AnghelGabriel commented 11 years ago

Hy, I eventualy made a new html markup and solved my issue with css only. Best Regards.