Reply to Re: Framesets

Your name:

Reply:


Posted by Kim Andr Aker on 05/06/06 03:38

Gregc. wrote:

>
> Kim André Akerø wrote:
> > How are you adding the address of the welcome page into the
> > frameset? In the section above, it should be like this:
> > <FRAMESET COLS="200,*" FRAMEBORDER="0">
> > <FRAME SRC="nav_.htm" Name="Navigation">
> > <FRAME SRC="welcome.htm" name="main">
> > </FRAMESET>
> >
> > Basically, just follow the order you add each frame.
> >
> > On the other hand, I'd second the others' opinion about losing the
> > frames altogether and rather design your page to be without them.
> > http://allmyfaqs.net/faq.pl?Problems_with_using_frames
> >
> > --
> Well this is what I've done since I wrote the message:
> <HTML>
>
> <FRAMESET>
> <FRAMESET COLS="200,*" FRAMEBORDER="0">
> <FRAME SRC="nav_.htm" Name="Navigation">
> <FRAME SRC="welcome.htm" Name="Main">
> <FRAME SRC="prices.htm" Name="Main">
> <FRAME SRC="order.htm" Name="Main">
> </FRAMESET>
>
> </HTML>
>
> But for some reason, the left hand side of the screen keeps changing
> instead of the right.
> Greg

Yes, but since you've specified only 2 columns in the <frameset> tag,
the browser probably ignores that setup and does things its own way.
If you rather did <FRAMESET COLS="200,*,*,*" ...>, you might get a
different result.

Also, having three frames with the same name defies the purpose of
having named frames at all. In your nav_.htm file, links will be
defined as <a href="url" target="Main">, which makes the selected URL
open in the specified frame with the name "Main" (or anything else you
write in the "target" attribute).

--
Kim André Akerø
- kimandre@NOSPAMbetadome.com
(remove NOSPAM to contact me directly)

[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

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