'display the left product image if intImagePos = 2 then response.write('<td class=''ProductImage''>' & vbcrlf) 'show image if Len(objProduct.Image2) > 0 then response.write('<a class=''thumbnail'' href=''javascript: void(0)'' onclick=''MM_openBrWindow('images/festool/KAPEXKS120-571287/KAPEXKS120-571287-Gallery/','scrollbars=no,resizable=no,width=840,height=580')''><img src=' & objProduct.Image1 & ' border=''0''><br>See gallery of this product</a>') else response.write('<p>No Picture Available</p>') end if response.write('</td>') end if
Error code in IE is:
Line: 28 Char: 3 Error: Invalid argument. Code: 0
Line 28 is:
var newWindow = window.open(theURL,winName,features+win_position);
Thanks for any help in solving this matter, I’m not a programmer at all and have no idea what I’m looking at, just copy and pasting and manipulating text to try and get stuff to work how I want.
Your call to MM_openBrWindow() only has two parameters, but it takes three. Try changing it to this: