Giter Site home page Giter Site logo

hyperlinks inside .info div? about ihover HOT 4 OPEN

gudh avatar gudh commented on May 30, 2024
hyperlinks inside .info div?

from ihover.

Comments (4)

grafxflow avatar grafxflow commented on May 30, 2024

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.

from ihover.

alimalibaev avatar alimalibaev commented on May 30, 2024

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 .

from ihover.

grafxflow avatar grafxflow commented on May 30, 2024

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.

from ihover.

vitorf7 avatar vitorf7 commented on May 30, 2024

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

from ihover.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.