Fbook like, Tweet and Google code

Discussion in 'Programming' started by stevenhartley, Sep 1, 2011.

  1. #1
    Hi,

    I am hoping this can be classed as the right forum but as you can see above on this site there is 3 options to the left underneath the header.

    Tweet | +1 | Like

    Does anyone know the relevant codes, I have a site that needs that on each page I made.

    Any help would be great.

    Thanks,
    Steve
     
    Solved! View solution.
    stevenhartley, Sep 1, 2011 IP
  2. amdadhbd

    amdadhbd Greenhorn

    Messages:
    84
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #2
    If you need Code by this structure I can develop it in reasonable rate. Let me know if you are interested.

    Thanks

    Amdad
     
    amdadhbd, Sep 2, 2011 IP
  3. #3
    Hello Steve,

    Following is the code I use for my website

    [B]Facebook:[/B]
    <a rel="nofollow" name="fb_share"></a> <script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
    
    [B]Google +:[/B]
    <script type="text/javascript" src="http://apis.google.com/js/plusone.js"></script><g:plusone size="medium"></g:plusone>
    
    [B]Twitter:[/B]
    <a rel="nofollow" href="http://twitter.com/share" class="twitter-share-button" data-count="none">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
    Code (markup):
    Also you can find the code easily on respective website or just by google search.. good luck
     
    milindmk, Sep 2, 2011 IP
    stevenhartley likes this.
  4. stevenhartley

    stevenhartley Active Member

    Messages:
    977
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    80
    #4
    Thank you very much I will try it later! :)

     
    stevenhartley, Sep 6, 2011 IP
  5. stevenhartley

    stevenhartley Active Member

    Messages:
    977
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    80
    #5
    Hey,

    I've just tried it now, does yours come with an alignment issue?

    Heres an example page:
    http://www.sportingprofiles.com/sporting_profile.php?fullname=Michael Jordan&id=37

     
    stevenhartley, Sep 7, 2011 IP
  6. developerpanda

    developerpanda Peon

    Messages:
    104
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #6
    He has provided correct codes.

    The alignment issue is there because the Google+1 widget comes with display:inline-block, and the Facebook button is an inline <a> tag.

    Now if you added float:left; to all three of them I can see those aligning perfectly :)
     
    developerpanda, Sep 7, 2011 IP
  7. stevenhartley

    stevenhartley Active Member

    Messages:
    977
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    80
    #7
    Thanks very much for your help so far. :)

    Theres still a slight error with the positioning with them though.

     
    stevenhartley, Sep 7, 2011 IP