I need to include a path for my picture as well as the VBscript from the database
<script language="JavaScript" type="text/JavaScript">
<!--
function openPictureWindow_Fever(imageName,imageWidth,image Height,alt,posLeft,posTop) {
newWindow = window.open("","newWindow","width="+imageWidth+", height="+imageHeight+",left="+posLeft+",top="+posT op);
newWindow.document.open();
newWindow.document.write('<html><title>'+alt+'</title><body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" onBlur="self.close()">');
newWindow.document.write('<img src='+imageName+' width='+imageWidth+' height='+imageHeight+' alt='+alt+'>');
newWindow.document.write('</body></html>');
newWindow.document.close();
newWindow.focus();
}
//-->
</script>
+ImageName+ = picture.jpg
I need to include \upload\images before it
I have tried amending it into the js but it keeps giving errors
Thanks


Reply With Quote

Bookmarks