Exterminance
11-22-2003, 09:04 AM
I attempted to make a pop-up window which contains only a hyperlinked graphic, using this form (http://javascript.internet.com/generators/popup-window.html). Everything went fine except: I specified the window to the exact size dimensions of the image file, but there seems to be some sort of border area around the image file, and I can't figure out how to make it go away. Any body know what I need to do?
My pop-up page: advertisement.html (http://members.odinsrage.com/exterminance/advertisement.html).
The HTML used:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>Pop-Up Test</title><SCRIPT LANGUAGE="JavaScript"><!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=340,height=359,left = 630,top = 420.5');");
}
// End -->
</script></head><body>
<A HREF="javascript:popUp('ultimatepopupyo.html')"><img src="FLASHbanner.gif"></A>
<!-- Script Size: 0.73 KB --></body></html>
My pop-up itself: ultimatepopupyo.html (http://members.odinsrage.com/exterminance/ultimatepopupyo.html).
The HTML used:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>WINNER!?!</title><SCRIPT LANGUAGE="JavaScript"><!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=340,height=359,left = 630,top = 420.5');");
}
// End -->
</script></head><body>
<A HREF="javascript:popUp('ultimatepopupyo.html')"><img src="ultimatepopupyo.gif"></A>
<!-- Script Size: 0.73 KB --></body></html>
Any advice would be greatly appreciated!
My pop-up page: advertisement.html (http://members.odinsrage.com/exterminance/advertisement.html).
The HTML used:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>Pop-Up Test</title><SCRIPT LANGUAGE="JavaScript"><!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=340,height=359,left = 630,top = 420.5');");
}
// End -->
</script></head><body>
<A HREF="javascript:popUp('ultimatepopupyo.html')"><img src="FLASHbanner.gif"></A>
<!-- Script Size: 0.73 KB --></body></html>
My pop-up itself: ultimatepopupyo.html (http://members.odinsrage.com/exterminance/ultimatepopupyo.html).
The HTML used:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>WINNER!?!</title><SCRIPT LANGUAGE="JavaScript"><!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=340,height=359,left = 630,top = 420.5');");
}
// End -->
</script></head><body>
<A HREF="javascript:popUp('ultimatepopupyo.html')"><img src="ultimatepopupyo.gif"></A>
<!-- Script Size: 0.73 KB --></body></html>
Any advice would be greatly appreciated!