This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$j(document).ready(function(){ | |
$j.ajax({ | |
url : "/main/homearea/quester_info_xml.pl", | |
type : "GET", | |
dataType : "xml", | |
success : function(doc) { | |
var user_id = doc.getElementsByTagName("user_id").item(0).firstChild.nodeValue; | |
$j.ajax({ | |
url : "/main/projectSupport/designer/avatarObjects/avatarSelect.pl", | |
type : "POST", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>Sample Rich Text Editor</h1> | |
<div id="sample_textarea"></div> | |
<script language="javascript" type="text/javascript" src="/tinymce/jscripts/tiny_mce/tiny_mce.js"></script> | |
<script type="text/javascript"> | |
//-- <![CDATA[ | |
tinyMCE.init({ | |
theme : "advanced", | |
dialog_type : "modal", | |
plugins : "inlinepopups,fullscreen, spellchecker, paste, directionality", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript" language="javascript"> | |
//--<![CDATA[ | |
$j(document).ready( function(){ | |
$j("#close").remove(); | |
$j("body").css({"color":"white"}); | |
$j("h2").css({"color":"white"}); | |
$j("ul.responses li").css({"list-style-image":"none", "list-style-type": "disc", "color" : "white"}); | |
$j("ul.responses li").find("a").each(function(i,elm){ | |
var $elm = $j(elm); | |
var $li = $elm.closest("li"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
//--<![CDATA[ | |
$j(document).ready(function(){ | |
$j("#close").remove(); | |
$j("body").css({"color":"white"}); | |
$j("h2").css({"color":"white"}); | |
$j("ul.responses li").css({"list-style-image":"none", "list-style-type": "disc", "color" : "white"}); | |
$j("ul.responses li").find("a").each(function(i,elm){ | |
var $elm = $j(elm); | |
var $li = $elm.closest("li"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$j(document).ready(function(){ | |
if (window.location.href.match(/avatarSelect/)) { | |
var $submit_button = $j("<input type='submit' value='Update My Avatar'/>"); | |
$j("input[name=btnSubmit]:first").replaceWith($submit_button); | |
$j("form").bind("submit",function(){ return false; }); | |
$submit_button.bind("click", function(){ | |
var $form = $j(this).closest("form"); | |
$form.find("input[name=cmd]").val("avatarUpdate"); | |
$j.ajax({ | |
url : $form.attr("action"), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
//--<![CDATA[ | |
$j(document).ready(function(){ | |
var citizen_id = CookieManager.read("QaAuth_QaCookie").replace(/_\d+/,""); | |
var qpack_object_id = 7328; | |
$j.ajax({ | |
url : "/fq/qpack_objects/distribute", | |
type : "POST", | |
dataType : "script", | |
data : "citizen_id="+citizen_id+"&qpack_object_id="+qpack_object_id |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
//--<![CDATA[ | |
$j(document).ready(function(){ | |
var citizen_id = CookieManager.read("QaAuth_QaCookie").replace(/_\d+/,""); | |
var qpack_object_id = 7328; | |
var whom = "parent"; | |
$j.ajax({ | |
url : "/fq/qpack_objects/give", | |
type : "POST", | |
dataType : "script", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
//--<![CDATA[ | |
$j(document).ready(function(){ | |
var citizen_id = CookieManager.read("QaAuth_QaCookie").replace(/_\d+/,""); | |
$j.ajax({ | |
url : "/qaws/set_language_version/"+citizen_id, | |
type : "POST", | |
dataType : "script", | |
data : "language_version_id=2" | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$j(document).ready(function(){ | |
if (window.location.href.match(/avatarSelect/)) { | |
var greeting = $j("<p><a href='http://questatlantis.org'>Apapane, I like how I look. What next?</p></a>"); | |
$j("input[name=btnSubmit]:first").parent().append(greeting); | |
} | |
}); | |