JamesManke
Programmer
When I use this script in Firefox, the load bar sticks at half way, although the image completely loads. Works fine in IE, just
function larger(n,p,w,h)
{
var win = window.open("","","width=" + w + " , height=" + h + " , top=100 , left=100 , scrollbars=no, resizable=no")
win.document.writeln("<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' ' <html xmlns=' xml:lang='en-CA' lang='en-CA'> \n <head> \n <title>" + n + "</title> \n</head>");
win.document.writeln("<body style='margin:0px;padding:0px;'><img style='margin:0px' src='cat_images/" + p + "' width='" + w + "' height='" + h + "'></body></html>")
}
function larger(n,p,w,h)
{
var win = window.open("","","width=" + w + " , height=" + h + " , top=100 , left=100 , scrollbars=no, resizable=no")
win.document.writeln("<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' ' <html xmlns=' xml:lang='en-CA' lang='en-CA'> \n <head> \n <title>" + n + "</title> \n</head>");
win.document.writeln("<body style='margin:0px;padding:0px;'><img style='margin:0px' src='cat_images/" + p + "' width='" + w + "' height='" + h + "'></body></html>")
}