0

Load my javascript

asked 2013-09-04 08:53:22 +0800

ashumalankar gravatar image ashumalankar
11 1

I have one zul file called index.zul in which i have created html ul tag. Each li tag consist of one image and text. I have javascript which act as content slider for those li content. This works fine for HTML file. But it does not work in zul file. How can i do that slider in zul ??

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-09-04 09:13:22 +0800

roliroli gravatar image roliroli
164 4

http://books.zkoss.org/wiki/ZKClient-sideReference/GeneralControl/JavaScriptPackaging

<!-- foo.zul -->
<?script type="text/javascript" src="/myjs/foo.js"?>
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: 2013-09-04 08:53:22 +0800

Seen: 9 times

Last updated: Sep 04 '13

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