The on() method was introduced in jQuery 1.7 but you're using an earlier version of jQuery.
Sensible would be to make sure you're using the most recent version of each library and plug-in, or at least to confirm that the various versions you use are compatible.
However, you are also using jQuery, prototype, and scriptaculous frameworks on the same page. They are competing frameworks (jQuery <=> prototype) and they fight over the use of the dollar sign. jQuery.noConflict() doesn't resolve every issue and you need to use jQuery(..) rather than $(..) sometimes to keep them separate.
Of course, the best long term solution would be to use one framework or the other..
__________________
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
Validate your HTML and CSS
If I were to go through lightbox.js (or prototype.js) and replace the instances of $(etc...) with jQuery(etc...) would that solve the problem?
They are two different JS frameworks that are incompatible. The noConflict function of jQuery is just fixing the symptoms and should only be used as very last resort if you have no influence on which libraries are there or might be added.
The best solution would be to choose one framework only and stick with it. There is a plugin for nearly everything for both frameworks, I suppose, so no need to use a protoype plugin and a jQuery plugin on the same site. Plus, by adding both you are adding a lot of redundant overhead code to the site.
Make sure that you have removed all references to prototype and uploaded/updated all the relevant files.
Firefox might be displaying correctly, but does it have any error messages that might help? Press F12 to start FireBug (installed?) and refresh the page if necessary. The bottom-right corner, or the Console, will reveal any error messages.
__________________
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
Validate your HTML and CSS
I believe scriptaculous is dependant upon prototype(?) as well, so you should remove all references to this as well.
Of course, this is all assuming that neither are needed or used anywhere in your code.
But is your lightbox.js a jQuery or prototype plug-in?
__________________
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
Validate your HTML and CSS
Last edited by AndrewGSW; 07-18-2012 at 06:22 PM..