Help - Search - Members - Calendar
Full Version: Click pic it opens in a new page
HTMLHelp Forums > Web Authoring > General Web Design
texafud1
Hi. I've been wrecking html for many many years, and I have one I can't figure out. Say on my main page I have images 1,2, & 3 as thumbnails. I would like to have one page that is the target, with my background and header, but depending on which pic I click that image opens in that page? Without having to make a page for each image? So there's one page, say "imagepage.htm" that has my background and header, and when I click image 1, that image loads in the center, but when I click image 2, same page, but image 2 opens. I feel like this could be a frame thing, I've never really used frames. I do know CSS, although currently my page is running without it (I know, my bad). I also understand some Java and how it works, but I wouldn't write my own java. Page is currently under 4.01 rules. Any help would be appreciated.
Christian J
You would probably need scripting to do this. Server-side includes (PHP or SSI) would be best. Javascript might work too (Java is another language).

Frames need a common parent window, so wouldn't work with separate pages. You could load the large images in an iframe that's embedded on the thumbnail page, but then the iframe and large images would need to be the exact same size.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.