提交 29548ebc 编写于 作者: K kohsuke

tooltip does not require a tag anymore --- any HTML element can get a tooltip...

tooltip does not require a tag anymore --- any HTML element can get a tooltip just by having the 'tooltip' attribute.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3429 71c3de6d-444a-0410-be80-ed276b4c234a
上级 2472685f
<!--
generates script fragment to display a tooltip
Attributes:
@id: HTML ID of the target of the popup. For ID generation you can use:
<j:set var="id" value="${h.generateId()}"/>
Body:
HTML to be displayed as tooltip. Note that there cannot be any newline in it,
so you have to write <t:tooltip>...</t:tooltip>, not
<t:tooltip>
...
</t:tooltip>
-->
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
<script>
makeTooltip("${id}","<d:invokeBody/>");
</script>
</j:jelly>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册