From e33b5d091f125b8b757f4fce6520324882f8010d Mon Sep 17 00:00:00 2001 From: Patrick Davison Date: Wed, 1 Aug 2012 12:03:17 -0700 Subject: Fix; Tutorial bandaid. Fix; Scoreboard alignment issue. Update; About page. --- js/scores.js | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) (limited to 'js') diff --git a/js/scores.js b/js/scores.js index 9985da1..60ca249 100644 --- a/js/scores.js +++ b/js/scores.js @@ -20,7 +20,7 @@ function scoresRequestPage(mapid, page) { //console.log("Requesting Page", mapid, page, ajax.inUse); // == Additionally, check for achievements. - ajax.requestFile = "do.php?checkachieve=true&r=reqScorePage&mapid="+mapid+"&reqPage="+page; + ajax.requestFile = "do.php?r=reqScorePage&mapid="+mapid+"&reqPage="+page; ajax.onCompletion = scoresRequestPageDone; // Specify function to be executed on response. //ajax.onLoading = ''; //ajax.onLoaded = ''; @@ -131,16 +131,16 @@ function scoresFormatPage(JO) { styleClass = 'border-top: 6px solid #777799;'; p = p+ ""; - p = p+ ""; + p = p+ ""; // !! Don't forget to make sure these images are cached; if (u.medal == 'gold') { - p = p+ ""; + p = p+ ""; } else if (u.medal == 'silver') { - p = p+ ""; - } - //p = p+ ""; - + p = p+ ""; + } else { + p = p+ ""; + } p = p+ i+ ""; p = p+ ""; p = p+ "
"; @@ -150,16 +150,6 @@ function scoresFormatPage(JO) { p = p+ ""; p = p+ ""+u.display+""; p = p+ ""; - - //Medals commented out 'till able to use them in a more friendly way. - // !! Don't forget to make sure these images are cached; - // if (u.medal == 'gold') { - // p = p+ ""+u.moves+""; - // } else if (u.medal == 'silver') { - // p = p+ ""+u.moves+""; - // } else { - // p = p+ ""+u.moves+""; - // } p = p+ ""+u.moves+""; p = p+ ""; -- cgit v1.2.3