Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Sep 2011
    Posts
    274
    Thanks
    49
    Thanked 1 Time in 1 Post

    what makes this hyperlink unclickable?

    I decided to turn a parallax HTML template into a Wordpress theme.

    On this page, the "Blog" navigation menu entry is unclickable.

    What makes it so?

    NB: The original template is here. It uses LI elements as clickable navigation entries, rather than A elements.
    Last edited by SRD75; 11-16-2013 at 07:59 AM.

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,917
    Thanks
    6
    Thanked 1,040 Times in 1,013 Posts
    It is (fortunately) clickable with JS disabled. So, I suspect there is a return false or preventDefault() in the JS that prevents the default event of links (i. e. going to the target location) from occurring.

  • Users who have thanked VIPStephan for this post:

    SRD75 (11-20-2013)

  • #3
    Regular Coder
    Join Date
    Sep 2011
    Posts
    274
    Thanks
    49
    Thanked 1 Time in 1 Post
    Perfect. Thanks Stephan. There was a preventDefault(), which I removed; now links are working.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •