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

bakyildiz’s picture

Assigned: Unassigned » bakyildiz
bakyildiz’s picture

Version: 5.x-1.x-dev » 5.x-1.4-3
Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)