Quote:
Originally Posted by ragtek
|
Quote:
Originally Posted by ragtek
now we have an error:
YAHOO.util.Anim is not a constructor
Code:
var a = new YAHOO.util.Anim(this.el, {opacity: {from: 0.1, to: 1, unit:""}},...
but its working
thx
maybe this is missing:
HTML Code:
<script src="http://yui.yahooapis.com/2.3.1/build/animation/animation-min.js"></script>
edit: btw you have a mistake in your code 
<ul><li>Child</li> <li>Child 2</li></ul>
|
Well the Anim wont effect it only does the animation and thats a error that its not found.
The javascript is working properly because your Tree was wrapped in the list images, which if it didn't work you would'va been left with a list with regular bullets. For example visit the second demo site i posted and watch as the page loads, you'll see about 50-60 links in a ugly default list until the javascript adds the proper class to it and cleans it up., and the code i wrote in the quick reply box, it was just some example code to spread the theory not a working application

Thats one of the main benefits of this script is it uses Progressive Enchantment to add the Javascript, so to a 'Lynx' browser or Google those links would still be in a very usable List format