1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Script to Un-Hide Additional Content After Google +1 Button is Clicked?

Discussion in 'Programming' started by swoop, Jun 29, 2011.

  1. #1
    Google says that it is not permissible to offer a cash incentive for people to click on a +1 button, but that it is OK to offer extra content for clicking. I would like to know how to implement this, which (I assume) means a script in php or javascript.

    I guess the simplest thing would be to make a link visible after the +1 button is clicked, and the link would lead to a page with extra content. Or, a new window with the extra content might open.

    Has anyone here seen such a script?
     
    swoop, Jun 29, 2011 IP
  2. MarPlo

    MarPlo Member

    Messages:
    97
    Likes Received:
    2
    Best Answers:
    2
    Trophy Points:
    48
    #2
    Hy,
    Try to add an onclick event into <g:plusone></g:plusone>
    Like: <g:plusone onclick="javascript_function(); return true;></g:plusone>
     
    MarPlo, Jun 30, 2011 IP