Forum Moderators: open
here is the script.
function buildPrintexample(exampleTitle, clientName, dateCreated, projectNotes, imageName, myImage) {
showcase.document.write("<html><head>")
showcase.document.write("<link rel=stylesheet type=text/css href=css.css>")
showcase.document.write("<script language=\"\javascript\"\ src=\"\javascript.js\"\></script>")
showcase.document.write("</head>")
showcase.document.write("<body background=\"images/home_111.jpg\" topmargin=10 leftmargin=0 bgproperties=fixed>")
showcase.document.write("<font class=big>" + exampleTitle + "</font><br>")
showcase.document.write("<font class=textdis>Client: " + clientName + "</font><br>")
showcase.document.write("<font class=textdis>Date:" + dateCreated + "</font><br>")
showcase.document.write("<font class=textdis>Click the image to see full version")
showcase.document.write("</font><br><br>")
showcase.document.write("<font class=text>Note:" + projectNotes + "</font><br>")
showcase.document.write("<center><a href=\"javascript:displayWindow('" + myImage + "');\">")
showcase.document.write("<img src=\"images/" + imageName + ".jpg\" border=0></a>")
showcase.document.write("</body></html>")
showcase.document.close();
}
function displayWindow(sPicURL){
window.open('showcase.html?'+sPicURL,'name','resizable=1, height=280, width=440');
}
is it because i am calling the displayWindow function from the build function? i don't know. the url is [palisadeindustries.com...] start clicking the links and you will see where the problem is.
thanx
There may be other problems,
Kaled.