[Zope] does zope support java script
Andreas Jung
lists at zopyx.com
Tue Jul 17 05:57:25 EDT 2007
--On 17. Juli 2007 12:26:34 +0300 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]
This has nothing to do with Zope. Trible check that you can access the JS
files seperatly. In addition use the various debugging options (e.g. Firebug
to investigate if the files are loaded properly).
-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20070717/19f75537/attachment.bin
More information about the Zope
mailing list