[Zope] does zope support java script

Tim Nash thedagdae at gmail.com
Tue Jul 17 13:51:41 EDT 2007


Mohammed,

yes, firebug is your best friend when doing javascript development!

I am wondering if the script call in your html is calling the correct location?

I suggest serving javascript from apache. Then you can just make a
header dtml page that calls those javascript files. Any zope page that
needs the javascript can just use that header. Zope and javascript
compliment each other quite well. The more processing you can push
onto your client the more zope can scale.

Tim



On 7/17/07, Mohammed Tlais <m.tlais at gmail.com> wrote:
> Hi, thank you Andreas for replying
>
> Well I will try to explain the matter in details.
>
> I have an html page called DropDownMenu.html and it calls two js files,
> these three files (DropDownMenu.html, exmplmenu2_var.js, menu_com.js) are
> added into Zope (ADD >> FILE)into the same folder, when I execute it,
> DropDownMenu displays an emply page. Outside zope it executes normally and
> displays a menu.
>
> Here is the code of the DropDownMenu :
>
> [code]
>
>
> <html>
> <head>
> </head>
> <body bgcolor="gray">
>
> <script type='text/javascript'>
>
> function Go(){return}
>
> </script>
> <script type='text/javascript'
> src='exmplmenu2_var.js'></script>
> <script type='text/javascript' src='menu_com.js'></script>
> <noscript>Votre naviguateur ne supporte pas les scripts</noscript>
> </body>
> </html>[/code]
>
> Thanks for all
> On 7/17/07, Andreas Jung <lists at zopyx.com> wrote:
> > Javascript has nothing to do with Zope. Javascript is client-side, Zope is
> > sever-side. Your browser will this exactly that content that you put into
> > Zope. Your description is far too vague in order give further help.
> >
> > -aj
> >
> > --On 17. Juli 2007 08:26:37 +0300 Mohammed Tlais < m.tlais at gmail.com>
> wrote:
> >
> > > ---------- Forwarded message ----------
> > > From: Mohammed Tlais < m.tlais at gmail.com>
> > > Date: Jul 16, 2007 2:36 PM
> > > Subject: does zope support java script
> > > To: zope-request at zope.org
> > >
> > > Greetings
> > >
> > > I have a web page that contains some java script code, when I add it to
> > > zope, it will not be displayed at all, what should be done to allow java
> > > scripts in zope?
> > >
> >
> >
> >
>
>
> _______________________________________________
> Zope maillist  -  Zope at 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 )
>
>


More information about the Zope mailing list