CXM_jquery_jqplot.anubis
1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/*
* Created by PyramIDE.
* User: Totoro
* Date: 17/05/2014
* Time: 12:19
*
*/
read calexium_lib/web/CXM_making_a_web_site.anubis
read tools/basis.anubis
public define HTML_Partial_Content
jqplot
(
String img_url,
String label_text,
String action
)=
partial_content(
[
js_inline(jquery_ready("$('#jq_img_btn').button();"))
],
div([id("jq_img_btn")],
table([
row( cell( actioner(same,same, img_link(img_url, label_text), action, []))),
row( cell( actioner(same,same, link(label_text), action, [])))
]
)
))
.
public define HTML_Head_Tag
jqplot_plugin
(
String plugin
)=
js(js_file("/js/jquery/jqplot/plugins/jqplot."+plugin+".min.js"))
.
/* jQuery default js files */
public define List(HTML_Head_Tag)
jqplot_init
=
[
js(js_file("/js/jquery/jqplot/jquery.jqplot.min.js")),
css(css_file("/js/jquery/jqplot/jquery.jqplot.min.css")),
].
/* jQuery default js files, non minified version */
public define List(HTML_Head_Tag)
jqplot_init_debug
=
[
js(js_file("/js/jquery/jqplot/jquery.jqplot.js")),
css(css_file("/js/jquery/jqplot/jquery.jqplot.css")),
].
/* Initialize jQuery in compatiblity mode with jQueryUI */
public define List(HTML_Head_Tag)
jqplot_init
=
jqplot_defaults.