1

How to show icon on those word where i hover.

Here is the fiddle , currently if i mouse over on child <li> then parent <ul> icon is also showing...

What i want is:

If i mouse-over on any row then only 1 & corresponding icon should show, it should not show parent icon.

Please see the fiddle to know more.

Please help! Is it possible to solve with Jquery?

It looks like:

enter image description here

I used this css

 #project-div-id ul li { list-style: circle ; margin-top: 2px; width: 175px; }
 #project-div-id ul li img {list-style: circle ;  display: none; }
 #project-div-id ul li:hover img { display: inline; float: right; } 
 .add_btn,.del_btn,.edit_btn{
 padding-left: 10px; }
user3482559
  • 265
  • 1
  • 3
  • 15
  • Oh -- i see, it's nested. Fiddling atm... – circusdei Apr 14 '14 at 20:42
  • anyway there is no way to select the parent with css only – Fiambre Apr 14 '14 at 20:45
  • @circusdei http://my.jetscreenshot.com/demo/20140414-irjs-39kb.jpg – user3482559 Apr 14 '14 at 20:47
  • Not sure why it's been downvoted... – Chris Brown Apr 14 '14 at 20:47
  • @HaSuKrOnOs & then how to solve it with jquery ? – user3482559 Apr 14 '14 at 20:47
  • Is this the intended result? http://fiddle.jshell.net/n2HbY/ – circusdei Apr 14 '14 at 20:47
  • @circusdei Yes, but only it is working fine with fiddle, when i copied your css to my application, it is again showing same issue >> http://my.jetscreenshot.com/demo/20140414-2xfj-10kb.jpg – user3482559 Apr 14 '14 at 20:52
  • The changes were in the html. checkout ul/li nesting: http://stackoverflow.com/questions/5899337/proper-way-to-make-html-nested-list – circusdei Apr 14 '14 at 20:52
  • CAN ANYONE TELL ME , WHY -VOTE? PLEASE WRITE COMMENT, SO THAT I CAN IMPROVE MY QUESTION... – user3482559 Apr 14 '14 at 20:54
  • It's not clear to me why you are nesting the
      's and not just using one single
        +
      • 's - is there a reason for that?
    – SaminOz Apr 14 '14 at 20:56
  • @SaminOz i have update a php code above, please see, it like tree structure, user can add project on each project until infinite.. – user3482559 Apr 14 '14 at 21:09