PDA

View Full Version : Image Thumbnail Viewer II - enlarged images don't open in a designated DIV in IE6



dancer
01-04-2009, 04:59 PM
1) Script Title: Image Thumbnail Viewer II

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

3) Describe problem:

Thank you very much for the script, works perfectly in FF and IE7, but having problems in IE6. The enlarged images are not opening in the designated div (id="galleryEnlarge"), but instead without any site environment: http://www.angelabraun.com/sosiego/loc_gallery.htm. Have to click on the back button to be able to go back to the site.

I was wondering if nyone has a fix for this, or maybe is it my version of IE6 causing the problem?

Many thanks for any help!

Dancer

Snookerman
01-04-2009, 05:33 PM
I must be your IE6 because it works in mine:
2401
I'm using DebugBar's IETester (http://www.my-debugbar.com/wiki/IETester/HomePage).

jscheuer1
01-04-2009, 05:59 PM
Your IE 6 probably is a standalone version without filters. This breaks the script.

To fix it:


// -------------------------------------------------------------------
// Image Thumbnail Viewer II- By Dynamic Drive, available at: http://www.dynamicdrive.com
// Last updated: Feb 5th, 2007
// -------------------------------------------------------------------

var thumbnailviewer2={
enableTitle: true, //Should "title" attribute of link be used as description?
enableTransition: false, //Enable fading transition in IE?
hideimgmouseout: false, //Hide enlarged image when mouse moves out of anchor link? (if enlarged image is hyperlinked, always set to false!)

/////////////No need to edit beyond here/////////////////////////

dancer
01-05-2009, 07:33 PM
Hi John,

That worked!

Thanks a million!

Dancer