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