ja, wir bauen das grad... wird aber dauern... hier mal ein ansatz aus der 1.0er version (leider mit jquery, prototyp) bist du fit in motools, vielelleicht kann man sich die arbeit ja teilen?:
Code:
// active Menu highlightning and hoverstuff
$('div.hldr #active_menu').parent().addClass('active_highlighted');
iHover('div.hldr a','highlighted');
iHover('div.menuv a','highlighted');
$('table.moduletablemain td #active_menu').parent().addClass('active_mhighlighted');
iHover('table.moduletablemain td a','mhighlighted');
iHover('div.menuv a','mhighlighted');
buildGallery();
});// end doc ready
//littleajaxwonderbra
//function littleajaxwondrbra (mnitem, cdiv){
// $(mnitem).click(function(){
// var aurl = $(this).attr('href');
// $(cdiv).load(aurl+" "+cdiv+">*");
// return false;
// });
//}
//function loadContactForm(){
// $("#thirdbody").load("/cms/index.php?option=com_content&task=view&id=88&Itemid=149 #thirdbody>*",{},function(){
// // attach loaded contact form
// appendScript('http://www.domain.de/cms/modules/mod_dg_ajaxcontact/js/functionAddEvent.js');
// appendScript('http://www.domain.de/cms/modules/mod_dg_ajaxcontact/js/contact.js');
// appendScript('http://www.domain.de/cms/modules/mod_dg_ajaxcontact/js/xmlHttp.js',function(){
// $(window).unload( EventCache.flush );
// ajaxContact();
// });
// });
//
//}
//function appendScript(url,callback){
// var head = document.getElementsByTagName("head")[0], done = false;
// var script = document.createElement("script");
// script.src = url;
// script.onload = script.onreadystatechange = function() {
// if (!done && (!this.readyState || this.readyState == "loaded" ||this.readyState == "complete")) {
// if(typeof callback !='undefined' &&callback!=null){
// callback();
// }
// }
// }
// head.appendChild(script);
//}
//function iHover(sel,flag){
// $(sel).hover(
// function(){
// $(this).parent().addClass(flag);
// },
// function(){
// $(this).parent().removeClass(flag);
// }
// );
//}
Lesezeichen