From: Benoit M. <mar...@ma...> - 2005-02-07 22:39:54
|
I recommend that article in light of a more "inline" approach: http://www.alistapart.com/articles/scripttriggers/ On Wednesday, January 26, 2005, at 01:43 PM, Raymond Irving wrote: > 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 > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > > Benoit |