• Resolved MK Lim

    (@mkmeow)


    Hi, I use shortcode – [glt language=”Chinese (Simplified)” label=”Chinese (Simplified)” image=”yes” text=”yes” image_size=”24″] at footer.

    When I clicked it, it will jump to top of browser page. How can I prevent it jump to top?

    Thank you.

    • This topic was modified 5 years, 11 months ago by MK Lim.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter MK Lim

    (@mkmeow)

    Sorry, my problem was solved by adding below JavaScript:

    <script>
    jQuery(‘a.nturl’).click(function(e) {
    e.preventDefault();
    });
    </script>

    Thank you! =)

    Plugin Author edo888

    (@edo888)

    Thanks for the information! 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘how to prevent href=”#” jump to top’ is closed to new replies.