Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Css link miss fire

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #251273
    Codi
    Participant

    I have some quick links and for some reason it miss fires the link will not go to section when clicked.

    http://codepen.io/codiman/pen/YNOoPM

    #251275
    Shikkediel
    Participant

    The links are actually to the left of the buttons but unresponsive because of pointer-events: none on .quick-links ul li a.

    #251278
    Codi
    Participant

    hmmm i dont want the text to be links but the circle

    #251279
    Shikkediel
    Participant

    I don’t see a quick fix for that, just a major rewrite because the whole CSS is based on the text being the link…

    #251298
    Codi
    Participant

    after some digging

    $(“li”).click(function(){
    window.location=$(this).find(“a”).attr(“href”);
    return false;
    });

    #251302
    Shikkediel
    Participant

    Had I known it wasn’t purely a CSS question…

    You don’t have to use return false there by the way, there’s no default action to prevent when clicking a li.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘CSS’ is closed to new topics and replies.