Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hyperlinks inside .info div? #6

Open
Theowdfb opened this issue Apr 12, 2014 · 4 comments
Open

hyperlinks inside .info div? #6

Theowdfb opened this issue Apr 12, 2014 · 4 comments

Comments

@Theowdfb
Copy link

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.

@grafxflow
Copy link

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.

@alimalibaev
Copy link

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 .

@grafxflow
Copy link

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.

@vitorf7
Copy link

vitorf7 commented May 23, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants