Page 1 of 1
Adding javascript to a page
#2
Posted 16 April 2008 - 04:53 PM
What I usually do with mootools or any other javascript library-based system is to look at the source code of the website, copy the section required and then reverse engineer it.
In this case, MooFlow is simply using different
In this case, MooFlow is simply using different
s in sequence within another div with an id "MooFlow". Simplified would be:
It will use the MooTools id tag to pick up on which section to apply the javascript, although it looks like you can change the ID name in the settings you apply beforehand within one of the <script> tags in the header.
<div id="MooFlow"> <div><img src="img/img1.jpg" title="Whatever" alt="Whatever" /></div> <div><img src="img/img2.jpg" title="Whatever" alt="Whatever" /></div> </div>
It will use the MooTools id tag to pick up on which section to apply the javascript, although it looks like you can change the ID name in the settings you apply beforehand within one of the <script> tags in the header.
Page 1 of 1








Sign In »
Register Now!
Help

MultiQuote