target=ImageWindow in HTML - browser recognises it as meaning new window, I don't...

Steve

New member
target tells the browser which window to open the link up in. If the window doesn't exist it creates it (opens a new window). In your example, it looks for a window named ImageWindow. It doesn't find it, so it creates it.

This was used mainly when frames was around to point to which frame you want the page to load into. Now its mainly used as you've seen.

yes, its html.
 
...- Irfanview special? I used IrfanView to make a web page of thumbnails (using the option that the picture would open in a new window) and when I looked at the code later I noticed that the code included this:

target=ImageWindow

The code also included quote marks but you can't use those here. ;-)

Full piece of code:
<A HREF=picture.bmp target=ImageWindow><IMG SRC=picture_t.jpg width=100 height=100 BORDER=2 ALT=picture.bmp>

My browsers correctly open the picture in a new window but I can't find any evidence of this being HTML code. It seems this code exists in Java but HTML is not Java!

Can anyone shed any light on this attribute? And point me in the direction of more information so I can make sure the website will cater for all browsers - I have a lot of these pages to do and it would be good if I didn't have to edit every one of them to replace that piece of code but if I need to, I will.
 
Back
Top