Hello! I'm a beginner MooTooler with very little of experience so I'd be very pleased if someone would help me out with this one.
I have set of MooTools 1.1 plugins configured for my web page: (all copy paste ready made classes found from web) -Kwicks menu (Fx.Elements 1.1 demo) -in/out slide (collapsible divs, pr0digy.com) -SlidingTabs (tabbed divs, creativepony.com) -submenu hover (Fx.Styles 1.1 demo) -MultiBox (phatfusion.net) I've set up all classes and their domready functions through one external .js file. Everything runs smoothly until I try to execute phatfusion MultiBox plugin. Here's what I've tested so far: Case1 Plugin order in .js is the same as in the list above, all wrapped in seperate domready functions. In this case MultiBox doesn't intialize at all but everything else displays and functions as it should. (there is a link to MultiBox iframe page in first text block) Demo page here: http://demo3.blowback.fi/testi1 and .js here: http://demo3.blowback.fi/js/blowback1.js Case2 If I switch MultiBox intialize function to 'load' it is executed and working as it should, but check what happens to page bottom margin when you scroll between tabbed divs (first two text blocks with tabs above) Demo page here: http://demo3.blowback.fi/testi2 and .js here: http://demo3.blowback.fi/js/blowback2.js Case3 If I keep intialize function 'domready' (as it should be, I think) and try to change the order of plugins in .js file (ie. MultiBox to the top, or anywhere above SlidingTabs class) it does actually execute and work, but there is a huge bottom margin immediately after page load. Demo page here: http://demo3.blowback.fi/testi3 and .js here: http://demo3.blowback.fi/js/blowback3.js So it looks like there's some conflict between these two classes: MultiBox and SlidingTabs. Since I'm really beginner with MooTools and whole JavaScipt stuff I have no glue how to fix this. I've been thinking that maybe conflict happens in the way I handle multiple domready functions in external .js? Or is there something else between these two causing the problem. I hope you get the idea (I know.. my english is very bad when I try to explain this kind of technical stuff) and maybe even have some solution. Thanks in advance!
