23379 Posts in 18298 Topics by 2867 members
|Go to End|
10 April 2010 at 9:10am
Hi, having some JS problems. I want to use LightBox2 on a projekt. The projekt has a custom form on all pages.
The validator of the form loads jsparty/prototype.js and that seems to conflict with lightbox/js/prototype.js or atleast if i don't output the form (deleting my $ContactForm from the template) all is fine and lightbox works.
Can anyone tell me how to have both a form and a lightbox on same page?
10 April 2010 at 11:07pm
I have found a way to get lightbox working, by disabling JS validation for my ContactForm, but ofc. I will now have to find another solution for frontside validation.
15 April 2010 at 9:54am
i have noticed the same problem.
the ss2.3 brunches using the Jquery 1.26. which was kinda old, as well as the validation plug-in.
Not sure which version of Jquery of your lightbox2 will be using.
If it's over 1.2.6. You probably could update the Jquery validate plug-in. update it to be compatiable with Jquery 1.3.2 then update your core Jquery.js file to be Jquery-1.3.2.js .
You can have a try, see it works or not.. XD
15 April 2010 at 7:08pm
Thanks for your reply, i will have a look at this.
I properly wont get around to it one of the first days though, but would be nice to know for future projects.
|Go to Top|