Hi all,
JS is super new to me, but I've used it for popup windows and what not in html forever.
So I am seeing that the MooTools library is full of great tools for sites, however, I am having a hard time implementing them.
First off, I call mootools.js that I have downloaded from the site.
Then do I make functions that use the effects in the library?
ie...
How do I attach this function to a div? Do I need to write a bit more on how the div will react when I click???HTML Code:<script src="mootools.js"></script> <script> slide: function(){ //got this from mooltools docs var mySlider = new Fx.Slide('myElement', {duration: 500}); mySlider.toggle() //toggle the slider up and down. }
Thanks.




Bookmarks