From: Kevin <ke...@ke...> - 2005-01-29 13:32:58
|
Hi Raymond, Looks good. When your done post a link to an example page. May stir up some interest. Kevin > 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 |