Hi, I had been having a similar problem while doing a popup new window using javascript. I beleive it is because jetspeed sends information to the server while doing the expand tree javascript stuff. But I implemented a similar tree structure menu without jetspeed reloading. I think if you use try using some other functions instead of the ones you are using now, it might work in yourt javascript. I am also pretty lost when it reloads and when it doesn't. If you post me your javascript function I can help you better. Robin Antony Software Engineer www.newgsystem.com
----- Original Message ----- From: "Liu, Richard" <[EMAIL PROTECTED]> To: "Jetspeed Users List" <[EMAIL PROTECTED]> Sent: Tuesday, February 10, 2004 3:57 PM Subject: RE: Javascript in top.vm Hi Stijn, Thanks for your response. Attached is a portion of our vm file. As you will see, function initTraverse() generates the submenu navigation. The submenu is initially displayed for less than 1 second. After the page is reloaded, it disappears. Thanks, Richard -----Original Message----- From: Stijn de Witt [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 10, 2004 5:16 PM To: Jetspeed Users List Subject: Re: Javascript in top.vm I've been messing with JavaScript and Jetspeed too. I guess this has got something to do with your action=".." html attributes...Could you post the html source? -Stijn ----- Original Message ----- From: "Liu, Richard" <[EMAIL PROTECTED]> To: "Jetspeed Users List" <[EMAIL PROTECTED]> Sent: Tuesday, February 10, 2004 10:43 PM Subject: Javascript in top.vm HiAll, We have implemented top.vm to display a multi-level menu for the top navigation. When one menu item is selected, its submenu items are expanded and displayed. We implemented this using JavaScript. However, the expanded submenu disappears immediately and the page is reloaded. What is the underlying mechanism which leads to this reloading? Any suggestions are highly appreciated. Richard --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ---------------------------------------------------------------------------- ---- > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]