Open hyperlink in new window

  • Thread starter Thread starter mleonard
  • Start date Start date
M

mleonard

I'm working with an Excel file that is saved at an HTML and used on a
website. I have a few thumbnail pictures within the spreadsheet which
hyperlink to a larger version of the picture. I would like the
hyperlink to open in a new window but cannot figure it out. Adding
"_blank" after the target .JPG would make sense, but it continues to
open in the same window. Any suggestions?

If this is not possible, is it possible to set the background color of
..JPG hyperlink? Thanks. - Mike
 
Hi Mike;

Use the hyperlink in the Excel sheet to send a parameter
to an ASP page that will inturn go get the larger image.
Something like this;

Http://MyReferringPage.asp?MyPicture=BigMikePicture.jpg


Then create an ASP Page that loads the image. The asp
code would look something like this;

<img border="0" src=<%Request("MyPicture")%>>


Thanks,

Greg
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top