1
|
$(document).ready(function()
|
2
|
{
|
3
|
|
4
|
if($(".jcalendar").length) {
|
5
|
$.insert(WB_URL+"/include/jscalendar/calendar-system.css");
|
6
|
}
|
7
|
|
8
|
if($(".jsadmin").length) {
|
9
|
$.insert(WB_URL+"/modules/jsadmin/backend.css");
|
10
|
}
|
11
|
/*
|
12
|
if($("a[rel^='lightbox']").length) {
|
13
|
$.insert(WB_URL+"/include/jquery/plugins/jquery-slimbox2.css");
|
14
|
$.insert(WB_URL+"/include/jquery/plugins/jquery-slimbox2-min.js");
|
15
|
}
|
16
|
if($("textarea.markitup").length) {
|
17
|
$.insert(WB_URL+'/modules/markitup/latest/skins/markitup/style.css');
|
18
|
$.insert(WB_URL+'/modules/markitup/latest/sets/default/style.css');
|
19
|
$.insert(WB_URL+'/modules/markitup/latest/jquery.markitup.pack.js');
|
20
|
$.insert(WB_URL+'/modules/markitup/latest/sets/default/set.js');
|
21
|
|
22
|
// Add markItUp! to your textarea in one line
|
23
|
// $('textarea.markitup').markItUp( { Settings }, { OptionalExtraSettings } );
|
24
|
$('textarea.markitup').markItUp(mySettings);
|
25
|
|
26
|
}
|
27
|
*/
|
28
|
});
|