PDA

View Full Version : Javascript Clash: Lightbox / thumbnailviewer2



lwdesign
07-14-2010, 02:19 PM
1) Script Title: Lightbox and thumbnailviewer2

2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm
http://www.dynamicdrive.com/dynamicindex4/lightbox2/index.htm

3) Describe problem:
I believe there is a clash with these 2 scripts when used in the same html file.

Example 1:
http://www.toil.uk.com/beta/portfolio01.asp

The thumbnail image should fade in the large image, but doesn't, it loads the image only in a new _self page

The view gallery icon works as expected using the lightbox script

Example 2: Replicated file
http://www.toil.uk.com/beta/portfolio02.asp

The thumbnail image now fades the large image because I have disabled:

<script type="text/javascript" src="/js/prototype.js">

The view gallery icon doesn't works as expected using the lightbox script.

Can anyone work out what the clash is?