Post: Facebook Like Button
03-24-2012, 09:27 PM #1
Default Avatar
Brad
Guest
(adsbygoogle = window.adsbygoogle || []).push({}); This is a facebook Like button that i have edited so it will automatically know the page that you are on so you will not have to change anything at all!

I know i haven't changed much but this is very useful!

    
<html>
<body>

<!--facebook like source-->
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'Winky Winky);</script>

<!--facebook like button-->
<div class="fb-like" data-href="<?php echo "https://{$_SERVER['SERVER_NAME']}{$_SERVER['REQUEST_URI']}" ?>" data-send="false" data-width="45" data-show-faces="true" data-font="arial"></div>

</body>
</html>


i don't know if this is the correct section for this? :confused:
(adsbygoogle = window.adsbygoogle || []).push({});

The following user thanked Brad for this useful post:

NSixtyFourFAILS
03-29-2012, 10:03 PM #11
Originally posted by Epic
Wrong again. They started off with PHP. They still use PHP, which is compiled to C++ using HipHop for PHP.

It's possible they wrote some Perl scripts, however they do not use Perl, nor did they start with Perl.


CBA arguing lol, from the movie of facebook thats all i acknowledged.
I already know, HTML,PHP,CSS,JScript,XML,asp. :p. I wanna get more into programming languages, As I am learning C# and VB.NET.
04-04-2012, 02:34 PM #12
The Solo Guy
Save Point
Originally posted by Sublimity View Post
Right section. Smile

----
Bah, I want to get further in HTML/CSS/JS. Happy


I know HTML if you need any help... Smile
04-04-2012, 10:30 PM #13
Pichu
RIP PICHU.
Originally posted by The
I know HTML if you need any help... Smile


Learning it myself slowly. I actually have some others who are really good in the area that I can go to. Thank you though. Smile
04-05-2012, 03:55 AM #14
The Solo Guy
Save Point
Originally posted by Sublimity View Post
Learning it myself slowly. I actually have some others who are really good in the area that I can go to. Thank you though. Smile


Oh cool, well if they aren't available you can hmu. Smile I know it pretty damn well actually. I've been learning if for awhile. Winky Winky
04-05-2012, 04:25 AM #15
AJ
iiAJ28 - vAJ28v
So this can make you press "Like"
04-05-2012, 04:46 AM #16
Pichu
RIP PICHU.
Originally posted by The
Oh cool, well if they aren't available you can hmu. Smile I know it pretty damn well actually. I've been learning if for awhile. Winky Winky


Alright, cool. Well, I'll keep yea in mind just in case. Smile

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo