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

Re: [ydn-javascript] Fw: [yws-maps] Conflict when using YUI TabView and Maps??

Expand Messages
  • Jon Herron
    Eric - Thanks, I will go ahead with the work around. Thanks, Jon Herron Left Turn Solutions - Home of the Eddy Framework http://www.leftturnsolutions.com
    Message 1 of 3 , Apr 30, 2007
      Eric -

        Thanks, I will go ahead with the work around.
       
      Thanks,

      Jon Herron

      Left Turn Solutions - Home of the Eddy Framework
      http://www.leftturnsolutions.com

      Offical Left Turn Solutions Development Blog
      http://360.yahoo.com/leftturnsolutions


      ----- Original Message ----
      From: Eric Miraglia <miraglia@...>
      To: ydn-javascript@yahoogroups.com
      Sent: Monday, April 30, 2007 9:45:37 AM
      Subject: Re: [ydn-javascript] Fw: [yws-maps] Conflict when using YUI TabView and Maps??

      Jon,


      In December I documented the current best practice when using the Yahoo! Maps AJAX API with an existing YUI implementation:


      I haven't looked at this with our current YUI release (2.2.2), but the underlying approach should still be sound.

      Let me know if that doesn't get you going in the right direction.

      Regards,
      Eric

      ____________ _________ _________ _________ _______
      Eric Miraglia
      Yahoo! User Interface Library



      On Apr 29, 2007, at 5:47 AM, Jon Herron wrote:


      All -

        I wanted to forward this to the javascript group as well, since I havn't heard much from the maps group and this might deal with the YUI as well.
       
      Thanks,

      Jon Herron

      Left Turn Solutions - Home of the Eddy Framework
      http://www.leftturnsolutions.com

      Offical Left Turn Solutions Development Blog
      http://360.yahoo.com/leftturnsolutions


      ----- Forwarded Message ----
      From: Jon Herron <leftturnsolutions@yahoo.com>
      To: yws-maps@yahoogroups.com
      Sent: Friday, April 27, 2007 11:09:51 AM
      Subject: [yws-maps] Conflict when using YUI TabView and Maps??

      Group -

      I am working on a side project that requires the use of both the tab view and maps on a single page. Each aspect works fine in isolation, however when I try to add the includes for the TabView, as well as the Map, I am getting the following javascript error (testing in FireFox, similar error in IE):

      Error: Y.Dom.getElementsBy is not a function
      Source File: http://yui.yahooapi s.com/2.2. 2/build/yahoo- dom-event/ yahoo-dom- event.js
      Line: 47

      This seems to happen even if I do not create the menu. The end result, besides the error, is that the tabs fail to function properly, as you can see in a demo re-creation that I have uploaded:

      http://www.leftturn solutions. com/tabs. map.htm

      Am I doing something wrong, or is this a conflict when using tabs and a map on the same page? I have tried to reshuffle the order of the javascript includes on the page, but have not seen a difference for the positive.

      Thanks,

      Jon Herron

      Left Turn Solutions - Home of the Eddy Framework
      http://www.leftturn solutions. com

      Offical Left Turn Solutions Development Blog
      http://360.yahoo. com/leftturnsolu tions

      ____________ _________ _________ _________ _________ __
      Do You Yahoo!?
      Tired of spam? Yahoo! Mail has the best spam protection around
      http://mail. yahoo.com

      [Non-text portions of this message have been removed]




      Ahhh...imagining that irresistible "new car" smell?
      Check out new cars at Yahoo! Autos.





      Ahhh...imagining that irresistible "new car" smell?
      Check out new cars at Yahoo! Autos.
    Your message has been successfully submitted and would be delivered to recipients shortly.