Overview of features
Home
Read this first
About
web2py is 100% free
Download
Start learning web2py today
Documentation
Authors and contributors
Staff
Affiliated companies
Support
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/>