How do you initiate a hover pointer and a click function to another web page on a div with jquery?
So, my div class is .ei-title:
$('.ei-title').click(function() {
/* load the page 'http://google.com' in the same window */
});
Also, when you hover over the div element, it should show a pointer
Thank you!
I think you want the
divto behave like an<a href>. If so, here’s how:CSS for the cursor:
JavaScript: