Strange, the link is for a topic in Technopia, Re: MooFx conflict with other javascript, it should work. I will ask Andy to see why this link doesn't work anymore. Here is what Youyou proposed:
Hi guys, I have finally succeded ;D ;D ;D
The problem was due to the function onload which can have only one function argument.
Thus, what we should do is to create a function which contain and load all the function we want.
So you just have to add in your index.php (or create a js.files and call it in your index.php)
<script type="text/javascript">
function addToStart(fnc){
if(!window.listStart) window.listStart = new Array();
window.listStart.push(fnc); }
function start(){
var ls = window.listStart;
if(ls){ for(i=0; i<ls.length; i++){
fnc = ls[i];
if(typeof(fnc) == 'function'){ fnc(); }
else { eval(fnc); }
} } }
</script>
And always in your index.php, you must add a line "addtostart(function)" for every function you want to onload:
<script type="text/javascript">
addToStart(init); <- For Transmenu
addToStart(inition); <- For Moofx
</script>
NB: You can also add a line "addtostart(init_GoogleMap);" (for example) in the end of the js.script of a component. So when the component page will be show, it will load the function addtostart and the javascript will be onload even if you have many javascript.
To conclude, you just have to onload the function start() in your index.php
</head>
<body class="page_bg <?php echo $template_width; ?> <?php echo $template_align; ?>" onload="start()">
I hope I have been clear but sorry I'm not very good in english :-[ :-[ :-[