from jquery_helper import Dispatcher
from paste.httpserver import serve
js = '$("h3").click(function(event){ $(this).hide("slow"); });'
root = ('
Root Page
Go to some other page', js)
page = ('Other page
Go back to the root page', js)
if __name__ == '__main__':
app = Dispatcher('/tmp', root)
app.add('other-page', page)
serve(app, '', 8000)