0

Toggled Popup - Close ONLY on toggling, not on focus lost

asked 2014-08-31 11:15:16 +0800

lukash gravatar image lukash
1

If some sort of client-side programming is necessary, please note that I am not very familiar with it. That means, complete code snippet - not only a hint - would be appreciated. Thank you very much in advance, guys!

<zk> <window> <button id="buttonShowHideAlertSetting" label="Show/Hide" popup="alertSettingPopup, type=toggle, position=after_center"> </button> <popup id="alertSettingPopup"> <include/> </popup> </window> </zk>

delete flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2014-09-07 11:11:04 +0800

Darksu gravatar image Darksu
1991 1 4

Hello ukash,

You can use the following example in order to accomplish your task:

<zk> 
<window> 
<button id="buttonShowHideAlertSetting" label="Show/Hide" tooltip="mail" > </button> 

<popup id="mail" width="300px">
        <html><![CDATA[
            Please enter real email address. <br /> The validator
            allow multiple email addresses separated by semi-colons
            (<font color="red">;</font>).<br /> For
            Example:<u>zk@zkoss.org</u>;<u>info@zkoss.org</u>
        ]]></html>
    </popup>
</window> 
</zk>

Best Regards,

Darksu

link publish delete flag offensive edit
0

answered 2014-09-07 12:23:18 +0800

lukash gravatar image lukash
1

Hallo Darksu!

The code you suggested adds a tooltip to a button. That is not what I am looking for. Thank you anyway.

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
2 followers

RSS

Stats

Asked: 2014-08-31 11:15:16 +0800

Seen: 11 times

Last updated: Sep 07 '14

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More