jbenes
jbenes

Reputation: 71

Why won't my link open in a new tab?

I create websites all the time, but this time I am stumped. I cannot seem to get a link to open in a new tab. Here is the specific line of code I am trying to troubleshoot:

<aside id="bnk_widget_donation-2" class="bnk-widget bnk_widget_donation">
    <div class="bnk-donation clickable">
        <span class="donation-icon mobile-hide">&nbsp;</span>
        <h3 class="replace inset">
            <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=WQZ2PBSENFF2C" target="_blank">
                Donate Now
            </a>
        </h3>
        <p class="subhead">
            support our mission
        </p>
    </div>
</aside>

The line number when looking at the source is line 197. The page is available here. The problem is the Donate link to PayPal that does not open in a new tab.

Any thoughts?

Upvotes: 0

Views: 285

Answers (1)

dyagmin
dyagmin

Reputation: 304

Javascript is happening when you click on it. The HTML includes a javascript file "http://www.3e.oneofakind.ws/wp-content/themes/bhinneka/js/p2-init.js?ver=3.6" which has a click event $(".clickable, .landing-mod").

Upvotes: 2

Related Questions