AlterEgo
old web2py blog
Useful Links
List all entries
Book
Interactive Examples
F.A.Q.
Free Applications
Plugins
Recipes
Demo of Admin Interface
Semantic web extension
Some of the information here may be outdated, please check the book instead
Edit page
Title:
Security Code:
Body:
(use
this
wiki markup)
Since version 1.28 web2py ships with jQuery core libraries. We find jquery to be small, efficient and very intuitive to use. According to this <http://google-code-updates.blogspot.com/2007/11/my-how-weve-grown.html> Google uses jQuery too. Here are a list of jQuery plugins that you may find useful: - for datepicker read <http://mdp.cti.depaul.edu/AlterEgo/default/show/79> - for plotting <http://code.google.com/p/flot/> - for grid <http://webplicity.net/flexigrid/> - for menu <http://www.dynamicdrive.com/dynamicindex17/ddaccordionmenu.htm> - for sortable lists <http://interface.eyecon.ro/demos/sort.html> Here is a sample javascript scroller with jQuery to give you and idea: <ul id="ticker"><li>News Item 1</li><li>News Item 2</li><li>News Item 3</li></ul> <script language="javascript"> var newsitems, curritem=0; $(document).ready(function(){ newsitems = $("#ticker li").hide().size(); $("#ticker li:eq("+curritem+")").slideDown(); setInterval(function() { $("#ticker li:eq("+curritem+")").slideUp(); curritem = ++curritem%newsitems; $("#ticker li:eq("+curritem+")").slideDown(); },2000); //time in milliseconds }); </script> Additional readings: <http://15daysofjquery.com/>
© 2008-2010 by Massimo Di Pierro - All rights reserved - Powered by
web2py
- design derived from a theme by
the earlybird
The content of this book is released under the
Artistic License 2.0
- Modified content cannot be reproduced.