12 private static $ver =
"2_1_4";
15 private static $min =
"-min";
29 $a_tpl->addJavaScript(self::getLocaljQueryPath(),
true, 1);
32 $major = explode(
"_", self::$ver);
33 $major = $major[0]*100+$major[1];
36 $path = str_replace(
"jquery",
"jquery-migrate", self::getLocaljQueryPath());
44 $a_tpl->addJavaScript(
$path,
true, 1);
55 $tpl->addJavaScript(self::getLocaljQueryUIPath(),
true, 1);
63 return "./Services/jQuery/js/".self::$ver.
"/jquery".self::$min.
".js";
71 return "./Services/jQuery/js/ui_".self::$ui_ver.
"/jquery-ui.min.js";
85 $tpl->addJavaScript(self::getLocalMaphilightPath(),
true, 1);
93 return "./Services/jQuery/js/maphilight_".self::$maphilight_ver.
"/maphilight.js";
static initjQueryUI()
Init jQuery UI (see included_components.txt for included components)
getLocalMaphilightPath()
Get local path of maphilight file.
static initMaphilight()
Init maphilight.
getLocaljQueryPath()
Get local path of jQuery file.
getLocaljQueryUIPath()
Get local path of jQuery UI file.
static initjQuery($a_tpl=null)
Init jQuery.