Results 1 to 2 of 2

Thread: Add facebook and twitter share to google plus lock content

  1. #1
    Join Date
    Nov 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Add facebook and twitter share to google plus lock content

    I have found a script for content locking website content and the possibility to unlock it after google plus click.

    the code works great but i was just wondering how could i add facebook and twitter share

    here's the code:

    <link href='http://www.seomarketingforums.com/google-traffic-pop.css' rel='stylesheet' type='text/css'/>
    <script src='https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js'></script>
    <script src='https://apis.google.com/js/plusone.js' type='text/javascript'></script>
    <script src='http://www.seomarketingforums.com/gtp.min.js' type='text/javascript'></script>
    <script language='javascript'>

    jQuery(document).ready(function() {

    jQuery().googleTrafficPop({
    'timeout': 30,
    'title': "Title",
    'message': "Enter your message here",
    'url': "http://yoursite.net",
    'wait': 0,
    'opacity': 45,
    'advancedClose':false,
    'closeable': false
    });

    });

    </script>
    <script src='http://apis.google.com/js/plusone.js' type='text/javascript'></script>
    <link type='text/css' rel='stylesheet' href='http://www.blogger.com/static/v1/widgets/334858902-widget_css_2_lightbox_bundle.css' />

    i am a novice with javascripts and besides customizing the codes everything else is pretty much over my head.

    i'd really appreciate some help

    thanks

  2. #2
    Join Date
    Nov 2011
    Location
    Seattle, WA & Big Island, HI
    Posts
    5
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    You need to take a look at the corresponding event handlers.

    in FB it is Edge.Create. Don't recall what it is off-hand for Twitter

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •