Revision: 23297
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at February 3, 2010 10:30 by kickjoel
Initial Code
var url = "http://affiliate.kickapps.com/service/isUserLoggedIn.kickAction?callback=?" function checkLogin(data) { if(data.isLoggedIn == "true") { // Hide Logged Out DIV document.getElementById('loggedOutMessage').style.display='none'; // Show Logged In DIV document.getElementById('loggedInMessage').style.display='block'; } else { // Show Logged Out DIV document.getElementById('loggedOutMessage').style.display='block'; // Hide Logged In DIV document.getElementById('loggedInMessage').style.display='none'; } } $.ajax({ dataType: 'jsonp', data: {as: ######}, jsonp: 'checkLogin', url: url, success: checkLogin });
Initial URL
Initial Description
Initial Title
Kickapps: Determine if User is logged in on external page
Initial Tags
login
Initial Language
JavaScript