HELP! Aweber code not working?

1 replies
  • WEB DESIGN
  • |
Hey guys

Just wondering if you could help me out?

I was checking my squeeze page out and I found that when you fill in the top form and click the "Get instant access" button, it redirects to my exit page popup?

I find this happens in Firefox and Chrome but it worked fine in Internet Explorer.

So I don't suppose if you guys could have a quick look and see if any of you lot are having a similar problem?

Here's the linky: http://www.rapidcashsystem.net/Test1.html

Cheers

James Scholes
#aweber #code #working
  • Profile picture of the author stephaniek
    I think you just need a onClick function on the submit button telling it to not pop the exit pop when clicked.

    Here's an example I found:

    Code:
    <html>
     <head>
     <script type="text/javascript">
      var hook = true;
      window.onbeforeunload = function() {
        if (hook) {
          return "Did you save your stuff?"
        }
      }
      function unhook() {
        hook=false;
      }
    </script>
    </head>
    <body>
    <!-- this will ask for confirmation: -->
    < a href="ht-tp://google.com">external link</a>
    
    <!-- this will go without asking: -->
    < a href="test.html" onClick="unhook()">internal link, un-hooked</a>
    
    </body>
    </html>
    Signature

    Woman: How much do I owe you for the sketch?
    Picasso: 5000 francs.
    Woman: But it only took you 5 minutes!
    Picasso: No madam, it took me all my life.

    {{ DiscussionBoard.errors[4570389].message }}

Trending Topics