Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > frames and sending text to target

Reply
Thread Tools

frames and sending text to target

 
 
Eric
Guest
Posts: n/a
 
      12-04-2005
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

 
Reply With Quote
 
 
 
 
David Dorward
Guest
Posts: n/a
 
      12-04-2005
Eric wrote:

> 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/

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
 
Reply With Quote
 
 
 
 
Eric
Guest
Posts: n/a
 
      12-04-2005
David Dorward wrote:

> Eric wrote:
>
>> I've got a html page that uses frames.

>
> Shame.
> http://allmyfaqs.net/faq.pl?Problems_with_using_frames
>


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.

>> 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.
>


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

>> 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/
>


 
Reply With Quote
 
Mark Parnell
Guest
Posts: n/a
 
      12-05-2005
In our last episode, Eric <> pronounced to alt.html:

> 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.

--
Mark Parnell
http://clarkecomputers.com.au
 
Reply With Quote
 
Eric
Guest
Posts: n/a
 
      12-05-2005
Mark Parnell wrote:

> In our last episode, Eric <> pronounced to alt.html:
>
>> 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/
>

Thank you. I'll review those and see if i can apply that technique instead
of frames.
Eric

> 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.
>


 
Reply With Quote
 
dorayme
Guest
Posts: n/a
 
      12-07-2005
> From: 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


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...)

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Frames Target and External HTML richard HTML 1 12-25-2008 11:49 PM
Re: Frames Target and External HTML Jukka K. Korpela HTML 0 12-24-2008 02:36 PM
Problem in setting Target Node and Target Tree Property mohit ASP .Net 0 01-23-2008 05:41 AM
[XML Schema] Including a schema document with absent target namespace to a schema with specified target namespace Stanimir Stamenkov XML 3 04-25-2005 09:59 AM
Cross-site security, target and frames Kim Noer Javascript 2 10-14-2004 01:32 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57