jammer1221
Programmer
Hi All,
I am having some trouble implementing a script! On our site I have a script that creates a dynamic menu, which is on every page in the site. I am creating a photo gallery which is based on the prototype framework (The photo gallery script is LightBox 2). Whats happening is a lot of the menus script has the same function and variable names as the prototype script. So, as you can guess, JS errors are being thrown everywhere.
Does anyone have any suggestions as to what I should do? Also, is it possible to go through the entire script and "find & replace" all the varible and function names with unique names? I would do this on the menu script as it only has 600 lines of code.
Thanks for the help!
Matt
I am having some trouble implementing a script! On our site I have a script that creates a dynamic menu, which is on every page in the site. I am creating a photo gallery which is based on the prototype framework (The photo gallery script is LightBox 2). Whats happening is a lot of the menus script has the same function and variable names as the prototype script. So, as you can guess, JS errors are being thrown everywhere.
Does anyone have any suggestions as to what I should do? Also, is it possible to go through the entire script and "find & replace" all the varible and function names with unique names? I would do this on the menu script as it only has 600 lines of code.
Thanks for the help!
Matt