Isn't it fun to see students doing projects with Ajax?
Jonathan Molina just finished his final project which was to:
use a framework and show it being used as well as giving an example of how it can be used in a real life scenario.
I used Mootools for the frameworks just because it looks to me like an easier to understand framework and the functions that are built in are just perfect. The size and feature are just right.
I created a Video Tutorial of how to apply an Accordion effect to div blocks in a page and create a hands on feel to the site. I did do my best on exampling how to do it as easily as possible in the video … It took me many tries to get the video just as close to perfect as I could.
You can watch the making of this page in video form but it requires something that groks the 7z format. Not quite as usable as displaying it inline. Maybe someone should put it on GoogTube?
-
-
window.onload = function() {
-
// Pick your classes
-
var myBox = document.getElementsByClassName('box_title');
-
var myBoxOpen = document.getElementsByClassName('expand');
-
-
// Create the accordian
-
var myEffect = new fx.Accordion(myBox, myBoxOpen, {});
-
-
// Tool Tips for extra information
-
var as = [];
-
-
$S('a').each(function(a){
-
if (a.getAttribute('title')) as.push(a);
-
});
-
-
new Tips(as, {maxOpacity: 0.9, maxTitleChars: 25});
-
}
-


