Actually, this still no worky :(
If I MochiKit.js loads first, firefox 2.0 doesn't work, and if it loads
last, IE7 doesn't work!
Here is a testcase using the export false, and it doesn't work in
Firefox 2.0 (gives an "Effect not defined" error as if the
scriptaculous lib didn't get loaded). If the Mochikit lines are
removed, everything works fine.
I believe this should work because export false should ensure that
Mochikit doesn't have side effects with other js libraries, but this
doesn't appear to be the case...
Really need some help here!
Thanks,
Mark
<html>
<head>
<script type="text/javascript">MochiKit = {__export__:
false};</script>
<script type="text/javascript"
src="app/javascript/MochiKit.js"></script>
<script type="text/javascript"
src="app/javascript/prototype.js"></script>
<script type="text/javascript"
src="app/javascript/scriptaculous/scriptaculous.js"></script>
<script language="JavaScript">
function init(){
new Effect.Fade($('creationTipsDiv'));
}
</script>
</head>
<body onload="init();">
<div id="creationTipsDiv" style="">
Tips
</div>
</body>
</html>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---