From: Raymond I. <xw...@ya...> - 2005-01-26 21:43:26
|
Hi Kevin, > Any ASP.NET? tutorials to help us unix peeps. :) This one is very straight forward. No help files needed - lol You just simple include the webelm.js file and you're ready to go: A quick and easy news ticker example: <script> document.setIncludePath("../core/"); var tk; function document_oninit(){ document.include("Ticker"); } function document_onload(){ tk = new Ticker("mytick"); tk.addMessage("Simple and easy JavaScript"); tk.addMessage("Lightweight API"); tk.addMessage("DHTML made simple"); tk.addEventListener("onclick"); } function ticker_onclick(e){ alert("You've selected message # "+ e.instance); } </script> inside your html: <p><script>Ticker.Render("mytick",400,50)</script></p> That's it! all event driven __ Raymond Irving |