PDA

View Full Version : problem refreshing iframe to single image


swimmin
05-25-2004, 03:34 PM
I'm developing a site right now that contains a photo gallery of sorts. the gallery is held in an iframe and the images are brought in dynamically. the general jist of it is this:

-1 main image (medium size that links to a larger image in a new page)
-gallery of thumbnails you click to change main image
-when you click the thumbnail image, the medium sized image changes accordingly, but i need the page to refresh back to that main image.

the container is an asp page that loads an aspx page that loads a billion and three thumbs from folders on our server... but the iframe they're in is set to resize to fit whatever the gallery size is (so no scrollbars). in doing so i got rid of the ability to load back to my main image, as far as i know.

i think that's it.. any other querstions, don't hesistate.

swimmin
05-25-2004, 05:49 PM
one idea i had was to try to anchor something outside of the iframe so when you clicked a thumb and it refreshed, it'd jump to the anchor... but i don't think that would work. thats the idea though. :confused:

sad69
05-25-2004, 08:13 PM
Why wouldn't that work? Do you have a link to your page online that we could take a look at (to get a better idea of what you're talking about..)?

Sadiq.