If someone interesting how to load Leadbolt widget after clicking button, or link, the code is below: <script> function StartGateway(id) { var head= document.getElementsByTagName('head')[0]; var script= document.createElement('script'); script.type= 'text/javascript'; script.src= 'http://ad.leadbolt.net/show_cu.js?section_id='+id; head.appendChild(script); } </script> and in the body: <a onClick="javascript:StartGateway(686024070)">click here</a> ID is the number from link hxxp://ad.leadbolt.net/show_cu.js?section_id=xxxxxxxxx
I am having a hard time with the option of launching the unlocker from a button on my website. The script works as it is but as soon as I add the actual URL where people can download the file, the unlocker doesn’t come up, it just sends the surfer directly to the download page. Can you please tell me what I am doing wrong?
I tried this one <script> function StartGateway(12345) { var head= document.getElementsByTagName('head')[0]; var script= document.createElement('script'); script.type= 'text/javascript'; script.src= 'http://ad.leadbolt.net/show_cu.js?section_id=12345'; head.appendChild(script); } </script> and <input type=button onClick="javascript:StartGateway(12345);" value='Click Here'> But after clicking the button, survey is not coming up (I mean content unlocker) Anyone can help me on that point ? Waiting for reply. Thanks