diff --git a/web/making_a_web_site.anubis b/web/making_a_web_site.anubis
index e4803b7..a6ea193 100644
--- a/web/making_a_web_site.anubis
+++ b/web/making_a_web_site.anubis
@@ -4716,12 +4716,14 @@ public define List(CoreAttrs)
//[" 0 then ["&width=",width,"\""] else ["\""]), ">"],
html_tooltip_ext(title, extend_type, class_suffix, ext_args) then //TODO
- []
- //with extra_args = format_extra_operands(ext_args),
- //[""]
+ //[]
+ with extra_args = format_extra_operands(ext_args),
+ [id("jTip"), class("jTipu jTip_"+class_suffix), data("name",title), data("href", "/?a=ajax_show_tooltip&tooltip_ext="+extend_type+extra_args)]
html_tooltip_ext(title, extend_type, ext_args) then //TODO
- []
+ with extra_args = format_extra_operands(ext_args),
+ [id("jTip"), class("jTipu"), data("name",title), data("href", "/?a=ajax_show_tooltip&tooltip_ext="+extend_type+extra_args)]
+// []
//with extra_args = format_extra_operands(ext_args),
//[""],
@@ -4745,17 +4747,17 @@ public define Printable_tree
if tooltip is
{
html_tooltip(title, keyword, width) then
- [" 0 then ["&width=",width,"\""] else ["\""]), ">"],
+ [" 0 then ["&width=",width,"\""] else ["\""]), ">"],
html_tooltip_ext(title, extend_type, class_suffix, ext_args) then
with extra_args = format_extra_operands(ext_args),
- [""]
+ [""]
html_tooltip_ext(title, extend_type, ext_args) then
with extra_args = format_extra_operands(ext_args),
- [""],
+ [""],
html_tooltip(title, web_action, extra_args) then
- [""],
+ [""],
}
.
diff --git a/web/widgets/css_helper.anubis b/web/widgets/css_helper.anubis
index af19f62..4a4e8d5 100644
--- a/web/widgets/css_helper.anubis
+++ b/web/widgets/css_helper.anubis
@@ -237,14 +237,14 @@ public define HTML_Partial_Content
actioner(same,same, link([id("help_" + keyword), class("jTip jTip_help"), attr("target", "_blank")], " ", success(title)), "ajax_show_tooltip", [("tooltip_id", keyword)], []).
-public define HTML_Off_Form
+ public define HTML_Off_Form
html_tooltip
(
String title,
String keyword,
Int width
) =
- a([id("help_"+keyword), class("jTipu jTip_help"), attr("name",title)], href(action_name("ajax_show_tooltip"), [("tooltip_id",keyword),("width",to_String(width))])).
+ a([id("help_"+keyword), class("jTipu jTip_help"), data("name",title)], data("href",format_web_action_name(action_name("ajax_show_tooltip"), [("tooltip_id",keyword),("width",to_String(width))]))).
// literal("").
@@ -269,7 +269,7 @@ public define HTML_In_Form
String keyword,
Int width,
) =
- literal("").
+ literal("").
actioner(same,same, link([id("help_" + keyword), class("jTip jTip_help"), attr("target", "_blank")], " ", success(title)), "ajax_show_tooltip", [("tooltip_id", keyword), ("width", to_decimal(width))], []).
@@ -291,7 +291,7 @@ public define HTML_Off_Form
List((String, String)) ext_args
) =
with extra_args = format_extra_operands(ext_args),
- literal("").
+ literal("").
actioner(same,same, link([id("help_" + keyword), class("jTip jTip_"+class_suffix), attr("target", "_blank")], " ", success(title)), "ajax_show_tooltip", [("tooltip_ext", keyword)] + ext_args, []).
@@ -313,7 +313,8 @@ public define HTML_In_Form
List((String, String)) ext_args
) =
with extra_args = format_extra_operands(ext_args),
- literal("").
+
+ literal("").
href=\"/?a=ajax_show_tooltip&tooltip_id="+keyword+"\" id=\"help_"+keyword+HELP_HMS_MODE" class="jTip jTip_help" target="_blank" name="Aide sur la fonctionnalité 'No Limit'"> ").
--
libgit2 0.21.4