Hello Jay, how are you?
I used mouseover it.
I made a div on top of that it is transparent (.modalabandon). This is the div that defines the area in which when the mouse passes by it I run a trigger that will open the modal is also hidden on the page.
This trigger will make the click function to open the modal (.modalcart)
obs.: modal link only in the html code, not showing
- <a href="#abandon" name="modal" class="modalcart"></a>
Below the code as it became:
- jQuery('.modalabandon').one('mouseover',function()
- {
- jQuery('.modalcart').trigger('click');
- }
- );