1

I have a Subscribe form that only opens through Javascript on a link in a page. It is located at https://pixelark.com/cscc (under 'or signup via email to receive our weekly bulletin. Click here').

The problem is that it requires an extra click for someone to see this subscribe form. First click to access the page and the second click to access the form.

Is it possilbe to set it up in the a link such that it will goes to the page and open the form automatically?

Thanks

BigRedDog
  • 928
  • 1
  • 7
  • 15

2 Answers2

0

Why don't you check for parameters in your URL and in your Document.ready event

something like https://pixelark.com/cscc?page=register or https://pixelark.com/cscc#register

 $(document).ready(function(){
        if ($('.slider img').length == 2) {
            var global_rotator = setInterval( "rotate()", 5000 );
    }

// insert code here to check location parameters
            });

here is an example on how to check location parameters

Community
  • 1
  • 1
gurvinder372
  • 66,980
  • 10
  • 72
  • 94
0

without using jQuery or something else, add a script tag:

<script>
(function() {
  window.onload = function() { show_signup_form('426'); })
})(window);
</script>
Jeff Meatball Yang
  • 37,839
  • 27
  • 91
  • 125
  • i assume you add a script tag on https://pixelark.com/cscc. The problem is that i hvae no control over this page :(. – BigRedDog Dec 08 '15 at 08:28