You are here: Re: CSS Equivalent of Frames? « PHP Programming Language « IT news, forums, messages
Re: CSS Equivalent of Frames?

Posted by GameboyHippo on 10/16/07 14:06

On Oct 16, 8:51 am, TonyV <kingskip...@gmail.com> wrote:
> On Oct 16, 9:46 am, rjames.cla...@gmail.com wrote:
>
> > Back when frames were in vogue, we would set up the navigation or menu
> > bar to change the content of the main frame. This had the advantage
> > of not requiring the whole page to reload. Just the target frame
> > would reload.
>
> > Can this be done in CSS? Every page I see in CSS the nav / menu bar
> > causes the entire page to be reloaded. This seems inefficient.
>
> > thanks
>
> I don't thing this can be done just using CSS by itself. Sites that
> have parts of pages reloading on demand use AJAX, which uses
> javascript to alter elements on the fly.http://en.wikipedia.org/wiki/Ajax_(programming)
>
> Also, you might want to also check into the iframe element. It works
> just like a frame, but is an element on a page, not a totally separate
> file.http://w3schools.com/tags/tag_iframe.asp
>
> Cheers,
> -KS

A word of caution on iframes. Some folks out there have iframe
blockers (that is to block advertisement), so if you're not sure of
your audience (i.e. www users), you may want to avoid them.

As for ajax, be sure to see if there are any libraries out there that
can make ajax easier. It's easy to make error that can make your app
insecure (such as inadvertently giving users access to your db through
bad code.)

 

Navigation:

[Reply to this 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

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