frames and sending text to target

E

Eric

I've got a html page that uses frames. The left frame is a vertical column
and represents an index. The index is made up of thumbnails, if i click on
a thumb i get a larger pic in the right hand frame - so far so good, and
that works. How do i set it up so that I can also send a caption to the
target frame - ie the target frame shows both the blown up pic and a short
text caption?

example of site_index page
<a href="pic.large.jpg" target="win2"> <img src="pic.small.jpg">Pic Text</a>

clicking on pic.small or the "Pic Text" makes a page in win2 frame appear
with the pic.large.jpg in it but i want to have a caption appear there too

Thanks
Eric
 
D

David Dorward

Eric said:
I've got a html page that uses frames.
Shame.
http://allmyfaqs.net/faq.pl?Problems_with_using_frames

How do i set it up so that I can also send a caption to the
target frame - ie the target frame shows both the blown up pic and a short
text caption?

By linking to an HTML document with an image and a caption in it instead of
directly to an image.
example of site_index page
<a href="pic.large.jpg" target="win2"> <img src="pic.small.jpg">Pic
Text</a>

This markup is invalid. http://validator.w3.org/
 
E

Eric

David said:

I dont see an easy way to duplicate the effect of frames. I'm sure it can be
done but it looks like it takes considerable effort and reading to get
there.
By linking to an HTML document with an image and a caption in it instead
of directly to an image.

Trouble is, I've got hundreds of pics and if i understand you correctly that
means making hundreds of small html pages?
 
M

Mark Parnell

In our last episode said:
I dont see an easy way to duplicate the effect of frames.

Depends exactly which effect you are trying to duplicate. Many of the
effects of frames you wouldn't *want* to duplicate.
I'm sure it can be
done but it looks like it takes considerable effort and reading to get
there.

Not really. And brucie's already done it for you:

http://butterflies.usenetshit.info/
http://balls.usenetshit.info/

You may also like http://slide.usenetshit.info/
Trouble is, I've got hundreds of pics and if i understand you correctly that
means making hundreds of small html pages?

Yep. How you go about that is up to you.
 
D

dorayme

From: Eric said:
I've got a html page that uses frames. The left frame is a vertical column
and represents an index. The index is made up of thumbnails, if i click on
a thumb i get a larger pic in the right hand frame - so far so good, and
that works. How do i set it up so that I can also send a caption to the
target frame - ie the target frame shows both the blown up pic and a short
text caption?

example of site_index page
<a href="pic.large.jpg" target="win2"> <img src="pic.small.jpg">Pic Text</a>

clicking on pic.small or the "Pic Text" makes a page in win2 frame appear
with the pic.large.jpg in it but i want to have a caption appear there too

You can do various things. If you want to stick with frames,
(and it is quite simple and effective given your requirements)
you could make html pages to set out the pics and captions. If
this is a big bore due to having to specify each pic and size
etc.... you may as well be hung for a sheep as for a lamb chop:
make a third frame, the thumbnails on left as you have them. A
little set of 2 on the right, one just displays the pic directly
as before, no html and the other, under it say, displays the
caption. The simplest of html templates will get you through
this caption one and well, you will have to do work whichever
way you go... If the pics are roughly all the same size, you can
play around till the caption looks natural, no borders on
frames. Leave room for people with different font-size
requirements.

--
dorayme

(apparently BdeZ says this is not a real signature. Well, how
dare anyone say this. It is a goddamn beautiful sig. As usual I
am speaking from her killfile where it is all hot and bothersome
but I have met so many interesting characters. I have shouted
up at her but she does not hear: Last time I screamed at her not
to hit the send button when she <g>ed at something Korpela
said recently in another of his "let me beat up black and blue
this newbie". She could not hear me screaming. She has very very
good doors on this hell hole.. If I ever get out, I am going to
take the info to a builder to make a lot of dough with the
sound-proofing technology used (it is good, very good, high
class - you will understand I can't say any more about it at
this stage for commercial reasons...)
 

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

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top