Loading ...
Sorry, an error occurred while loading the content.

Re: [ydn-javascript] Re: YAHOO is not defined problem

Expand Messages
  • Fernando Molina
    Hi, You have an extra space at: var oMenu = new YAHOO.widget. Menu( regionmenu , { fixedcenter: true, visible:true }); bye ... De: ramkumarez
    Message 1 of 6 , Jun 4, 2007
    • 0 Attachment
      Hi,

          You have an extra space at: var oMenu = new YAHOO.widget. Menu("regionmenu ", {
      fixedcenter: true, visible:true });

      bye

      ----- Mensaje original ----
      De: ramkumarez <ramkumarez@...>
      Para: ydn-javascript@yahoogroups.com
      Enviado: lunes, 4 de junio, 2007 14:50:38
      Asunto: [ydn-javascript] Re: YAHOO is not defined problem

      --- In ydn-javascript@ yahoogroups. com, "tssha" <tsha@...> wrote:
      >
      > --- In ydn-javascript@ yahoogroups. com, "ramkumarez" <ramkumarez@ >
      > wrote:
      > >
      > > Hi,
      > >
      > > I am new to YUI and playing around with it. when i try to build an
      > > example of Menu control, it says YAHOO is not defined in Fire Fox
      error
      > > console.
      > >
      > > Could some one please help me out?
      > >
      > > Following are the code snippet
      > >
      > >
      > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional/ /EN">
      > > <html>
      > > <head>
      > > <link rel="stylesheet" type="text/css"
      > > href="H:\rk_ eclipse_workspac e\yui\yui\ build\fonts\ fonts.css" >
      > > <link rel="stylesheet" type="text/css"
      > > href="H:\rk_ eclipse_workspac e\yui\yui\ build\reset\ reset.css" >
      > > <link rel="stylesheet" type="text/css"
      > > href="H:\rk_ eclipse_workspac e\yui\yui\ build\menu\ menu.css" >
      > >
      > > <script type="text/javascri pt"
      > > src="H:\rk_eclipse_ workspace\ yui\yui\build\ yahoo\yahoo. js"></script>
      > > <script type="text/javascri pt"
      > > src="H:\rk_eclipse_ workspace\ yui\yui\build\ event\event. js"></script>
      > > <script type="text/javascri pt"
      > > src="H:\rk_eclipse_ workspace\ yui\yui\build\ dom\dom.js" ></script>
      > > <script type="text/javascri pt"
      > >
      >
      src="H:\rk_eclipse_ workspace\ yui\yui\build\ container\ container_ core.js"> \
      > > </script>
      > > <script type="text/javascri pt"
      > > src="H:\rk_eclipse_ workspace\ yui\yui\build\ menu\menu. js"></script>
      >
      > Try reordering the script load sequence to:
      > * yahoo.js
      > * dom.js
      > * event.js
      >
      > Or use the concatenated file "yahoo-dom-event. js".
      >
      > Does that resolve the error?
      >
      > Regards,
      > Thomas
      >

      Hi Thomas,

      Thank you so much for your prompt response. Much appreciated.

      I tried to re-order yahoo.js, dom.js and event.js. it did not solve
      the problem. i either tried to put yahoo-dom-event. js also

      now i am getting a text saying "submenu-collapsed. click to expand
      sub-menu and in Firefox the display is getting screwed up.

      Could you please help me out, as i am really struggling out with this?

      Is there any compatible issues with browser?

      My m/c setup is as follows:

      I have downloaded 2.2.2 YUI
      Win XP
      IE 6
      Fire Fox with Firebug installed

      Thanks,
      Ramkumar



      __________________________________________________
      Correo Yahoo!
      Espacio para todos tus mensajes, antivirus y antispam ¬°gratis!
      Regístrate ya - http://correo.espanol.yahoo.com/
    Your message has been successfully submitted and would be delivered to recipients shortly.