*/
Util.prototype.jsonVersAction = function(json)
{
- // FIXME : ne plus encapsuler json dans de l'xml (problème avec yaws)
- return {action: "<json>" + JSON.stringify(json) + "</json>" }
+ return {action : JSON.stringify(json) }
}
\r
Util.prototype.md5 = function(chaine)\r
///////////////////////////////////////////////////////////////////////////////////////////////////
+function initialiserListeStyles(client)
+{
+ jQuery("#menuCss").change(
+ function()
+ {
+ client.setCss("css/" + jQuery("option:selected", this).attr("value") + "/euphorik.css")
+ }
+ )
+}
+
jQuery.noConflict()
// charge dynamiquement le script de debug
// connexion vers le serveur (utilise un cookie qui traine)\r
client.connexionCookie()
- // les styles css
- for (var i = 1; i <= 3; i++)
- {
- jQuery("#css"+i).click(function(){
- client.setCss("css/" + jQuery(this).attr("id").charAt(3) + "/euphorik.css")
- })
- }
+ initialiserListeStyles(client)
// TODO : pourquoi jQuery(document).unload ne fonctionne pas ?
jQuery(window).unload(