Hi would like to know how to put multiple dynamic drop down boxes in zope using dtml or python scripts(if possible) scheme: box1:----> box2 --> box3 --> ... call database and fill call database and fill thanks O SAPO já está livre de vírus com a Panda Software, fique você também! Clique em: http://antivirus.sapo.pt
----- Original Message ----- From: "cla" <clark2@net.sapo.pt>
Hi would like to know how to put multiple dynamic drop down boxes in zope using dtml or python scripts(if possible)
scheme:
box1:----> box2 --> box3 --> ... call database and fill call database and fill
You need a comination of dtml and javascript to do this. The drop-down/across menu structure is built/controlled by the js code while the menu content is provided by dtml. I would suggest that you start by googling for js menu scripts, get static menus working 1st, then add in the dtml to provide menu content. The dtml is relatively simple. The js not quite so simple (js complexity will also depend on which browsers/versions you want to support). hth Jonathan
Jonathan Hobbs wrote:
You need a comination of dtml and javascript to do this. The drop-down/across menu structure is built/controlled by the js code while the menu content is provided by dtml. I would suggest that you start by googling for js menu scripts, get static menus working 1st,
Personally, I find this one very good: http://www.mattkruse.com/javascript/dynamicoptionlist/
then add in the dtml to provide menu content.
...but I'd use a python script to generate any JS and a ZPT to generate the page ;-) Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
Dne středa, 23. února 2005 16:40 "Jonathan Hobbs" <toolkit@magma.ca> napsal(a):
----- Original Message ----- From: "cla" <clark2@net.sapo.pt>
Hi would like to know how to put multiple dynamic drop down boxes in zope using dtml or python scripts(if possible)
scheme:
box1:----> box2 --> box3 --> ... call database and fill call database and fill
You need a comination of dtml and javascript to do this. The drop-down/across menu structure is built/controlled by the js code while the menu content is provided by dtml. I would suggest that you start by googling for js menu scripts, get static menus working 1st, then add in the dtml to provide menu content.
Did you googling that? Try google for: lukesh zope menu Sorry for late response... -- Jaroslav Lukesh ----------------------------------------------------------- This e-mail can not contain any viruses because I use Linux
Am Dienstag, den 03.05.2005, 10:06 +0200 schrieb Jaroslav Lukesh:
Dne středa, 23. února 2005 16:40 "Jonathan Hobbs" <toolkit@magma.ca> napsal(a):
----- Original Message ----- From: "cla" <clark2@net.sapo.pt>
Hi would like to know how to put multiple dynamic drop down boxes in zope using dtml or python scripts(if possible)
scheme:
box1:----> box2 --> box3 --> ... call database and fill call database and fill
You need a comination of dtml and javascript to do this. The drop-down/across menu structure is built/controlled by the js code while the menu content is provided by dtml. I would suggest that you start by googling for js menu scripts, get static menus working 1st, then add in the dtml to provide menu content.
Did you googling that? Try google for: lukesh zope menu
Sorry for late response...
Btw. you dont need no Javascript if you dont have to support old browser like IE and friends. It is possible in pure CSS. Google for CSS menu. alistapart.com is a good resource too. -- Tino Wildenhain <tino@wildenhain.de>
See if these might help: http://www.library.appstate.edu/js/topmenu.zip and a side menubar http://www.library.appstate.edu/js/menu.zip These are not multiple but probably could be edited to be multiple. Also, can't this be done with CSS alone? Thomas On Wed, 2005-02-23 at 09:37, cla wrote:
Hi would like to know how to put multiple dynamic drop down boxes in zope using dtml or python scripts(if possible)
scheme:
box1:----> box2 --> box3 --> ... call database and fill call database and fill
thanks
O SAPO já está livre de vírus com a Panda Software, fique você também! Clique em: http://antivirus.sapo.pt _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
participants (6)
-
Chris Withers -
cla -
Jaroslav Lukesh -
Jonathan Hobbs -
Thomas Bennett -
Tino Wildenhain