Closed (fixed)
Project:
Yahoo YUI
Version:
5.x-1.4-3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
23 Sep 2007 at 13:51 UTC
Updated:
12 Oct 2007 at 23:33 UTC
The YUI library itself must be installed in a subdirectory of the YUI mudule installation directory. This is the standard practice for modules which use external libraries.
Direct external references to yahoo (like the example below) must be avoided - they are incompatible and we shouldn't rely on the Yahoo server.
<script type="text/javascript" src="http://yui.yahooapis.com/2.3.0/build/yahoo-dom-event/yahoo-dom-event.js"></script>
<script type="text/javascript" src="http://yui.yahooapis.com/2.3.0/build/animation/animation-min.js"></script>
<script type="text/javascript" src="http://yui.yahooapis.com/2.3.0/build/animation/animation-min.js"></script>
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.3.0/build/menu/assets/skins/sam/menu.css">
<script type="text/javascript" src="http://yui.yahooapis.com/2.3.0/build/container/container_core-min.js"></script>
<script type="text/javascript" src="http://yui.yahooapis.com/2.3.0/build/menu/menu-min.js"></script>
Amnon
-
Professional: Drupal Israel | Drupal Development & Consulting | בניית אתרים
Personal: Hitech Dolphin: Regain Simple Joy :)
Comments
Comment #1
bakyildiz commentedComment #2
bakyildiz commentedComment #3
(not verified) commented