0

how to use 3rd javascript in zul

asked 2014-09-01 18:33:08 +0800

y13700026929 gravatar image y13700026929
21

updated 2014-09-01 22:14:10 +0800

chillworld gravatar image chillworld flag of Belgium
5307 4 9
https://github.com/chillw...

how to user 3rd part js plugins in zul, such as PrintArea.js.i try to do that for several days.but get nothing. i do it as blow,and i got a clents busy for ever.

<?page title="Auto Generated index.zul"?>
<?script type="text/javascript" src="printarea.js"?>
<zk>
    <script type="text/javascript" >

       zk.afterMount(function() {
           zk.Widget.$('$echo').printarea();
       });

       print = function(){
       zk.Widget.$('$echo').printarea();
    };

    </script>

    <window>
        <button label="print" xmlns:w="http://www.zkoss.org/2005/zk/client" w:onClick="print()"/>
        <textbox id="echo"/>        
    </window>
</zk>
delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-09-02 08:44:51 +0800

IngoB gravatar image IngoB flag of Germany
256 6

http://forum.zkoss.org/question/90346/is-zk-support-with-threejs/

Maybe this helps

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
1 follower

RSS

Stats

Asked: 2014-09-01 18:33:08 +0800

Seen: 14 times

Last updated: Sep 02 '14

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