Reply to Re: swapping iframes within same page

Your name:

Reply:


Posted by richard on 10/30/06 16:37

"patrick j" <patrick@jamesnews.orangehome.co.uk> wrote in message
news:0001HW.C16B873B004B8B8EB02A194F@News.Individual.Net...
> On Mon, 30 Oct 2006 07:24:42 +0000, richard wrote
> (in article <ei49ip02o8n@news2.newsguy.com>):
>
>> I'm thinking of a simple 2 division page on which the top division is a
>> menu.
>> The 2nd division is an iframe which changes depending on the menu choice.
>> I know there is a way to do it and hopefully without javascript.
>> Just need to brush up on how to do it properly. Who's got a sample for
>> me?
>
> It's very easy to do.
>
> However i|Frames and indeed Frames in general are considered to be
> rather old school these days.
>
> All you do is give the iFrame a name in the iFrame element, then when
> you link to the file to "supply" the iFrame put the iFrame's name as
> the target.
>
> Here's the lnk:
>
> <a href="thelinkedfile.html" target="nameofiframe">linked text</a>
>
> So obviously you have one of these links for each of the files you are
> planning on having as a possibility to fill the iFrame.
>
> And now the iFrame:
>
> <iframe src="defaultiframesupplyfile.html" name="nameofiframe"
> width="500" height="500" frameborder="0"></iframe>
>
> In the iFrame you'll see "defaultiframesupplyfile.html", this is to be
> the path and filename of the file which fills the iFrame when no link
> has been clicked. You'll see frameboard="0" this can be set to 0 or 1.
> This is to turn off or on the iFrame boarder. It is more often turned
> off these days.

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?

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация