Music:
Member Since: 9/13/2007
Influences: .. type="text/javascript"
function ifpc_widget_resize([iframe]Id, verticalHeight) {
if(verticalHeight 0 && "canvas" === ifpc_current_surface){
var a=document·body.scrollHeight;//scrolled content
var b=document·documentElement.clientHeight;//no scroll
var c=document·documentElement.scrollHeight;//ie7 friendly
a = ((ac)?a:c);
//291 is height of header + nav link + app title + footer
//291 shows a scroll bar in IE, 295 doesn't
//TODO:this won't work if the user has text magnified or if another language breaks text onto two lines
verticalHeight = Math.floor((((ab)?a:b) - 295) * verticalHeight);
}
else if (verticalHeight max_widget_height) verticalHeight = max_widget_height;
}
var [iframe] = document·getElementById([iframe]Id);
[iframe].style.height = verticalHeight;
[iframe].height = verticalHeight;
}
_IFPC.registerService('resizeWidget', ifpc_widget_resize);
var ifpc_current_surface = "";
var ifpc_canvas_urltemplate = "http://profile.myspace.com/Modules/Applications/Pages/Canva
s.aspx?appId={0}&friendId={1}&appParams={2}";
var ifpc_profile_urltemplate = "http://profile.myspace.com/index.cfm?fuseaction=user.viewpr
ofile&appId={0}&friendId={1}&appParams={2}";
var ifpc_home_urltemplate = "http://home.myspace.com/index.cfm?fuseaction=user&appId
={0}&friendId={1}&appParams={2}";
var ifpc_supported_postto_targets = ['COMMENTS','BLOG','BULLETINS','PROFILE','SEND_MESSAGE'];
var ifpc_locale = {country: "US", lang: "en"};
var ifpc_ownerid = 77103246;
function ifpc_widget_requestNavigateTo(appId, ownerId, surface, params, sourcePanel) {
ifpc_widget_requestNavigateToEx(appId, ownerId, surface, params, sourcePanel, false)
}
function ifpc_widget_requestNavigateToEx(appId, ownerId, surface, params, sourcePanel, isNewInstall) {
//encode params accordingly
var encodedParams = encodeURIComponent(gadgets.JSON.stringify(params));var target = null;
//navigate to the url
switch(surface) {
case "canvas":
target = ifpc_canvas_urltemplate;
break;
case "profile":
target = ifpc_profile_urltemplate;
break;
case "home":
target = ifpc_home_urltemplate;
break;
}
if(target != null) {
target = target.replace("{0}", appId);
target = target.replace("{1}", ifpc_ownerid);
target = target.replace("{2}", encodedParams);
if(isNewInstall) {
target += "&newinstall=1";
}
top.location = target;
}
}
_IFPC.registerService('requestNavigateTo', ifpc_widget_requestNavigateTo);
function ifpc_widget_requestPermission(appId, permissions, reason, opt_callback) {
if(permissions instanceof Array && permissions.length 0) {
MySpace.UI.AppsPopup.ajaxPermissionsEx(appId, reason, "", MySpaceRes.AppManagement.RequestPermissionHeader,
function(status, p) {
if(p){
p.add_button(MySpaceRes.AppManagement.RequestPermissionUpdat
e); //adds the update button
p.add_button(MySpaceRes.AppManagement.RequestPermissionCance
l, true).isCancel = true;
p.show(
function(sender, args) {
if(args.target.isCancel) {
if(typeof opt_callback === "function") {
opt_callback(null);
}
return;
}
var selectedPermissions = MySpace.UI.AppsPopup.getSelectedPermissions(sender);
var unselectedPermissions = MySpace.UI.AppsPopup.getUnselectedPermissions(sender);
var permissionState = {};
for(var i=0; i.. -- Footer:Profiles Start --
.. -- up2 --
.. type=text/javascript
MySpaceRes.Header = {"Cancel":"Cancel / Cancelación","Continue":"Continue / Continuar"};
....
function popLanguageOverlay(culture, url)
{
MySpace.UI.Header.languageLinkClick(culture, url, 1);
}function ChangeLinkTextAndUrl (linkId, linkText, linkUrl, debugAlerts)
{
var targetLink=document·getElementById(linkId);
if (targetLink != "undefined" && targetLink != null )
{
targetLink..linkUrl;
targetLink...=linkText;
}
if (debugAlerts == true) alert(linkId + " URL: " + linkId + "..n" + linkId + " Link: " + targetLink.href+ "..n" + linkId + " Text: " + targetLink...);
}if (MySpace.ClientContext.IsLoggedIn==true)
{
//set SignUpOrOut link to SignOut if users is logged in
ChangeLinkTextAndUrl("aSignUpOrOut", "SignOut", "http://collect.myspace.com/index.cfm?..", false);
}
else
{
//change blog link to go to main blog page if user is not logged in
ChangeLinkTextAndUrl("headerbloglink", "Blogs", "http://blog.myspace.com/", false);
}
.... type="text/javascript"var displayAbuseReportLink = true;..
About | FAQ | Terms | Privacy Policy | Safety Tips | Contact MySpace |
.. type=text/javascript
if(displayAbuseReportLink == true)
{
document·write(" Report Abuse | ");
}
..
Advertise | MySpace International | MySpace Latino :
.. type="text/javascript"
function hideLatinoForGames(){
var sUrl = document·URL;
if(sUrl.indexOf('fuseaction=games')-1){
var msLatino = document·getElementById('msLatino');
if(msLatino!=null)msLatino.style.display='none';
}
}
hideLatinoForGames();
..
.. type=text/javascript
var intlProfileVisibleStr = "False";
intlProfileVisibleStr = intlProfileVisibleStr.toLowerCase();if(intlProfileVisibleStr
== "true")
{
document·write("| MySpace USA ");
}
..
..
function popLanguageOverlay(culture, url)
{
MySpace.UI.Header.languageLinkClick(culture, url, 1);
}
..
©2003-2008 MySpace.com. All Rights Reserved...
.. src="http://x.myspace.com/js/urchin001.js" type="text/javascript"..
.. type="text/javascript"
_uacct="UA-812293-1";
_udn="myspace.com";
urchinTracker("/en-US/UserViewProfile");.... -- Footer:Profiles End --
.. type="text/javascript"
window.setTimeout(changeTitle, 20);
function changeTitle()
{
document·title = "MySpace.com - www.myspace.com/77103246";
}
..
.. type="text/javascript" src="http://x.myspacecdn.com/modules/profiledisplay/static/j
s/profilechrome003.js"..
.. type="text/javascript" src="http://x.myspacecdn.com/modules/common/static/js/apps/a
ppsdisplay001.js"..
.. type="text/javascript" src="http://x.myspacecdn.com/modules/common/static/js/global
017.js"..
.. type="text/javascript"Type.registerNamespace("MySpace.Utils.
Media");
MySpace.Utils.Media.loadStaticContent = function(){
// Images
var a_imgs = document·getElementsByTagName("img");
for(var i = 0 ; i
Type of Label: None