Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
OK, nailed it myself - the latest jQuery library seems to conflict with the latest CopperLicht Engine - certainly when I try to use the 'startCopperLichtFromFile' method and have loaded jQuery and CopperLicht.js in my header - in whatever order I load them I get errors. To get around this for now I've just used the good old 'noConflict();' and replaced the '$' with my own variable (in this case 'my$') and all works fine... Use like so: ....... ....... <head> <script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script> <script type="text/javascript">var my$ = jQuery.noConflict();</script> <script type="text/javascript" src="copperlichtdata/copperlicht.js"></script> </head> ....... ....... <body> <script type="text/javascript"> <!-- startCopperLichtFromFile(...); --> </script> <!-- example: --> <SCRIPT> My$('mydiv').fadeOut('slow'); </SCRIPT> </body> ....... ....... Cheers ;) |
||||
|
Ah, nice :) |
||||
|
Thanks. I wasted one entire day trying to figure this out. |
||||
|
Thank you,this will be useful for me,because I want to develop a multiplayer game with CopperLicht :) |
|