ihover icon indicating copy to clipboard operation
ihover copied to clipboard

hyperlinks inside .info div?

Open Theowdfb opened this issue 10 years ago • 4 comments

In the codrops article hyperlinks are used inside paragraphs (and inside the div with .ch-info). Is it possible to do this with ihover? Simply inserting a hyperlink inside the div + paragraph with ihover isn't possible because that would put a hyperlink within a hyperlink. Tried re-locating the existing hyperlink (that contains the image and the div with .info) into the div with .info but that seriously messes up the effect.

Theowdfb avatar Apr 12 '14 09:04 Theowdfb

I would also like to know this… Do I have to create a jQuery hyperlink related to a div tag instead?

<p id="Portfolio">Read More...</p>
<script>
$("#Portfolio").click(function(){
window.location = "http://www.your-url.com"; 
return false;
});
</script>

This works for browsers but is very hit and miss for mobiles.

grafxflow avatar Jun 26 '14 21:06 grafxflow

Thu, 26 Jun 2014 14:46:56 -0700 от grafxflow [email protected]:

I would also like to know this… Do I have to create a jQuery hyperlink related to a div tag instead? — Reply to this email directly or view it on GitHub .

alimalibaev avatar Jun 28 '14 06:06 alimalibaev

Sadly it doesn't solve the problem with regards to mobile devices which don't have the rollover state. At the moment adding the jQuery gets around the problem with normal desktop browsers.

grafxflow avatar Jun 28 '14 09:06 grafxflow

I have solved this by simply copying all the styles for the effect that I wanted to use and then remove all the a:hover and instead do the .ih-item:hover and then any nested a tags inside were working

vitorf7 avatar May 23 '16 14:05 vitorf7