PDA

View Full Version : Thumbnail viewer 2 and pop up



logothetis
03-27-2011, 05:54 PM
1) Script Title: thumbnailviewer2.js

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

3) Describe problem: Hello and thanks for this great script!!!!

I'm trying to open a pop up with the full image (with the Thumbnail viewer 2 script) but I can't make it work.

In thumbnailviewer.js I'm writing


imageHTML='<a href="'+dest+'" title="'+description+'" onclick="window.open(+dest+, 'popupwindow', 'width=500,height=500,scrollbars,resizable'); return false;>'+imageHTML+'</a>'

but I get the message "Syntax error: missing ; before statement"

I'm searching for a solution for days and days but I can't find what I'm doing wrong!!

I really appreciate your help!!!
Thank you very much!!!