Re: Javascript error on coolMenu4!!!

Matt Raible <lists-T7vlz3gD7BdF/EzeuO4KJwC/[email protected]>
Newsgroups gmane.comp.java.struts-menu.user
Message-ID <[email protected]>
I'm glad you figured this out - and I'm sorry I didn't have time to 
figure it out for you. ;-)

Matt

On Apr 20, 2005, at 2:18 AM, Gaet wrote:

> Hi,
>
> I have solved my problem!
>
> sorry, it was my mistake! In fact my displayer was still define for
> coolmenu2, e.g. like this :
>
> <Displayer name="BarreMenuDynamique"
> type="net.sf.navigator.displayer.CoolMenuDisplayer"/>
>
> instead of
>
> <Displayer name="BarreMenuDynamique"
> type="net.sf.navigator.displayer.CoolMenuDisplayer4"/>
>
> Thanks for your help and hope this will avoid other developpers to 
> search
> the mistake for hours like me!
> Gaet'
>
> ----- Original Message -----
> From: "Gaet" <[email protected]>
> To: <struts-menu-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
> Sent: Tuesday, April 19, 2005 6:12 PM
> Subject: [struts-menu] Javascript error on coolMenu4!!!
>
>
>> Matt,
>>
>> Here is the code of my coolmenu4.jsp file (renammed into
> "example_menu.jsp"
>> but I believe there is no impact)
>>
>> Moreover, I have copied the required css and javascript files into my
>> application location...I believe there is no impacts too...I have not
>> changed these files...Thanks
>>
>> <%@ page contentType="text/html; charset=UTF-8" %>
>> <%@ taglib uri="http://struts-menu.sf.net/tag" prefix="menu" %>
>> <html>
>> <head>
>> <title>Struts Menu Examples</title>
>> <link rel="stylesheet" type="text/css" media="screen"
>> href="./includes/css/global.css" />
>> <script type="text/javascript"
>> src="./includes/javascript/coolmenus4.js"></script>
>> <script type="text/javascript"
>> src="./includes/javascript/cm_addins.js"></script>
>> </head>
>> <body>
>> <!-- Custom Configuration for this example, must come after body to 
>> work
> in
>> IE -->
>> <script type="text/javascript"
>> src="./includes/javascript/coolmenu4-config.js"></script>
>>
>>
>>
>> <menu:useMenuDisplayer name="BarreMenuDynamique"
>> bundle="org.apache.struts.action.MESSAGE">
>> <menu:displayMenu name="MenuPresentation"/>
>> <menu:displayMenu name="MenuServices"/>
>> <menu:displayMenu name="MenuTextesLegaux"/>
>> <menu:displayMenu name="MenuContact"/>
>> </menu:useMenuDisplayer>
>>
>> </body>
>> </html>
>>
>> ----- Original Message -----
>> From: "Matt Raible" <lists-T7vlz3gD7BdF/EzeuO4KJwC/[email protected]>
>> To: <struts-menu-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
>> Sent: Tuesday, April 19, 2005 5:56 PM
>> Subject: Re: [struts-menu] Javascript error on coolMenu4!!!
>>
>>
>> I'm confident that the implementation in Struts Menu is correct since
>> it works in the sample app.  Can you review the example (or demo) and
>> see how your code is different?
>>
>> http://demo.raibledesigns.com/struts-menu/coolmenu4.jsp
>>
>> Matt
>>
>> On Apr 19, 2005, at 8:47 AM, Gaet wrote:
>>
>>> I have tried to define "cmTopMenuImage = 0" in one of the javascript
>>> file but now I have "cmBGColorOff" that is undefined!!!!!!!!
>>>
>>> I'm pretty sure that a javscript is missing in the distribution
>>> because I have not found these variables in any of the distribution's
>>> files !!
>>>
>>> Thanks to help me!
>>>> ----- Original Message -----
>>>> From: Gaet
>>>> To: Mailing List Struts-Menu
>>>> Sent: Tuesday, April 19, 2005 4:35 PM
>>>> Subject: [struts-menu] Javascript error on coolMenu4!!!
>>>>
>>>> Hello,
>>>>
>>>> I have already post this question but it still doesn't work so...
>>>>
>>>> When trying to use the coolMenu4.jsp I always have the following
>>>> javascript error :
>>>> 'cmTopMenuImage' is undefined
>>>>
>>>> What am I doing wrong?
>>>>
>>>> Thanks for your help!
>>>>
>>>> Gaet'
>>
>>
>>
>> -------------------------------------------------------
>> This SF.Net email is sponsored by: New Crystal Reports XI.
>> Version 11 adds new functionality designed to reduce time involved in
>> creating, integrating, and deploying reporting solutions. Free runtime
> info,
>> new features, or free trial, at: 
>> http://www.businessobjects.com/devxi/728
>> _______________________________________________
>> struts-menu-user mailing list
>> struts-menu-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>> https://lists.sourceforge.net/lists/listinfo/struts-menu-user
>>
>>
>>
>> -------------------------------------------------------
>> This SF.Net email is sponsored by: New Crystal Reports XI.
>> Version 11 adds new functionality designed to reduce time involved in
>> creating, integrating, and deploying reporting solutions. Free runtime
> info,
>> new features, or free trial, at: 
>> http://www.businessobjects.com/devxi/728
>> _______________________________________________
>> struts-menu-user mailing list
>> struts-menu-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>> https://lists.sourceforge.net/lists/listinfo/struts-menu-user
>>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: New Crystal Reports XI.
> Version 11 adds new functionality designed to reduce time involved in
> creating, integrating, and deploying reporting solutions. Free runtime 
> info,
> new features, or free trial, at: 
> http://www.businessobjects.com/devxi/728
> _______________________________________________
> struts-menu-user mailing list
> struts-menu-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/struts-menu-user



-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.