Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author David Wells

    (@davidwells)

    Hey there are a ton of javascript errors being thrown on your page:

    from:

    https://www.mayehair.com/wp-content/plugins/woo-product-enquiry/captcha.js
    https://www.mayehair.com/wp-content/themes/blanco/js/script.js?ver=3.5.1

    error messages:

    Uncaught TypeError: Cannot set property 'value' of null captcha.js:9
    Uncaught TypeError: Cannot set property 'value' of null captcha.js:9
    Uncaught ReferenceError: menuTitle is not defined script.js?ver=3.5.1:55

    Can you turn off those plugins or fix those JS errors? That should solve your issue.

    Sorry you are having troubles =( it’s not our code causing them however.

    You could also fix this issue by busting out of the iframe with custom JS.

    Something like the below code (inserted into the page you are sending people to):

    <script type="text/javascript">
    	<!--
    		if (top.location!= self.location) {
    			top.location = self.location.href
    		}
    	//-->
    </script>

    Plugin Author David Wells

    (@davidwells)

    Also upon closer inspection. It would appear that your URL is broken. There is an extra space leading in your URL there. Not sure if that will fix your problem but it’s worth a shot.

    Notice the leading space in the href, remove that in the cta settings:

    <a id="cta-link" href=" https://www.mayehair.com/lp-afree-hair-extensions-samples/"><span class="button">Get Samples</span></a>

    Thread Starter krishnamurthyu

    (@krishnamurthyu)

    Hi David,
    Thanks for the quick reply. I tried removing space, but didn’t work. The work around you mentioned with Javascript. where shall i put that code?

    With thanks
    Krishna

    Plugin Author David Wells

    (@davidwells)

    you need to place that code in the footer of the destination page.

    Plugin Author David Wells

    (@davidwells)

    Sounds like a plugin/theme conflict.

    To test for a theme conflict:

    1. Activate default Twenty Ten, Eleven, Twelve, or Thirteen theme
    2. Check to see if the issue still occurs
    3. If the issue does not occur after having activated the default “Twenty” theme, your theme is causing a conflict with landing pages.

    To test for a plugin conflict:

    1. Deactivate ALL plugins
    2. Activate Landing Pages
    3. Check to see if the issue occurs

    If the issue does not occur, one (or more) of your plugins is causing a conflict with Landing Pages.

    To determine which plugin(s) is causing the conflict, follow these steps:

    1. Activate each plugin one by one
    2. Check to see if the issue occurs after each plugin is activated
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘CTA – Button Click Open in New Window is not working’ is closed to new replies.