[Erp5-report] r39818 nicolas.dumazet - in /experimental/bt5/erp5_jquery_jixedbar: SkinTempl...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Nov 3 06:34:36 CET 2010


Author: nicolas.dumazet
Date: Wed Nov  3 06:34:36 2010
New Revision: 39818

URL: http://svn.erp5.org?rev=39818&view=rev
Log:
2010-11-03 nicolas.dumazet
* Update dependencies to match new guidelines
* Update code after jQuery version bump

Removed:
    experimental/bt5/erp5_jquery_jixedbar/SkinTemplateItem/portal_skins/erp5_jquery_jixedbar/jquery.jixedbar.js.xml
    experimental/bt5/erp5_jquery_jixedbar/SkinTemplateItem/portal_skins/erp5_jquery_jixedbar/themes/
    experimental/bt5/erp5_jquery_jixedbar/SkinTemplateItem/portal_skins/erp5_jquery_jixedbar/themes.xml
    experimental/bt5/erp5_jquery_jixedbar/bt/comment

Removed: experimental/bt5/erp5_jquery_jixedbar/SkinTemplateItem/portal_skins/erp5_jquery_jixedbar/jquery.jixedbar.js.xml
URL: http://svn.erp5.org/experimental/bt5/erp5_jquery_jixedbar/SkinTemplateItem/portal_skins/erp5_jquery_jixedbar/jquery.jixedbar.js.xml?rev=39817&view=auto
==============================================================================
--- experimental/bt5/erp5_jquery_jixedbar/SkinTemplateItem/portal_skins/erp5_jquery_jixedbar/jquery.jixedbar.js.xml [utf8] (original)
+++ experimental/bt5/erp5_jquery_jixedbar/SkinTemplateItem/portal_skins/erp5_jquery_jixedbar/jquery.jixedbar.js.xml (removed)
@@ -1,823 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <global name="File" module="OFS.Image"/>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts88579952.37</string> </value>
-        </item>
-        <item>
-            <key> <string>__name__</string> </key>
-            <value> <string>jquery.jixedbar.js</string> </value>
-        </item>
-        <item>
-            <key> <string>content_type</string> </key>
-            <value> <string>application/x-javascript</string> </value>
-        </item>
-        <item>
-            <key> <string>data</string> </key>
-            <value> <string encoding="cdata"><![CDATA[
-
-/*\n
- * jixedbar - a jQuery fixed bar plugin.\n
- * http://code.google.com/p/jixedbar/\n
- * \n
- * Version 0.0.5 (Development)\n
- * \n
- * Copyright (c) 2009-2010 Ryan Yonzon, http://ryan.rawswift.com/\n
- * Dual licensed under the MIT and GPL licenses:\n
- * http://www.opensource.org/licenses/mit-license.php\n
- * http://www.gnu.org/licenses/gpl.html\n
- * \n
- * Last update - September 21, 2010\n
- */\n
-\n
-(function($) { // start jixedbar\'s anonymous function\n
-\n
-\t$.extend({\n
-\t\t\n
-\t\t// jixedbar plugin method\n
-\t\tjixedbar: new function(options) {\n
-\t\t\tvar constants = { // constant variables, magic variables that\'ll make the bar stick on the bottom or the top portion of any browser\n
-\t\t\t\t\tconstOverflow: "hidden",\n
-\t\t\t\t\tconstBottom: "0px"\n
-\t\t\t\t};\n
-\t\t\tvar defaults = { // default options\n
-\t\t\t\t\tshowOnTop: false, // show bar on top, instead of default bottom\n
-\t\t\t\t\ttransparent: false, // enable/disable bar\'s transparent effect\n
-\t\t\t\t\topacity: 0.9, // default bar opacity\n
-\t\t\t\t\topaqueSpeed: "fast", // default opacity speed effect\n
-\t\t\t\t\tslideSpeed: "fast", // default slide effect\n
-\t\t\t\t\troundedCorners: true, // rounded corners only works on FF, Chrome, Latest Opera and Safari\n
-\t\t\t\t\troundedButtons: true, // only works on FF, Chrome, Latest Opera and Safari\n
-\t\t\t\t\tmenuFadeSpeed: 250, // menu fade effect\n
-\t\t\t\t\ttooltipFadeSpeed: "slow", // tooltip fade effect\n
-\t\t\t\t\ttooltipFadeOpacity: 0.8 // tooltip fade opacity effect\n
-\t\t\t\t};\n
-\t\t\tvar options = $.extend(defaults, options); // merge defaults and options object\n
-\t\t\t/* IE6 detection method */\n
-\t\t\tvar ie6 = (navigator.appName == "Microsoft Internet Explorer" && parseInt(navigator.appVersion) == 4 && navigator.appVersion.indexOf("MSIE 6.0") != -1);\n
-\t\t\t/* var ie7 = window.XMLHttpRequest; // simple way to detect IE7 (see variable below) */\n
-\t\t\tvar ie7 = (document.all && !window.opera && window.XMLHttpRequest); // ...but I guess this is a much more accurate method\n
-\t\t\tvar button_active = false; // active button flag\n
-\t\t\tvar active_button_name = ""; // name of current active button\n
-\t\t\tvar element_obj; // reference to bar\'s element\n
-\t\t\n
-\t\t\t/**\n
-\t\t\t * public methods\n
-\t\t\t */\n
-\t\t\t\n
-\t\t\t// jixedbar constructor\n
-\t\t\tthis.construct = function() {\n
-\t\t\t\t\n
-\t\t\t\treturn this.each(function() {\n
-\t\t\t\t\tvar obj = $(this); // reference to selected element\n
-\t\t\t\t\tvar screen = jQuery(this); // reference to client screen size\n
-\t\t\t\t\tvar fullScreen = screen.width(); // get screen width\n
-\t\t\t\t\tvar centerScreen = (fullScreen/2) * (1); // get screen center\n
-\t\t\t\t\tvar hideBar = false; // default bar hide/show status\n
-\n
-\t\t\t\t\telement_obj = obj; // set bar\'s element object for public method use\t\t\t\t\t\n
-\t\t\t\t\t\n
-\t\t\t\t\tif ($(this).checkCookie("JXID")) { // check if cookie already exists\n
-\t\t\t\t\t\tif ($(this).readCookie("JXHID") == "true") {\n
-\t\t\t\t\t\t\tthis.hideBar = true; // hide bar\n
-\t\t\t\t\t\t}\n
-\t\t\t\t\t} else { // else drop cookie\n
-\t\t\t\t\t\t$(this).createCookie("JXID", $(this).genRandID()); // set random ID and create cookie\n
-\t\t\t\t\t\t$(this).createCookie("JXHID", false); // set bar hide to false then create cookie\n
-\t\t\t\t\t}\n
-\t\t\t\t\t\n
-\t\t\t\t\t// set html and body style for jixedbar to work\n
-\t\t\t\t\tif (($.browser.msie && ie6) || ($.browser.msie && ie7)) { // check if we have an IE client browser\n
-\t\t                $("html").css({"overflow" : "hidden", "height" : "100%"});\n
-\t\t                $("body").css({"margin": "0px", "overflow": "auto", "height": "100%"});\n
-\t\t\t\t\t} else { // else for FF, Chrome, Opera, Safari and other browser\n
-\t\t\t\t\t\t$("html").css({"height" : "100%"});\n
-\t\t\t\t\t\t$("body").css({"margin": "0px", "height": "100%"});\n
-\t\t\t\t\t}\n
-\n
-\t\t\t\t\t/* check what position method to use */\n
-\t\t\t\t\tif (($.browser.msie && ie6) || ($.browser.msie && ie7)) { // for IE browsers\n
-\t\t\t\t\t\tpos = "absolute";\n
-\t\t\t\t\t} else { // else for other browsers\n
-\t\t\t\t\t\tpos = "fixed";\n
-\t\t\t\t\t}\n
-\t\t\t\t\t\n
-\t\t\t\t\t// create hide container and button\n
-\t\t\t\t\tif ($(".jx-bar-button-right", this).exists()) { // check if there are currently an item on the right side portion of the bar\n
-\t\t\t\t\t\t$("<ul />").attr("id", "jx-hid-con-id").insertBefore($(this).find(".jx-bar-button-right:first")); // insert hide/show button "before" the existing item and let the "float right" do its magic\n
-\t\t\t\t\t} else { // else just append it and it\'ll automatically set to the right side of the bar\n
-\t\t\t\t\t\t$("<ul />").attr("id", "jx-hid-con-id").appendTo(this);\n
-\t\t\t\t\t}\n
-\t\t\t\t\t\n
-\t\t\t\t\t\tif ($.browser.msie && ie6) {\n
-\t\t\t\t\t\t\t$("#jx-hid-con-id").css({"width": "1px", "float": "right"}); // fix hide container width to prevent float drop issue on IE6 (any width other than "auto" or none specified)\n
-\t\t\t\t\t\t} else if ($.browser.msie && ie7) {\n
-\t\t\t\t\t\t\t$("#jx-hid-con-id").css({"width": "40px", "float": "right"}); // fix hide container width to prevent float drop issue on IE7\n
-\t\t\t\t\t\t}\n
-\t\t\t\t\t\t\n
-\t\t\t\t\t/* check what position should be the arrow indicator will be */\n
-\t\t\t\t\tif (defaults.showOnTop) {\n
-\t\t\t\t\t\thideIndicator = "jx-hide-top"; // on the top\n
-\t\t\t\t\t} else {\n
-\t\t\t\t\t\thideIndicator = "jx-hide"; // on the bottom\n
-\t\t\t\t\t}\n
-\t\t\t\t\t\n
-\t\t\t\t\t// insert the hide button indicator and add appropriate CSS class\n
-\t\t\t\t\t$("#jx-hid-con-id").html(\'<li alt="Hide toolbar"><a id="jx-hid-btn-id" class="\' + hideIndicator + \'"></a></li>\');\n
-\t\t\t\t\t$("#jx-hid-con-id").addClass("jx-bar-button-right");\n
-\t\t\t\t\t\n
-\t\t\t\t\t// insert hide button separator and CSS class\n
-\t\t\t\t\t$("<span />").attr("id", "jx-hid-sep-id").insertAfter("#jx-hid-con-id");\n
-\t\t\t\t\t$("#jx-hid-sep-id").addClass("jx-hide-separator");\n
-\t\t\n
-\t\t\t\t\t// add click event on hide button\n
-\t\t\t\t\t$("#jx-hid-btn-id").parent().click(function() {\n
-\t\t\t\t\t\t$("#jx-menu-con-id").fadeOut();\n
-\t\t\t\t\t\t$(obj).slideToggle(defaults.slideSpeed, function() {\n
-\t\t\t\t\t\t\t$(this).createCookie("JXHID", true); // set bar hide to true\n
-\t\t\t\t\t\t\tif (!$(this).checkCookie("JXID")) { // check if cookie JXID exists, if not create one\n
-\t\t\t\t\t\t\t\t$(this).createCookie("JXID", $(this).genRandID()); // set random ID and drop cookie\n
-\t\t\t\t\t\t\t}\n
-\t\t\t\t\t\t\t$("#jx-uhid-con-id").slideToggle(defaults.slideSpeed);\n
-\t\t\t\t\t\t});\n
-\t\t\t\t\t\treturn false;\n
-\t\t\t\t\t});\n
-\t\t\t\t\t\n
-\t\t\t\t\t// initialize bar\n
-\t\t\t\t\t$(this).css({\n
-\t\t\t\t\t\t"overflow": constants["constOverflow"],\n
-\t\t\t\t\t\t"position": pos\n
-\t\t\t\t\t});\n
-\t\t\t\t\t\n
-\t\t\t\t\t// set location: top or bottom\n
-\t\t\t\t\tif (defaults.showOnTop) {\n
-\t\t\t\t\t\t$(this).css({\n
-\t\t\t\t\t\t\t"top": constants["constBottom"]\n
-\t\t\t\t\t\t});\t\t\t\t\n
-\t\t\t\t\t} else {\n
-\t\t\t\t\t\t$(this).css({\n
-\t\t\t\t\t\t\t"bottom": constants["constBottom"]\n
-\t\t\t\t\t\t});\n
-\t\t\t\t\t}\n
-\t\t\t\t\t\n
-\t\t\t\t\t// add bar style (theme)\n
-\t\t\t\t\t$(this).addClass("jx-bar");\n
-\t\t\t\t\t\n
-\t\t\t\t\t// rounded corner style (theme)\n
-\t\t\t\t\tif (defaults.roundedCorners) {\n
-\t\t\t\t\t\tif (defaults.showOnTop) {\n
-\t\t\t\t\t\t\t$(this).addClass("jx-bar-rounded-bl jx-bar-rounded-br");\n
-\t\t\t\t\t\t} else {\n
-\t\t\t\t\t\t\t$(this).addClass("jx-bar-rounded-tl jx-bar-rounded-tr");\n
-\t\t\t\t\t\t}\n
-\t\t\t\t\t}\n
-\n
-\t\t\t\t\t// button style (theme)\n
-\t\t\t\t\t$(this).addClass("jx-bar-button");\n
-\t\t\t\t\t\n
-\t\t\t\t\t// rounded button corner style (theme)\n
-\t\t\t\t\tif (defaults.roundedButtons) {\n
-\t\t\t\t\t\t$(this).addClass("jx-bar-button-rounded");\n
-\t\t\t\t\t}\n
-\n
-\t\t\t\t\t// calculate and adjust bar to the center\n
-\t\t\t\t\tmarginLeft = centerScreen-($(this).width()/2);\n
-\t\t\t\t\t$(this).css({"margin-left": marginLeft});\n
-\n
-\t\t\t\t\t// fix image vertical alignment and border\n
-\t\t\t\t\t$("img", obj).css({\n
-\t\t\t\t\t\t"vertical-align": "bottom",\n
-\t\t\t\t\t\t"border": "#fff solid 0px" // no border\n
-\t\t\t\t\t});\n
-\t\t\t\t\t\n
-\t\t\t\t\t// check for alt attribute and set it as button text\n
-\t\t\t\t\t$(this).find("img").each(function() {\n
-\t\t\t\t\t\tif ($(this).attr("alt") != "") { // if image\'s ALT attribute is not empty then do the code below\n
-\t\t\t\t\t\t\taltName = "&nbsp;" + $(this).attr("alt"); // set button text using the image\'s ALT attribute\n
-\t\t\t\t\t\t\t$(this).parent().append(altName); // append it\n
-\t\t\t\t\t\t}\n
-\t\t\t\t\t});\n
-\n
-\t\t\t\t\t// check of transparency is enabled\n
-\t\t\t\t\tif (defaults.transparent) {\n
-\t\t\t\t\t\t$(this).fadeTo(defaults.opaqueSpeed, defaults.opacity); // do transparent effect\n
-\t\t\t\t\t}\n
-\n
-\t\t\t\t\t// create menu container first before creating the tooltip container, so tooltip will be on foreground\n
-\t\t\t\t\t$("<div />").attr("id", "jx-menu-con-id").appendTo("body");\n
-\n
-\t\t\t\t\t// add transparency effect on menu container if "transparent" is true\n
-\t\t\t\t\tif (defaults.transparent) {\n
-\t\t\t\t\t\t$("#jx-menu-con-id").fadeTo(defaults.opaqueSpeed, defaults.opacity);\n
-\t\t\t\t\t}\n
-\t\t\t\t\t\n
-\t\t\t\t\t/*\n
-\t\t\t\t\t * create show/unhide container and button\n
-\t\t\t\t\t */\n
-\t\t\t\t\t$("<div />").attr("id", "jx-uhid-con-id").appendTo("body"); // create div element and append in html body\n
-\t\t\t\t\t$("#jx-uhid-con-id").addClass("jx-show");\n
-\t\t\t\t\t$("#jx-uhid-con-id").css({\n
-\t\t\t\t\t\t"overflow": constants["constOverflow"],\n
-\t\t\t\t\t\t"position": pos,\n
-\t\t\t\t\t\t"margin-left": ($(this).offset().left + $(this).width()) - $("#jx-uhid-con-id").width() // calculate the show/unhide left margin/position\n
-\t\t\t\t\t});\n
-\t\t\t\t\t\n
-\t\t\t\t\t// set show/unhide location: top or bottom\n
-\t\t\t\t\tif (defaults.showOnTop) {\n
-\t\t\t\t\t\t$("#jx-uhid-con-id").css({\n
-\t\t\t\t\t\t\t"top": constants["constBottom"]\n
-\t\t\t\t\t\t});\t\t\t\t\n
-\t\t\t\t\t} else {\n
-\t\t\t\t\t\t$("#jx-uhid-con-id").css({\n
-\t\t\t\t\t\t\t"bottom": constants["constBottom"]\n
-\t\t\t\t\t\t});\t\t\t\t\n
-\t\t\t\t\t}\n
-\t\t\t\t\t\n
-\t\t\t\t\t// check if we need to add transparency to menu container\n
-\t\t\t\t\tif (defaults.transparent) {\n
-\t\t\t\t\t\t$("#jx-uhid-con-id").fadeTo(defaults.opaqueSpeed, defaults.opacity); \n
-\t\t\t\t\t}\n
-\n
-\t\t\t\t\t// check if we need to hide the bar (based on cookie)\n
-\t\t\t\t\tif (this.hideBar) {\n
-\t\t\t\t\t\t$(this).css({\n
-\t\t\t\t\t\t\t"display": "none" // do not display the main bar\n
-\t\t\t\t\t\t});\t\t\t\t\n
-\t\t\t\t\t}\n
-\t\t\t\t\t\n
-\t\t\t\t\t// check if we need to hide the show/unhide button (based on cookie)\n
-\t\t\t\t\tif (!this.hideBar) {\n
-\t\t\t\t\t\t$("#jx-uhid-con-id").css({\n
-\t\t\t\t\t\t\t"display": "none" // do not display the show/unhide button\n
-\t\t\t\t\t\t});\n
-\t\t\t\t\t}\n
-\t\t\t\t\t\n
-\t\t\t\t\t// create/append the show/unhide button item\n
-\t\t\t\t\t$("<ul />").attr("id", "jx-uhid-itm-id").appendTo($("#jx-uhid-con-id"));\n
-\t\t\t\t\tif (defaults.showOnTop) { // do we need to show this on top\n
-\t\t\t\t\t\tunhideIndicator = "jx-show-button-top";\n
-\t\t\t\t\t} else { // or on bottom (default)\n
-\t\t\t\t\t\tunhideIndicator = "jx-show-button";\n
-\t\t\t\t\t}\n
-\t\t\t\t\t// add the show/unhide item ("Show toolbar" button)\n
-\t\t\t\t\t$("#jx-uhid-itm-id").html(\'<li alt="Show toolbar"><a id="jx-uhid-btn-id" class="\' + unhideIndicator + \'"></a></li>\');\n
-\n
-\t\t\t\t\t// show/unhide container and button style\n
-\t\t\t\t\tif (defaults.roundedCorners) {\n
-\t\t\t\t\t\tif (defaults.showOnTop) { // rounded corner CSS for top positioned bar\n
-\t\t\t\t\t\t\t$("#jx-uhid-con-id").addClass("jx-bar-rounded-bl jx-bar-rounded-br");\n
-\t\t\t\t\t\t} else { // rounded corner CSS for bottom positioned bar\n
-\t\t\t\t\t\t\t$("#jx-uhid-con-id").addClass("jx-bar-rounded-tl jx-bar-rounded-tr");\n
-\t\t\t\t\t\t}\n
-\t\t\t\t\t}\n
-\t\t\t\t\t$("#jx-uhid-con-id").addClass("jx-bar-button"); // add CSS style on show/unhide button based on the current theme\n
-\t\t\t\t\tif (defaults.roundedButtons) { // additional CSS style for rounded buttons\n
-\t\t\t\t\t\t$("#jx-uhid-con-id").addClass("jx-bar-button-rounded");\n
-\t\t\t\t\t}\n
-\t\t\t\t\t\n
-\t\t\t\t\t// add click event on show/unhide button\n
-\t\t\t\t\t$("#jx-uhid-con-id").click(function() {\n
-\t\t\t\t\t\t$(this).slideToggle(defaults.slideSpeed, function() {\n
-\t\t\t\t\t\t\t$(this).createCookie("JXHID", false); // set bar hide to false\n
-\t\t\t\t\t\t\tif (!$(this).checkCookie("JXID")) { // check if cookie JXID exists, if not create one\n
-\t\t\t\t\t\t\t\t$(this).createCookie("JXID", $(this).genRandID()); // set random ID and drop cookie\n
-\t\t\t\t\t\t\t}\n
-\t\t\t\t\t\t\t$(obj).slideToggle(defaults.slideSpeed); // slide toggle effect\n
-\t\t\t\t\t\t\tif (active_button_name != "") { // check if we have an active button (menu button)\n
-\t\t\t\t\t\t\t\t$("#jx-menu-con-id").fadeIn(); // if we have then do fade in effect\n
-\t\t\t\t\t\t\t}\n
-\n
-\t\t\t\t\t\t\t// re-set unhide/show button position\n
-\t\t\t\t\t\t\t$("#jx-uhid-con-id").css({\n
-\t\t\t\t\t\t\t\t"margin-left": ($(obj).offset().left + $(obj).width()) - $("#jx-uhid-con-id").width() // calculate the show/unhide left margin/position\n
-\t\t\t\t\t\t\t});\n
-\t\t\t\t\t\t\t\n
-\t\t\t\t\t\t\t// re-set menu container position\n
-\t\t\t\t\t\t\tif (button_active) {\n
-\t\t\t\t\t\t\t\t$("#jx-menu-con-id").css({\n
-\t\t\t\t\t\t\t\t\t"margin-left": $("#" + active_button_name).parent().offset().left // calculate menu container position by setting its left margin\n
-\t\t\t\t\t\t\t\t});\n
-\t\t\t\t\t\t\t}\n
-\t\t\t\t\t\t\t\n
-\t\t\t\t\t\t});\n
-\t\t\t\t\t\t\n
-\t\t\t\t\t\treturn false; // return false to prevent any unnecessary click action\n
-\t\t\t\t\t});\n
-\n
-\t\t\t\t\t// create tooltip container\n
-\t\t\t\t\t$("<div />").attr("id", "jx-ttip-con-id").appendTo("body"); // create div element and append in html body\n
-\t\t\t\t\t$("#jx-ttip-con-id").css({ // CSS for tooltip container (invisible to viewer(s))\n
-\t\t\t\t\t\t"height": "auto",\n
-\t\t\t\t\t\t"margin-left": "0px",\n
-\t\t\t\t\t\t"width": "100%", // use entire width\n
-\t\t\t\t\t\t"overflow": constants["constOverflow"],\n
-\t\t\t\t\t\t"position": pos\n
-\t\t\t\t\t});\n
-\t\t\t\t\t\n
-\t\t\t\t\t// set tooltip container: top or bottom\n
-\t\t\t\t\tif (defaults.showOnTop) { // show on top?\n
-\t\t\t\t\t\t$("#jx-ttip-con-id").css({\n
-\t\t\t\t\t\t\t"margin-top": $(this).height() + 6, // put spacing between tooltip container and fixed bar\n
-\t\t\t\t\t\t\t"top": constants["constBottom"]\n
-\t\t\t\t\t\t});\n
-\t\t\t\t\t} else { // else bottom\n
-\t\t\t\t\t\t$("#jx-ttip-con-id").css({\n
-\t\t\t\t\t\t\t"margin-bottom": $(this).height() + 6, // put spacing between tooltip container and fixed bar\n
-\t\t\t\t\t\t\t"bottom": constants["constBottom"]\n
-\t\t\t\t\t\t});\n
-\t\t\t\t\t}\n
-\t\t\t\t\t\n
-\t\t\t\t\t// prevent browser from showing tooltip; replace title tag with alt tag; comply with w3c standard\n
-\t\t\t\t\t$("li", obj).each(function() { // iterate through LI element\n
-\t\t\t\t\t\tvar _title = $(this).attr("title");\n
-\t\t\t\t\t\tif (_title != "") {\n
-\t\t\t\t\t\t\t$(this).removeAttr("title"); // remove TITLE attribute\n
-\t\t\t\t\t\t\t$(this).attr("alt", _title); // add (replace with) ALT attribute\n
-\t\t\t\t\t\t}\n
-\t\t\t\t\t});\n
-\t\t\t\t\t\n
-\t\t\t\t\t// bar container hover in and out event handler\n
-\t\t\t\t\t$("li", obj).hover(\n
-\t\t\t\t\t\tfunction () { // hover in method event\n
-\t\t\t\t\t\t\tvar elemID = $(this).attr("id"); // get ID (w/ or w/o ID, get it anyway)\t\t\t\t\t\n
-\t\t\t\t\t\t\tvar barTooltipID = elemID + "jx-ttip-id"; // set a tooltip ID\n
-\t\t\t\t\t\t\tvar tooltipTitle = $(this).attr("title");\n
-\t\t\t\t\t\n
-\t\t\t\t\t\t\tif (tooltipTitle == "") { // if no \'title\' attribute then try \'alt\' attribute\n
-\t\t\t\t\t\t\t\ttooltipTitle = $(this).attr("alt"); // this prevents IE from showing its own tooltip\n
-\t\t\t\t\t\t\t}\n
-\t\t\t\t\t\t\t\n
-\t\t\t\t\t\t\tif (tooltipTitle != "") { // show a tooltip if it\'s not empty\n
-\t\t\t\t\t\t\t\t// create tooltip wrapper; fix IE6\'s float double-margin bug\n
-\t\t\t\t\t\t\t\tbarTooltipWrapperID = barTooltipID + "_wrapper";\n
-\t\t\t\t\t\t\t\t$("<div />").attr("id", barTooltipWrapperID).appendTo("#jx-ttip-con-id");\n
-\t\t\t\t\t\t\t\t// create tooltip div element and put it inside the wrapper\n
-\t\t\t\t\t\t\t\t$("<div />").attr("id", barTooltipID).appendTo("#" + barTooltipWrapperID);\n
-\t\t\t\t\t\t\t\t\n
-\t\t\t\t\t\t\t\t// tooltip default style\n
-\t\t\t\t\t\t\t\t$("#" + barTooltipID).css({\n
-\t\t\t\t\t\t\t\t\t"float": "left"\n
-\t\t\t\t\t\t\t\t});\n
-\t\t\t\t\t\t\t\t\n
-\t\t\t\t\t\t\t\t// theme for tooltip (theme)\n
-\t\t\t\t\t\t\t\tif ((defaults.showOnTop) && !($.browser.msie && ie6)) { // IE6 workaround; Don\'t add tooltip pointer if IE6\n
-\t\t\t\t\t\t\t\t\t$("<div />").addClass("jx-tool-point-dir-up").appendTo("#" + barTooltipID);\n
-\t\t\t\t\t\t\t\t}\n
-\t\t\t\t\t\t\t\t\t$("<div />").html(tooltipTitle).addClass("jx-bar-button-tooltip").appendTo("#" + barTooltipID);\n
-\t\t\t\t\t\t\t\t\t\n
-\t\t\t\t\t\t\t\tif ((!defaults.showOnTop) && !($.browser.msie && ie6)) { // IE6 workaround; Don\'t add tooltip pointer if IE6\t\t\t\t\t\t\t\n
-\t\t\t\t\t\t\t\t\t$("<div />").addClass("jx-tool-point-dir-down").appendTo("#" + barTooltipID);\n
-\t\t\t\t\t\t\t\t}\n
-\t\t\t\t\t\t\t\t\n
-\t\t\t\t\t\t\t\t// fix tooltip wrapper relative to the associated button\n
-\t\t\t\t\t\t\t\tlft_pad = parseInt($(this).css("padding-left"));\n
-\t\t\t\t\t\t\t\t$("#" + barTooltipWrapperID).css({\n
-\t\t\t\t\t\t\t\t\t"margin-left": ($(this).offset().left - ($("#" + barTooltipID).width() / 2)) + ($(this).width()/2) + lft_pad // calculate position (left margin)\n
-\t\t\t\t\t\t\t\t});\n
-\t\t\t\t\t\t\t\t\n
-\t\t\t\t\t\t\t\t/* check for active buttons; tooltip behavior */\n
-\t\t\t\t\t\t\t\tif ((($(this).find("a:first").attr("name") == "") || (button_active == false))) {\n
-\t\t\t\t\t\t\t\t\t$("#" + barTooltipID).fadeTo(defaults.tooltipFadeSpeed, defaults.tooltipFadeOpacity);\n
-\t\t\t\t\t\t\t\t} else if (active_button_name != $(this).find("a:first").attr("name")) {\n
-\t\t\t\t\t\t\t\t\t$("#" + barTooltipID).fadeTo(defaults.tooltipFadeSpeed, defaults.tooltipFadeOpacity);\n
-\t\t\t\t\t\t\t\t} else { // we got an active button here! (clicked state)\n
-\t\t\t\t\t\t\t\t\t$("#" + barTooltipID).css({ // prevent the tooltip from showing; if button if currently on-clicked state\n
-\t\t\t\t\t\t\t\t\t\t"display": "none"\n
-\t\t\t\t\t\t\t\t\t});\n
-\t\t\t\t\t\t\t\t}\n
-\t\t\t\t\t\t\t\t\n
-\t\t\t\t\t\t\t}\n
-\t\t\t\t\t\t}, \n
-\t\t\t\t\t\tfunction () { // hover out method event\n
-\t\t\t\t\t\t\tvar elemID = $(this).attr("id"); // get ID (whether there is an ID or none)\t\t\t\t\t\n
-\t\t\t\t\t\t\tvar barTooltipID = elemID + "jx-ttip-id"; // set a tooltip ID\n
-\t\t\t\t\t\t\tvar barTooltipWrapperID = barTooltipID + "_wrapper";\n
-\t\t\t\t\t\t\t$("#" + barTooltipID).remove(); // remove tooltip element\n
-\t\t\t\t\t\t\t$("#" + barTooltipWrapperID).remove(); // remove tooltip\'s element DIV wrapper\n
-\t\t\t\t\t\t}\n
-\t\t\t\t\t);\n
-\t\t\t\t\t\n
-\t\t\t\t\t// show/unhide container hover in and out event handler\n
-\t\t\t\t\t$("li", $("#jx-uhid-con-id")).hover(\n
-\t\t\t\t\t\tfunction () { // in/over event\n
-\t\t\t\t\t\t\tvar elemID = $(this).attr("id"); // get ID (w/ or w/o ID, get it anyway)\t\t\t\t\t\n
-\t\t\t\t\t\t\tvar barTooltipID = elemID + "jx-ttip-id"; // set a tooltip ID\n
-\t\t\t\t\t\t\tvar tooltipTitle = $(this).attr("title");\n
-\t\t\t\t\t\t\t\n
-\t\t\t\t\t\t\tif (tooltipTitle == "") { // if no \'title\' attribute then try \'alt\' attribute\n
-\t\t\t\t\t\t\t\ttooltipTitle = $(this).attr("alt"); // this prevents IE from showing its own tooltip\n
-\t\t\t\t\t\t\t}\n
-\t\t\t\t\t\t\t\n
-\t\t\t\t\t\t\tif (tooltipTitle != "") { // show a tooltip if it is not empty\n
-\t\t\t\t\t\t\t\t// create tooltip wrapper; fix IE6\'s float double-margin bug\n
-\t\t\t\t\t\t\t\tbarTooltipWrapperID = barTooltipID + "_wrapper";\n
-\t\t\t\t\t\t\t\t$("<div />").attr("id", barTooltipWrapperID).appendTo("#jx-ttip-con-id");\n
-\t\t\t\t\t\t\t\t// create tooltip div element and put it inside the wrapper\n
-\t\t\t\t\t\t\t\t$("<div />").attr("id", barTooltipID).appendTo("#" + barTooltipWrapperID);\n
-\t\t\t\t\t\t\t\t\n
-\t\t\t\t\t\t\t\t// tooltip default style\n
-\t\t\t\t\t\t\t\t$("#" + barTooltipID).css({\n
-\t\t\t\t\t\t\t\t\t"float": "left"\n
-\t\t\t\t\t\t\t\t});\n
-\t\t\t\t\t\t\t\t\n
-\t\t\t\t\t\t\t\t// theme for show/unhide tooltip\n
-\t\t\t\t\t\t\t\tif ((defaults.showOnTop) && !($.browser.msie && ie6)) {\n
-\t\t\t\t\t\t\t\t\t$("<div />").addClass("jx-tool-point-dir-up").appendTo("#" + barTooltipID);\n
-\t\t\t\t\t\t\t\t}\n
-\n
-\t\t\t\t\t\t\t\t\t$("<div />").html(tooltipTitle).addClass("jx-bar-button-tooltip").appendTo("#" + barTooltipID);\n
-\t\t\t\t\t\t\t\t\n
-\t\t\t\t\t\t\t\tif ((!defaults.showOnTop) && !($.browser.msie && ie6)) { \n
-\t\t\t\t\t\t\t\t\t$("<div />").addClass("jx-tool-point-dir-down").appendTo("#" + barTooltipID);\n
-\t\t\t\t\t\t\t\t}\n
-\t\t\t\t\t\t\t\t\n
-\t\t\t\t\t\t\t\t// fix tooltip wrapper relative to the associated button\n
-\t\t\t\t\t\t\t\tulft_pad = parseInt($(this).css("padding-left"));\n
-\t\t\t\t\t\t\t\t$("#" + barTooltipWrapperID).css({\n
-\t\t\t\t\t\t\t\t\t"margin-left": ($(this).offset().left - ($("#" + barTooltipID).width() / 2)) + ($(this).width()/2) + ulft_pad // calculate tooltip position\n
-\t\t\t\t\t\t\t\t});\n
-\t\t\t\t\t\t\t\t\n
-\t\t\t\t\t\t\t\t/* check for active buttons; tooltip behavior */\n
-\t\t\t\t\t\t\t\tif ((($(this).find("a:first").attr("name") == "") || (button_active == false))) {\n
-\t\t\t\t\t\t\t\t\t$("#" + barTooltipID).fadeTo(defaults.tooltipFadeSpeed, defaults.tooltipFadeOpacity);\n
-\t\t\t\t\t\t\t\t} else if (active_button_name != $(this).find("a:first").attr("name")) {\n
-\t\t\t\t\t\t\t\t\t$("#" + barTooltipID).fadeTo(defaults.tooltipFadeSpeed, defaults.tooltipFadeOpacity);\n
-\t\t\t\t\t\t\t\t} else {\n
-\t\t\t\t\t\t\t\t\t$("#" + barTooltipID).css({ // prevent the tooltip from showing; if button if currently on-clicked state\n
-\t\t\t\t\t\t\t\t\t\t"display": "none"\n
-\t\t\t\t\t\t\t\t\t});\n
-\t\t\t\t\t\t\t\t}\n
-\t\t\t\t\t\t\t\t\n
-\t\t\t\t\t\t\t}\n
-\t\t\t\t\t\t}, \n
-\t\t\t\t\t\tfunction () { // out event\n
-\t\t\t\t\t\t\tvar elemID = $(this).attr("id"); // get ID (whether there is an ID or none)\n
-\t\t\t\t\t\t\tvar barTooltipID = elemID + "jx-ttip-id"; // set a tooltip ID\n
-\t\t\t\t\t\t\tvar barTooltipWrapperID = barTooltipID + "_wrapper";\n
-\t\t\t\t\t\t\t$("#" + barTooltipID).remove(); // remove tooltip element\n
-\t\t\t\t\t\t\t$("#" + barTooltipWrapperID).remove(); // remove tooltip\'s element DIV wrapper\n
-\t\t\t\t\t\t}\n
-\t\t\t\t\t);\n
-\n
-\t\t\t\t\t// fix PNG transparency problem on IE6\n
-\t\t\t\t\tif ($.browser.msie && ie6) {\n
-\t\t\t\t\t\t$(this).find("li").each(function() {\n
-\t\t\t\t\t\t\t$(this).find("img").each(function() {\n
-\t\t\t\t\t\t\t\timgPath = $(this).attr("src");\n
-\t\t\t\t\t\t\t\taltName = $(this).attr("alt");\n
-\t\t\t\t\t\t\t\tif (altName == "") { // workaround for IE6 bug: Menu item text does not show up on the popup menu\n
-\t\t\t\t\t\t\t\t\taltName = "&nbsp;&nbsp;" + $(this).attr("title");\n
-\t\t\t\t\t\t\t\t}\n
-\t\t\t\t\t\t\t\tsrcText = $(this).parent().html();\n
-\t\t\t\t\t\t\t\t$(this).parent().html( // wrap with span element\n
-\t\t\t\t\t\t\t\t\t\'<span style="cursor:pointer;display:inline-block;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\\\'\' + imgPath + \'\\\');">\' + srcText + \'</span>&nbsp;\' + altName\n
-\t\t\t\t\t\t\t\t);\n
-\t\t\t\t\t\t\t});\n
-\t\t\t\t\t\t\t$(this).find("img").each(function() {\n
-\t\t\t\t\t\t\t\t$(this).attr("style", "filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0);"); // show image\n
-\t\t\t\t\t\t\t});\n
-\t\t\t\t\t\t});\n
-\t\t\t\t\t}\n
-\t\t\t\t\t\n
-\t\t\t\t\t// adjust bar on window resize event\n
-\t\t\t\t\t$(window).resize(\n
-\t\t\t\t\t\tfunction(){\n
-\t\t\t\t\t\t\tvar screen = jQuery(this); // reference to client/viewers screen\n
-\t\t\t\t\t\t\tvar screenWidth = screen.width(); // get current screen width\n
-\t\t\t\t\t\t\tvar centerScreen = (screenWidth / 2) * (1); // get current screen center\n
-\t\t\t\t\t\t\tvar marginLeft = centerScreen - ($(obj).width() / 2); // re-calculate and adjust bar\'s position\n
-\t\t\t\t\t\t\t$(obj).css({"margin-left": marginLeft}); // do it!\n
-\t\t\t\t\t\t\t\n
-\t\t\t\t\t\t\t// set unhide/show button\n
-\t\t\t\t\t\t\t$("#jx-uhid-con-id").css({\n
-\t\t\t\t\t\t\t\t"margin-left": ($(obj).offset().left + $(obj).width()) - $("#jx-uhid-con-id").width()\n
-\t\t\t\t\t\t\t});\n
-\t\t\t\t\t\t\t\n
-\t\t\t\t\t\t\tif (button_active) { // check if we have an active button\n
-\t\t\t\t\t\t\t\t$("#jx-menu-con-id").css({\n
-\t\t\t\t\t\t\t\t\t"margin-left": $("#" + active_button_name).parent().offset().left // fix menu position on resize\n
-\t\t\t\t\t\t\t\t});\n
-\t\t\t\t\t\t\t}\n
-\n
-\t\t\t\t\t\t}\n
-\t\t\t\t\t);\n
-\t\t\t\t\t\n
-\t\t\t\t\t/**\n
-\t\t\t\t\t * Element click events\n
-\t\t\t\t\t */\n
-\t\t\t\t\n
-\t\t\t\t\t// hide first level menu\n
-\t\t\t\t\t$("li", obj).find("ul").each(function() {\n
-\t\t\t\t\t\t$(this).css({"display": "none"}); // hide it! but we\'re listening to any click event\n
-\t\t\t\t\t});\n
-\n
-\t\t\t\t\t// create menu ID\n
-\t\t\t\t\ti = 1;\n
-\t\t\t\t\t$("li", obj).find("ul").each(function() {\n
-\t\t\t\t\t\t$(this).attr("id", "nav" + i);\n
-\t\t\t\t\t\t$(this).parent().find("a:first").attr("href", "#"); // replace href attribute\n
-\t\t\t\t\t\t$(this).parent().find("a:first").attr("name", "nav" + i); // replace href attribute\t\t\t\t\n
-\n
-\t\t\t\t\t\tif (defaults.showOnTop) { // check what position to use\n
-\t\t\t\t\t\t\tbuttonIndicator = "jx-arrow-down"; // top\n
-\t\t\t\t\t\t} else {\n
-\t\t\t\t\t\t\tbuttonIndicator = "jx-arrow-up"; // bottom\n
-\t\t\t\t\t\t}\n
-\n
-\t\t\t\t\t\t/* IE6/IE7 arrow indicator float drop fix: user replaced insertAfter with insertBefore */\n
-\t\t\t\t\t\tif (($.browser.msie && ie6) || ($.browser.msie && ie7)) {\n
-\t\t\t\t\t\t\t$("<div />").attr("class", buttonIndicator).insertBefore($(this).parent().find("a")).css({"background-position": "top"}); // IE6 and IE7 fix background position\n
-\t\t\t\t\t\t} else { // else any other browser\n
-\t\t\t\t\t\t\t$("<div />").attr("class", buttonIndicator).insertAfter($(this).parent().find("a")); // prevent Chrome from wrapping button text\n
-\t\t\t\t\t\t}\n
-\t\t\t\t\t\t\n
-\t\t\t\t\t\t// add click event (button)\n
-\t\t\t\t\t\t$(this).parent().find("a:first").click(function() {\n
-\t\t\t\t\t\t\tvar elemID = $(this).attr("id"); // get ID (whether there is an ID or none)\t\t\t\t\t\n
-\t\t\t\t\t\t\tvar barTooltipID = elemID + "jx-ttip-id"; // set a tooltip ID\n
-\t\t\t\t\t\t\tvar barTooltipWrapperID = barTooltipID + "_wrapper";\n
-\t\t\t\t\t\t\t\n
-\t\t\t\t\t\t\t$("#" + barTooltipID).remove(); // remove tooltip element\n
-\t\t\t\t\t\t\t$("#" + barTooltipWrapperID).remove(); // remove tooltip\'s element DIV wrapper\n
-\n
-\t\t\t\t\t\t\tif ((button_active) && (active_button_name == $(this).attr("name"))) { // is this an active button?\n
-\t\t\t\t\t\t\t\tif (defaults.showOnTop) { // check bar position\n
-\t\t\t\t\t\t\t\t\tbuttonIndicator = "jx-arrow-down"; // top\n
-\t\t\t\t\t\t\t\t} else {\n
-\t\t\t\t\t\t\t\t\tbuttonIndicator = "jx-arrow-up"; // bottom\n
-\t\t\t\t\t\t\t\t}\n
-\t\t\t\t\t\t\t\t$(this).parent().find("div").attr("class", buttonIndicator); // change button indicator\n
-\t\t\t\t\t\t\t\t\n
-\t\t\t\t\t\t\t\t$("#jx-menu-con-id").fadeOut(defaults.menuFadeSpeed); // remove/hide menu using fade effect\n
-\t\t\t\t\t\t\t\t$(this).parent().removeClass("jx-nav-menu-active"); // remove active state for this button (style)\n
-\n
-\t\t\t\t\t\t\t\tif (defaults.roundedButtons) { // remove additional CSS style if rounded corner button\n
-\t\t\t\t\t\t\t\t\t$(this).parent().removeClass("jx-nav-menu-active-rounded");\n
-\t\t\t\t\t\t\t\t}\n
-\t\t\t\t\t\t\t\t\n
-\t\t\t\t\t\t\t\tbutton_active = false; // remove button\'s active state\n
-\t\t\t\t\t\t\t\tactive_button_name = "";\n
-\t\t\t\t\t\t\t\t\n
-\t\t\t\t\t\t\t\t$(this).blur(); // unfocus link/href\n
-\t\t\t\t\t\t\t\t\n
-\t\t\t\t\t\t\t} else {\n
-\t\t\t\t\t\t\t\tif (defaults.showOnTop) { // is bar\'s on the top position?\n
-\t\t\t\t\t\t\t\t\tbuttonIndicator = "jx-arrow-up";\n
-\t\t\t\t\t\t\t\t} else {\n
-\t\t\t\t\t\t\t\t\tbuttonIndicator = "jx-arrow-down";\n
-\t\t\t\t\t\t\t\t}\n
-\t\t\t\t\t\t\t\t$(this).parent().find("div").attr("class", buttonIndicator); // change button indicator\n
-\t\t\t\t\t\t\t\t\n
-\t\t\t\t\t\t\t\t$("#jx-menu-con-id").css({"display": "none"}); // hide menu container\n
-\t\t\t\t\t\t\t\t$("#jx-menu-con-id").html("<ul>" + $(this).parent().find("ul").html() + "</ul>");\n
-\t\t\t\t\t\t\t\t$("#jx-menu-con-id").css({\n
-\t\t\t\t\t\t\t\t\t\t\t\t\t\t"overflow": constants["constOverflow"],\n
-\t\t\t\t\t\t\t\t\t\t\t\t\t\t"position": pos,\n
-\t\t\t\t\t\t\t\t\t\t\t\t\t\t"margin-left": $(this).parent().offset().left // calculate menu container position by setting its left margin\n
-\t\t\t\t\t\t\t\t\t\t\t\t\t});\n
-\n
-\t\t\t\t\t\t\t\t// set menu container location: top or bottom\n
-\t\t\t\t\t\t\t\tif (defaults.showOnTop) { // top\n
-\t\t\t\t\t\t\t\t\t$("#jx-menu-con-id").css({\n
-\t\t\t\t\t\t\t\t\t\t"top": constants["constBottom"],\n
-\t\t\t\t\t\t\t\t\t\t"margin-top": $(obj).height() + 6\n
-\t\t\t\t\t\t\t\t\t});\n
-\t\t\t\t\t\t\t\t} else { // bottom\n
-\t\t\t\t\t\t\t\t\t$("#jx-menu-con-id").css({\n
-\t\t\t\t\t\t\t\t\t\t"bottom": constants["constBottom"],\n
-\t\t\t\t\t\t\t\t\t\t"margin-bottom": $(obj).height() + 6\n
-\t\t\t\t\t\t\t\t\t});\n
-\t\t\t\t\t\t\t\t}\n
-\t\t\t\t\t\t\t\t\n
-\t\t\t\t\t\t\t\t$("#jx-menu-con-id").addClass("jx-nav-menu");\n
-\n
-\t\t\t\t\t\t\t\t\tif ($.browser.msie && ie6) {\t\n
-\t\t\t\t\t\t\t\t\t\t$("#jx-menu-con-id ul li a").css({"width": "100%"}); // IE6 and IE7 right padding/margin fix\n
-\t\t\t\t\t\t\t\t\t}\n
-\n
-\t\t\t\t\t\t\t\tif (defaults.roundedButtons) { // additional CSS style for rounded corner button\n
-\t\t\t\t\t\t\t\t\t$("#jx-menu-con-id").addClass("jx-nav-menu-rounded");\n
-\t\t\t\t\t\t\t\t}\n
-\t\t\t\t\t\t\t\t\n
-\t\t\t\t\t\t\t\t$(this).parent().addClass("jx-nav-menu-active"); // add active state CSS style\n
-\t\t\t\t\t\t\t\t\n
-\t\t\t\t\t\t\t\tif (defaults.roundedButtons) {\n
-\t\t\t\t\t\t\t\t\t$(this).parent().addClass("jx-nav-menu-active-rounded");\n
-\t\t\t\t\t\t\t\t}\n
-\t\t\t\t\t\t\t\t\n
-\t\t\t\t\t\t\t\tif (active_button_name != "") { // remove/hide any active button (on-clicked state)\n
-\t\t\t\t\t\t\t\t\t$("a[name=\'" + active_button_name + "\']").parent().removeClass("jx-nav-menu-active");\n
-\t\t\t\t\t\t\t\t\t$("a[name=\'" + active_button_name + "\']").parent().removeClass("jx-nav-menu-active-rounded");\n
-\t\t\t\t\t\t\t\t\t\n
-\t\t\t\t\t\t\t\t\tif (defaults.showOnTop) { // change button indicator (depends on the current bar\'s position)\n
-\t\t\t\t\t\t\t\t\t\tbuttonIndicator = "jx-arrow-down";\n
-\t\t\t\t\t\t\t\t\t} else {\n
-\t\t\t\t\t\t\t\t\t\tbuttonIndicator = "jx-arrow-up";\n
-\t\t\t\t\t\t\t\t\t}\n
-\t\t\t\t\t\t\t\t\t$("a[name=\'" + active_button_name + "\']").parent().find("div").attr("class", buttonIndicator);\n
-\t\t\t\t\t\t\t\t}\n
-\t\t\t\t\t\t\t\t\n
-\t\t\t\t\t\t\t\tbutton_active = true; // change button\'s active state\n
-\t\t\t\t\t\t\t\tactive_button_name = $(this).attr("name"); // save button name for future reference (e.g. remove active state)\n
-\t\t\t\t\t\t\t\t\n
-\t\t\t\t\t\t\t\t$(this).blur(); // unfocus link/href\n
-\t\t\t\t\t\t\t\t\n
-\t\t\t\t\t\t\t\t$("#jx-menu-con-id").fadeIn(defaults.menuFadeSpeed); // show menu container and its item(s)\n
-\t\t\t\t\t\t\t}\n
-\t\t\t\t\t\t\treturn false; // prevent normal click action\n
-\t\t\t\t\t\t});\n
-\t\t\t\t\t\t\n
-\t\t\t\t\t\ti = i + 1;\n
-\t\t\t\t\t});\n
-\t\t\t\t\t\n
-\t\t\t\t\t// nav items click event\n
-\t\t\t\t\t$("li", obj).click(function () {\n
-\t\t\t\t\t\tif ($("ul", this).exists()) {\n
-\t\t\t\t\t\t\t$(this).find("a:first").click();\n
-\t\t\t\t\t\t\treturn false;\n
-\t\t\t\t\t\t} else if ($(this).parent().attr("id") == "jx-hid-con-id") {\n
-\t\t\t\t\t\t\treturn false; // do nothing\n
-\t\t\t\t\t\t}\n
-\t\t\t\t\t\t\n
-\t\t\t\t\t\tif ($("a", this).exists()) { // check if there are A tag (href) to follow\n
-\t\t\t\t\t\t\twindow.location = $(this).find("a:first").attr("href"); // emulate normal click event action (e.g. follow link)\n
-\t\t\t\t\t\t}\n
-\t\t\t\t\t\treturn false;\n
-\t\t\t\t\t});\n
-\t\t\t\t\t\n
-\t\t\t\t});\n
-\t\t\t\t\n
-\t\t\t}; // end method construct\n
-\t\t\t\n
-\t\t\t/**\n
-\t\t\t * additional public methods\n
-\t\t\t */\n
-\t\t\t\n
-\t\t\t// get jixedbar\'s options (variables)\n
-\t\t\tthis.getOptions = function() {\n
-\t\t\t\treturn options;\n
-\t\t\t};\n
-\t\t\t\n
-\t\t\t// check if IE6\n
-\t\t\tthis.isIE6 = function() {\n
-\t\t\t\treturn ie6;  \n
-\t\t\t};\n
-\n
-\t\t\t// check if IE7\n
-\t\t\tthis.isIE7 = function() {\n
-\t\t\t\treturn ie7;\n
-\t\t\t};\n
-\t\t\t\n
-\t\t\t// check if there are active button\n
-\t\t\tthis.hasActiveButton = function() {\n
-\t\t\t\treturn button_active;\n
-\t\t\t};\n
-\t\t\t\n
-\t\t\t// return active button name\n
-\t\t\tthis.getActiveButtonName = function() {\n
-\t\t\t\treturn active_button_name;\n
-\t\t\t};\n
-\t\t\t\n
-\t\t\t// get tooltip container object\n
-\t\t\tthis.getTooltipObject = function() {\n
-\t\t\t\treturn $("#jx-ttip-con-id");\n
-\t\t\t};\n
-\t\t\t\n
-\t\t\t// create object container\n
-\t\t\tthis.createObjectContainer = function(name) {\n
-\t\t\t\tname = typeof(name) != \'undefined\' ? name : "jx-obj-con-id"; // default object container name\n
-\t\t\t\t// create custom object container\n
-\t\t\t\t$("<div />").attr("id", name).appendTo("body"); // create div element and append in html body\n
-\t\t\t\t$("#" + name).css({ // CSS for tooltip container (invisible to viewer(s))\n
-\t\t\t\t\t"height": "auto",\n
-\t\t\t\t\t"margin-left": "0px",\n
-\t\t\t\t\t"width": "100%", // use entire width\n
-\t\t\t\t\t"overflow": constants["constOverflow"],\n
-\t\t\t\t\t"position": pos\n
-\t\t\t\t});\n
-\t\t\t\t\n
-\t\t\t\t// set custom object container: top or bottom\n
-\t\t\t\tif (defaults.showOnTop) { // show on top?\n
-\t\t\t\t\t$("#" + name).css({\n
-\t\t\t\t\t\t"margin-top": $(element_obj).height() + 6, // put spacing between tooltip container and fixed bar\n
-\t\t\t\t\t\t"top": constants["constBottom"]\n
-\t\t\t\t\t});\n
-\t\t\t\t} else { // else bottom\n
-\t\t\t\t\t$("#" + name).css({\n
-\t\t\t\t\t\t"margin-bottom": $(element_obj).height() + 6, // put spacing between tooltip container and fixed bar\n
-\t\t\t\t\t\t"bottom": constants["constBottom"]\n
-\t\t\t\t\t});\n
-\t\t\t\t}\n
-\t\t\t\treturn $("#" + name); // return object reference\n
-\t\t\t};\n
-\t\t\t\n
-\t\t\t\n
-\t\t} // end jixedbar plugin method\n
-\n
-\t}); // end jquery extend method\n
-\t\n
-$.fn.extend({ // extend jQuery.fn object\n
-    jixedbar: $.jixedbar.construct\n
-});\n
-\t\n
-})(jQuery); // end of anonymous function\n
-\n
-/**\n
- * Element/selector checker - check if element/selector exists\n
- */\n
-jQuery.fn.exists = function(){return jQuery(this).length>0;};\n
-\n
-/**\n
- * Create a cookie\n
- */\n
-jQuery.fn.createCookie = function(cookie_name, value) {\n
-\tvar expiry_date = new Date(2037, 01, 01); // virtually, never expire!\n
-\tdocument.cookie = cookie_name + "=" + escape(value) + ";expires=" + expiry_date.toUTCString();\n
-};\n
-\n
-/**\n
- * Check cookie\n
- */\n
-jQuery.fn.checkCookie = function(cookie_name) {\n
-\tif (document.cookie.length > 0) {\n
-  \t\tcookie_start = document.cookie.indexOf(cookie_name + "=");\n
-  \t\t\tif (cookie_start != -1) {\n
-    \t\t\tcookie_start = cookie_start + cookie_name.length + 1;\n
-    \t\t\tcookie_end = document.cookie.indexOf(";", cookie_start);\n
-    \t\t\tif (cookie_end == -1) {\n
-    \t\t\t\tcookie_end = document.cookie.length;\n
-    \t\t\t\treturn true;\n
-    \t\t\t}\n
-\t\t\t}\n
-  \t}\n
-\treturn false;\n
-};\n
-\n
-/**\n
- * Extract cookie value\n
- */\n
-jQuery.fn.extractCookieValue = function(value) {\n
-\t  if ((endOfCookie = document.cookie.indexOf(";", value)) == -1) {\n
-\t     endOfCookie = document.cookie.length;\n
-\t  }\n
-\t  return unescape(document.cookie.substring(value, endOfCookie));\n
-};\n
-\n
-/**\n
- * Read cookie\n
- */\n
-jQuery.fn.readCookie = function(cookie_name) {\n
-\t  var numOfCookies = document.cookie.length;\n
-\t  var nameOfCookie = cookie_name + "=";\n
-\t  var cookieLen = nameOfCookie.length;\n
-\t  var x = 0;\n
-\t  while (x <= numOfCookies) {\n
-\t        var y = (x + cookieLen);\n
-\t        if (document.cookie.substring(x, y) == nameOfCookie)\n
-\t           return (this.extractCookieValue(y));\n
-\t           x = document.cookie.indexOf(" ", x) + 1;\n
-\t           if (x == 0){\n
-\t              break;\n
-\t           }\n
-\t  }\n
-\t  return (null);\n
-};\n
-\n
-/**\n
- * Generate random ID\n
- */\n
-jQuery.fn.genRandID = function() {\n
-\tvar id = "";\n
-\tvar str = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";\n
-\tfor(var i=0; i < 24; i++) {\n
-\t\tid += str.charAt(Math.floor(Math.random() * str.length));\n
-\t}\n
-    return id;\n
-};\n
-\n
-// end jixedbar jquery plugin
-
-]]></string> </value>
-        </item>
-        <item>
-            <key> <string>precondition</string> </key>
-            <value> <string></string> </value>
-        </item>
-        <item>
-            <key> <string>size</string> </key>
-            <value> <int>30974</int> </value>
-        </item>
-        <item>
-            <key> <string>title</string> </key>
-            <value> <string>jixedbar plugin</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>

Removed: experimental/bt5/erp5_jquery_jixedbar/SkinTemplateItem/portal_skins/erp5_jquery_jixedbar/themes.xml
URL: http://svn.erp5.org/experimental/bt5/erp5_jquery_jixedbar/SkinTemplateItem/portal_skins/erp5_jquery_jixedbar/themes.xml?rev=39817&view=auto
==============================================================================
--- experimental/bt5/erp5_jquery_jixedbar/SkinTemplateItem/portal_skins/erp5_jquery_jixedbar/themes.xml [utf8] (original)
+++ experimental/bt5/erp5_jquery_jixedbar/SkinTemplateItem/portal_skins/erp5_jquery_jixedbar/themes.xml (removed)
@@ -1,26 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <global name="Folder" module="OFS.Folder"/>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>_objects</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>themes</string> </value>
-        </item>
-        <item>
-            <key> <string>title</string> </key>
-            <value> <string></string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>

Removed: experimental/bt5/erp5_jquery_jixedbar/bt/comment
URL: http://svn.erp5.org/experimental/bt5/erp5_jquery_jixedbar/bt/comment?rev=39817&view=auto
==============================================================================
--- experimental/bt5/erp5_jquery_jixedbar/bt/comment [utf8] (original)
+++ experimental/bt5/erp5_jquery_jixedbar/bt/comment (removed)
@@ -1 +0,0 @@
-XXX Nicolas is available to port this BT to fit upcoming jquery guidelines when jquery & jquery_ui core BTs have been ported.
\ No newline at end of file




More information about the Erp5-report mailing list