|
|
Q1443 How else can I pop-up a window the same size as the image it contains?
irt.org | Knowledge Base | JavaScript | Window | Q1443 [ previous next ] Q1443 How else can I pop-up a window the same size as the image it contains?It is usually difficult to avoid the margins browsers will automatically place around your image. If you know the size of the image you wish to place in your pop-up window, the alternative to using the <IMG src="">-tag is using the <BODY background>-tag. Open a window with the size of your image, and create a html-document on-the-fly with the image as a background. Place this function inside the <HEAD> section of your page: /p>
Then this as the link:
Submitted by Eric Rietzschel |
-- div -->
|