I'm a little new to mootools, but I know that in jQuery you can have more than one function (in more than one file):
$(document).ready(function() {
but can you do something similar with mootools?
I already have window.addEvent( "domready", function() { already on my page, and I really don't need to change this piece of code at all, but I want to be able to add another domready function to a separate file in the header.
Is it possible? Or will I just have to go about it differently?
source share