Page History

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
linenumberstrue
<html>
<head>
<!-- Including the gigya.js script: -->
<script type="text/javascript" src="http://cdn.gigya.com/JSjs/gigya.js?apikey=INSERT-YOUR-APIKEY-HERE" ></script>

<script type="text/javascript">
var params = {
    enabledProviders:"facebook,google",  // Limiting the add-on to show only facebook and google buttons
    headerText: "My title",  // add a title
    height: 73,                // define size
    width: 147,                
    containerID: "loginDiv",  // The add-on will be embedded inside the application HTML
    // background color is set to gray:
    UIConfig: "<config><body><background background-color=\"#BFBFBF\"></background></body></config>" 
};
</script>

</head>
<body>
<div id="loginDiv"></div>

<script type="text/javascript">
   gigya.socialize.showAddConnectionsUI(params);
</script>

</body>
</html>

...