frames and sending text to target

Discussion in 'HTML' started by Eric, Dec 4, 2005.

  1. Eric

    Eric Guest

    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
    Eric, Dec 4, 2005
    #1
    1. Advertising

  2. 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
    David Dorward, Dec 4, 2005
    #2
    1. Advertising

  3. Eric

    Eric Guest

    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/
    >
    Eric, Dec 4, 2005
    #3
  4. Eric

    Mark Parnell Guest

    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
    Mark Parnell, Dec 5, 2005
    #4
  5. Eric

    Eric Guest

    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.
    >
    Eric, Dec 5, 2005
    #5
  6. Eric

    dorayme Guest

    > 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...)
    dorayme, Dec 7, 2005
    #6
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Thorsten Tarrach

    Frames: set target on server

    Thorsten Tarrach, Jul 27, 2004, in forum: HTML
    Replies:
    10
    Views:
    826
    David Dorward
    Aug 1, 2004
  2. mohit
    Replies:
    0
    Views:
    529
    mohit
    Jan 23, 2008
  3. Jukka K. Korpela

    Re: Frames Target and External HTML

    Jukka K. Korpela, Dec 24, 2008, in forum: HTML
    Replies:
    0
    Views:
    368
    Jukka K. Korpela
    Dec 24, 2008
  4. richard
    Replies:
    1
    Views:
    382
    dorayme
    Dec 25, 2008
  5. Kim Noer

    Cross-site security, target and frames

    Kim Noer, Oct 13, 2004, in forum: Javascript
    Replies:
    2
    Views:
    105
    Philip Ronan
    Oct 14, 2004
Loading...

Share This Page