/* * ----------------------------------------------------------------- * Copyright (c) 2009 Fluid, Inc. All Right Reserved. * This software is the proprietary information of Fluid, Inc. * Use is subject to strict licensing terms. * ----------------------------------------------------------------- * * CVS Information: * $Id: fluid.facebook-pdp.js.php,v 1.46 2009/10/27 18:02:41 fluiddev Exp $ * $Author: fluiddev $ * $Date: 2009/10/27 18:02:41 $ */ var FluidSocialPDP = function () {}; FluidSocialPDP.userInitiatedLogin = false; FluidSocialPDP.prototype = { // Configuration parameters: divId: "fluid-social-facebook", favoritesDivId: null, productId: null, productName: null, thumbnailUrl: null, pdpUrl: null, mainImageUrl: null, visibleTab: null, alreadyLoggedIn: false, sendInviteDialog: null, statusDialog: null, facebookUserId: null, isPageLoaded: false, singleProductMode: false, standaloneFavoritesOnly: false, favoritesScrollerSize: 2, standaloneFavoritesScrollerSize: 2, init: function() { this.isPageLoaded = false; var fluidSocial = this; // Create a hidden iframe so we can do xd calls to the Fluid Social server. var iframeUrl = "http://facebook.ghirardelli.com/ghirardelli/connect/connect_api.php"; var iframeHtml = '
\n';
html += '
\n';
html += ' | Click the 'Connect with Facebook' button to add the Application. Once added, you can share as many products as you'd like! | \n';
html += ' Without leaving this site, you can view the ratings and comments from your friends on your products (as long as you are logged into Facebook). You can even see the products your friends added to their own lists! | \n';
html += ' To get the full benefit of our Social Shopping feature, don't forget to Invite Your Friends to rate, comment and create their own list of favorites after you add your application! | \n'; html += '
\n';
html += ' Your feedback is important to us, so let us know what you think about the Facebook integration features on the Ghirardelli product detail page!
\n'; html += 'You can also report any problems or bugs you find here.
\n'; html += ' \n'; html += '
\n';
html += '