The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Click pic it opens in a new page
texafud1
post Jul 31 2017, 02:15 PM
Post #1





Group: Members
Posts: 1
Joined: 31-July 17
Member No.: 26,469



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.

This post has been edited by texafud1: Jul 31 2017, 02:20 PM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Aug 1 2017, 05:34 AM
Post #2


.
********

Group: WDG Moderators
Posts: 9,630
Joined: 10-August 06
Member No.: 7



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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 29th March 2024 - 04:56 AM