Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-368

Header component can not listen mouseout

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 5.0.8
    • 5.0.7.1
    • Components
    • None

      As the follow code, when I listen onMouseOut event on label, it will log message well.
      But when I listen onMouseOut event on listheader, it can not show log message.
      I just can listen the onMouseOver event.
      <zk>
      <listbox>
      <listhead>
      <listheader id="lh" label="header"/>
      </listhead>
      </listbox>
      <label id="lbl" value="label"/>
      <div id="log"/>
      <script>
      <![CDATA[
      function mOver(){
      jq('$log').text('over');
      }
      function mOut(){
      jq('$log').text('out');
      }
      zk.afterMount(
      function(){
      zk.Widget.$('$lh').listen(

      { onMouseOver:mOver ,onMouseOut:mOut }

      );
      zk.Widget.$('$lbl').listen(

      { onMouseOver:mOver ,onMouseOut:mOut }

      );
      }
      );
      ]]>
      </script>
      </zk>

            jumperchen jumperchen
            karry karry
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: