|
Posted by patrick j on 10/30/06 17:21
On Mon, 30 Oct 2006 16:37:10 +0000, richard wrote
(in article <ei59uk0qqa@news2.newsguy.com>):
> Ok. But assume I have 10 possible choices. Do I just use the <iframe src>
> tag within a division for each of the choices? Changing the name
> accordingly?
No, the href in the link sends that page to the iframe.
All the src in the iframe element does is tell what the iframe will
display if no link has been clicked.
If you want to look at an example of it, I use them at my web-site (but
don't tell anybody).
Here:
<http://www.patrickjames.me.uk/clubpromotion/gallery.html>
the thumbnail links open images in an iframe below the links. Each jpg
is kept in an html "wrapper" so when you click on the thumbnail in fact
you are clicking on a link to that html "wrapper" to fill the iFrame
below.
Here:
<http://www.patrickjames.me.uk/cv/cv.html>
the timeline is an imagemap containing links to an iframe below the
imagemap.
Here:
<http://www.patrickjames.me.uk/music/music.html>
there are two iframes. The one on the left has links which direct the
content for the one on the right.
In each case it is the same, each iframe has an src which fills the
iframe with a "default" content which is displayed if nothing is
clicked, most notably when you first come to the page.
Then once you click on one of the links, the href in the link tells the
iframe what to display.
The link knows where to send the href because you have the target in
the link set to the name of the iframe.
--
Patrick
Brighton, UK
<http://www.patrickjames.me.uk>
[Back to original message]
|