Hi,
In my MVC application I have a view with the following DOM:
<div class="item">
Item Name
</div>
These “item divs” are generated via a foreach loop inside the view. My goal is show another "div" on mouse move event, which will offer the user some options (like, share, delete.. etc.). I don't have a specific design in mind for the “options div”. But my question is what the best to achieve this is? Should I be creating the “options div” right next to the “item div” through in the foreach loop and set the visibility in the css on mouse move? I tried that, and it really did hurt the performance.
PS: I have around 2000 “Item divs”.
Thanks!