1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Mouseover Hover Effect/Event for each div among multiple divs with same class

Discussion in 'jQuery' started by jesi, Aug 21, 2017.

  1. #1
    Hi,
    I am using php while loop to show comments on a page.
    and i have some css class for comment div.
    So every comment has the same css class

    Now the issue is, I am using a mouseover effect to show the dropdown options arrow to report or favorite a comment.

    but the mouseover effect is being shown only on the 1st comment even i am hovering the mouse on 2nd, 3rd or any other comment. arrow appears only on 1st comment
    SEMrush
    I need a jquery help. i can post the pictures and html code as well if you ask me to do so
     

    Attached Files:

    • 3.png
      3.png
      File size:
      67.8 KB
      Views:
      134
    jesi, Aug 21, 2017 IP
    SEMrush
  2. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,630
    Likes Received:
    724
    Best Answers:
    152
    Trophy Points:
    470
    #2
    You need to post the code, preferably a working demo at jsfiddle or something similar. What I'm guessing is that you're using the classname or some sort of trigger to show / append the content, instead of using $(this) to be sure to enable it in the item you're hovering over, but without seeing the code, it's impossible to tell.
     
    PoPSiCLe, Aug 21, 2017 IP