PDA

View Full Version : Need help with Popup image viewer II


wndy26
08-13-2003, 02:28 AM
Hi. I am new to javascript and new to creating webs. I am learning quite fast with tons of help from all the sites I have found on html and javascript.

A friend of mine asked me to build him a website for his photography hobby. The site is up and running at www.atfirstglancephoto.com I built it with frontpage 2000. I am trying to figure out how to make the photo thumbnails pop up in a window that is the size of the photo.

I found a script at http://www.javascriptkit.com/script/script2/popimage2.shtml
and it is working just as it says it will.

One of my concerns is that when someone with a different resolution opens the photos the pop-up window doesn't scale with the resolution. Is there a way to change the script so that it shows the whole photo but scaled to the resolution of the viewer? Or will I need to go with an entirely different script?

I have only changed two photos to use the script, they are at www.atfirstglancephoto.com/htmlsite/aaron.htm

If someone could take a look and give me some direction so that I can figure this out I would be most grateful. I can't afford to pay someone to do this for me, as I am building the site for free as a learning experience.

Thanks in advance!

wndy26

wndy26
08-13-2003, 03:30 AM
Sorry I double posted. I found what I needed...somewhat. I will just adjust my photos down in size some I suppose. I was hoping to find something that would adjust it by screen resolution. Anyway, thanks for all your help.

wndy26