You are here: Re: a tool to generate background « PHP Programming Language « IT news, forums, messages
Re: a tool to generate background

Posted by Jon Slaughter on 06/10/07 21:16

"devphylosoff" <devphyl@gmail.com> wrote in message
news:1181504206.113968.246450@q69g2000hsb.googlegroups.com...
> hi folks
>
> I am looking for a tool (script, plugin, code, ...) which can generate
> background image for webpage
>
> look at background on http://vtorrent.info/ page or on the Vista
> webpage.
> I want to create this in fly - only give two colours and expect result
> which will be created by function.
>

I'm not sure what you are talking about? Change the background in fly?

> Is any plugin for it?
> code in php or js or .. whatever ?
>
> What for?
> To have possibility to change backround in conformity with current
> hour.
>

Do you mean dynamically? That is, you want to control the background image
programmatically instead of through css?

If so you either can write a script to modify the css code and have it run
when you want(not that hard) or set the background in the html using inline
css but this would actually be php code. You could even allow the user to
set there own background if you wanted. it would be something like this

<body style="background-image:url(<?php echo 'background.jpg'?>);">

of course the php could be any thing that outputs a file name and you could
make it more complex but thats the idea. Your files would need to be have
php processing on them(so probably need to be named php).

 

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

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