Hi, I am trying to use the lightwindow script inside my unblockable popup window script. Apparently, it doesn't work. How do I put a .js inside a .js? Simply listing them in my head tags doesn't seem to work eg. <script type="text/javascript" src="javascript/prototype.js"></script> <script type="text/javascript" src="javascript/effects.js"></script> <script type="text/javascript" src="javascript/lightwindow.js"></script> <script src="dw_lib.js" type="text/javascript"></script> <script src="dw_glider.js" type="text/javascript"></script> <script src="CounterHandler.js" type="text/javascript"></script> Any tips? Thank you, Donny
Ok, so I found out that it's because the two sets of files have variables or functions with the same name. Does anyone know how to fix this problem? It's because there are duplicate variable names. Is there an efficient way to make them different?
Multiple functions within 2 js files will cause bad stuff to happen. Unfortunatly you will have to rename