Would it be possible to add a javascript file to ff_page2 or to ff_nextpage
I am having a problem where the facileform is conflicting with a javascript file on my site that sets the height of modules. Here is the code from the JS file. I want it to call this javascript again before going to the next page. Is this possible?
/*
Get the maximum height from divs with passed class as argument
Djamil Legato <djamil@djamil.it>
For Andy Miller
*/
var maxHeight = function(classname) {
var divs = document.getElements(classname);
var max = 0;
divs.each(function(div) {
max = Math.max(max, div.getSize().size.y);
});
divs.setStyle('height', max);
return max;
};
window.addEvent('load', function() {
if (!window.ie6) {
maxHeight('#mainmodules .block div div div');
maxHeight('#mainmodules2 .block div div div');
};
maxHeight('div.main-height');
});
Thanks!