Blogger - adding Content Locker script onClick
2014-06-24, 06:44 PM,
#1
Hi all,

I'm using Blogger to create my first site, and trying to start out with a simple Content Locker.

I have the post.
I have the script:
<script type="text/javascript" src="https://lockredirect.com/script_include.php?id=102358"></script>

But how on earth do I get this script to work with an imported image so I look prettier...

Look forward to your help.

Kind Regards, Charlie



Reply
2014-06-24, 06:49 PM,
#2
I also want to know that,but I'm working with blogger. It's about that : Onclick Note:
Load Method has been set to OnClick. This locker will load hidden by default and will appear ONLY after the function below has been called from within your page. onclick="call_locker();" ... so,where to put this onclick="call_locker();" ?
Reply
2014-06-24, 06:51 PM, (This post was last modified: 2014-06-24, 06:54 PM by Jaysamuel.)
#3
I believe you are missing the second code:
You would put that onClick tag into an image like so:
Code:
<img src="image.png" onClick="call_locker();" />
Reply
2014-06-24, 06:55 PM,
#4
(2014-06-24, 06:51 PM)Jaysamuel Wrote: I believe you are missing the second code:
You would put that onClick tag into an image like so:
Code:
<img src="image.png" onClick="call_locker();" />

Do i place it in the <head> </head> on the mainpage or on the post HTML page in Blogger?

Sorry for such basic questions; I am new to Blogger

Thanks for the help, Charlie



Reply
2014-06-24, 06:57 PM,
#5
The top code (or the one you provided in your OP) goes in the head tags which can be found in your template code.
The onClick tag goes into your post HTML. It can attach to text (to make a link) or an image.
Reply
2014-06-24, 11:40 PM,
#6
(2014-06-24, 06:57 PM)Jaysamuel Wrote: The top code (or the one you provided in your OP) goes in the head tags which can be found in your template code.
The onClick tag goes into your post HTML. It can attach to text (to make a link) or an image.

Hi Jaysamuel,

I have added the:
<script type="text/javascript" src="https://lockredirect.com/script_include.php?id=102358"></script>

just before the </head> tag on the HTML Template in Blooger.


Where do I need to add the onclick="call_locker();"

If I am adding it into an attached image.

Thank you for the support.

Regards, Charlie



Reply
2014-06-24, 11:42 PM,
#7
(2014-06-24, 11:40 PM)FlackUK Wrote:
(2014-06-24, 06:57 PM)Jaysamuel Wrote: The top code (or the one you provided in your OP) goes in the head tags which can be found in your template code.
The onClick tag goes into your post HTML. It can attach to text (to make a link) or an image.

Hi Jaysamuel,

I have added the:
<script type="text/javascript" src="https://lockredirect.com/script_include.php?id=102358"></script>

just before the </head> tag on the HTML Template in Blooger.


Where do I need to add the onclick="call_locker();"

If I am adding it into an attached image.

Thank you for the support.

Regards, Charlie

yes you are doing it right. Make a custom button then use the onclick="call_locker();"
Reply
2014-06-24, 11:44 PM,
#8
<img src="image.png" onClick="call_locker();" />
Reply
2014-06-24, 11:47 PM,
#9
<img src="imageurl" onClick="call_locker();" />
Reply
2014-06-25, 12:07 AM,
#10
All,

Thank you for helping me out on this!

I have managed to get it working, but it has landed me with a further 2 issues..

1. The size of the content blocker doesn't show properly upon my page when clicked...

I know I cannot post links or images, so here is my attempt so you can see the issue and help me out (remove if this is not appropriate - only trying to get some help on this issue)

(https://) lh3.googleusercontent.com/-d5xDtOZ4RD0/U6m2bG1moNI/AAAAAAAAAZs/_gagdxg9IVo/w627-h315-no/Unlock+Issue+1.PNG

2. When hovering over the image, I'd like it to display the hand pointer for the mouse cursor. Is there a way of doing this?

Thank you for the support.

Regards, Charlie



Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Cpagrip locker template M!st3r XX 30 6,090 2017-10-27, 03:35 AM
Last Post: Anhdinh12
  Membership Script with Paypal Integration nestx32 2 385 2017-10-12, 03:54 PM
Last Post: npm
  Cpagrip locker template - Part 4 - Clash of Clans M!st3r XX 84 19,495 2017-09-25, 05:44 AM
Last Post: potter1594
  ▉ ▊AWESOME CONTENT WRITER NEEDED ▉ ▊ - Reviewer, Guider, Idolistic Figure, News Mania WealthyHustler 2 314 2017-08-08, 08:08 PM
Last Post: WealthyHustler
  How to make step content in website 5light 0 188 2017-07-24, 11:04 AM
Last Post: 5light





About Us | Contact Us | CPA Elites | Advertise | Stats | Staff Team

© 2013-2017 CPA Elites Ltd
Enhanced by MyBB and WallBB
Return to top