Reply to Re: modular code

Your name:

Reply:


Posted by Beauregard T. Shagnasty on 06/16/07 16:33

Hans-Peter Diettrich wrote:

> Beauregard T. Shagnasty wrote:
>> ...with the caveat that it will not work in the oft-used browser-like
>> operating system component. [which is IE.]
>>
>> #contentbox:after {
>> content: "Copyright 2007. All rights reserved.";
>> }
>>
>> Note you can't place any HTML in this content.
>
> Thanks for all your answers :-)
>
> Another idea: what about browser-plugins?

Is this for a public website? If only for an intranet, where you or
your company has full control, go for it, but if for the WWW, just drop
the idea.

> In general it might be a bad idea, to force users to install a plugin
> before they can see a particular page

This might apply only to a specialty site. Music.. videos.. but
certainly not for a simple footer.

> - what if everybody would do that?

The WWW would be an even larger mess.

> But in my current project the users would be happy, if they could
> extend the browser capabilities as desired, by installing a plugin.

You should drop the idea of 'plugins' just to see text you want to
include in a file.

> Concrete question: what's the task of a plugin, what makes the
> browser activate it? Is a plugin related to a special object type, or
> what else?

Can't be answered, as a 'plugin' could be a thousand things. I'm
certainly not going to install unnecessary 'plugins' in my browsers just
to see a copyright notice.

As the original post was about inserting common footer text on all
pages, the answer still remains to use either SSI, PHP includes or
similar, preprocessing, or an external JavaScript called by each page's
code. (Note that JavaScript will not be seen by 5-10% of visitors.)

--
-bts
-Motorcycles defy gravity; cars just suck

[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

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