Thank you Tim, thank you Andreas, thanks for all. You gave me valuable information. <br><br>I figured out that the small browser inside ZMI has a problem with javascripts, it can't display them. But, when I visit the URL of the page from IE, the javascripts are executed normally. Am I right that ZMI can't displays JS ? and is there a solution for it.
<br><br><div><span class="gmail_quote">On 7/17/07, <b class="gmail_sendername">Tim Nash</b> <<a href="mailto:thedagdae@gmail.com">thedagdae@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Mohammed,<br><br>yes, firebug is your best friend when doing javascript development!<br><br>I am wondering if the script call in your html is calling the correct location?<br><br>I suggest serving javascript from apache. Then you can just make a
<br>header dtml page that calls those javascript files. Any zope page that<br>needs the javascript can just use that header. Zope and javascript<br>compliment each other quite well. The more processing you can push<br>onto your client the more zope can scale.
<br><br>Tim<br><br><br><br>On 7/17/07, Mohammed Tlais <<a href="mailto:m.tlais@gmail.com">m.tlais@gmail.com</a>> wrote:<br>> Hi, thank you Andreas for replying<br>><br>> Well I will try to explain the matter in details.
<br>><br>> I have an html page called DropDownMenu.html and it calls two js files,<br>> these three files (DropDownMenu.html, exmplmenu2_var.js, menu_com.js) are<br>> added into Zope (ADD >> FILE)into the same folder, when I execute it,
<br>> DropDownMenu displays an emply page. Outside zope it executes normally and<br>> displays a menu.<br>><br>> Here is the code of the DropDownMenu :<br>><br>> [code]<br>><br>><br>> <html>
<br>> <head><br>> </head><br>> <body bgcolor="gray"><br>><br>> <script type='text/javascript'><br>><br>> function Go(){return}<br>><br>> </script>
<br>> <script type='text/javascript'<br>> src='exmplmenu2_var.js'></script><br>> <script type='text/javascript' src='menu_com.js'></script><br>> <noscript>Votre naviguateur ne supporte pas les scripts</noscript>
<br>> </body><br>> </html>[/code]<br>><br>> Thanks for all<br>> On 7/17/07, Andreas Jung <<a href="mailto:lists@zopyx.com">lists@zopyx.com</a>> wrote:<br>> > Javascript has nothing to do with Zope. Javascript is client-side, Zope is
<br>> > sever-side. Your browser will this exactly that content that you put into<br>> > Zope. Your description is far too vague in order give further help.<br>> ><br>> > -aj<br>> ><br>> > --On 17. Juli 2007 08:26:37 +0300 Mohammed Tlais <
<a href="mailto:m.tlais@gmail.com">m.tlais@gmail.com</a>><br>> wrote:<br>> ><br>> > > ---------- Forwarded message ----------<br>> > > From: Mohammed Tlais < <a href="mailto:m.tlais@gmail.com">
m.tlais@gmail.com</a>><br>> > > Date: Jul 16, 2007 2:36 PM<br>> > > Subject: does zope support java script<br>> > > To: <a href="mailto:zope-request@zope.org">zope-request@zope.org</a><br>> > >
<br>> > > Greetings<br>> > ><br>> > > I have a web page that contains some java script code, when I add it to<br>> > > zope, it will not be displayed at all, what should be done to allow java
<br>> > > scripts in zope?<br>> > ><br>> ><br>> ><br>> ><br>><br>><br>> _______________________________________________<br>> Zope maillist - <a href="mailto:Zope@zope.org">
Zope@zope.org</a><br>> <a href="http://mail.zope.org/mailman/listinfo/zope">http://mail.zope.org/mailman/listinfo/zope</a><br>> ** No cross posts or HTML encoding! **<br>> (Related lists -<br>> <a href="http://mail.zope.org/mailman/listinfo/zope-announce">
http://mail.zope.org/mailman/listinfo/zope-announce</a><br>> <a href="http://mail.zope.org/mailman/listinfo/zope-dev">http://mail.zope.org/mailman/listinfo/zope-dev</a> )<br>><br>><br></blockquote></div><br>