deadlock Message Board
[ December Full List | Reply ]

Re: opening up an image in a new window
From David A on 28 Dec '99
replying to opening up an image in a new window posted by judy

>A quick and easy one, I hope: I have a lot of thumbnail images on my site, some of which link to larger images. How do I get the larger image to automatically load in a new window?

I think its like this.

a href="/images/bigpic1.jpg" target=_blank>Pic here

You can also tell the browser what elements to use, scrollbars, resizeable. Try this Java script

(SCRIPT LANGUAGE="JavaScript")
window.open("newpage.htm", "new_win", "resizable=yes, scrollbars=no, toolbar=no, location=no, directories=no, status=no, menubar=no, width=520, height=200, top=5, left=5")
(/SCRIPT)

I changed the <> around SCRIPT to protect the innocent;)




Reply to this message

Required Details
Your name:
Subject:

Optional Details
Home page title:
Home page URL:
Email:
(if you'd like to receive automatic replies by email)

Your Message