473,396 Members | 1,785 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

a tool to generate background

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.

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.

Jun 10 '07 #1
4 1525
you can use a php script as a stylesheet. in this php generated
stylesheet you can define the background image: http://www.tizag.com/cssT/background.php
then you just have to import your stylesheet in your page and the
background will be displayed

devphylosoff schrieb:
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.

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.
Jun 10 '07 #2
<comp.lang.php>
<Linuxx0r>
<Sun, 10 Jun 2007 13:22:55 -0700>
<11**********************@n4g2000hsb.googlegroups. com>
you can use a php script as a stylesheet. in this php generated
stylesheet you can define the background image: http://www.tizag.com/cssT/background.php
then you just have to import your stylesheet in your page and the
background will be displayed
Wouldnt it be better to use the stylesheet as normal - and
define/declare the background image in the <bodytag .

<html>

<head>

<title>test</title>

<link href="<?php print $poop_css; ?>" rel="stylesheet" type="text/css">

</head>

<?php
blah blah blah
?>

<body text="#FF0000" link="#FF0000" vlink="#FF0000" alink="#FF0000"
style="background-image: url(images/<?php print $blah; ?>.jpg);"

Jun 10 '07 #3

"devphylosoff" <de*****@gmail.comwrote in message
news:11**********************@q69g2000hsb.googlegr oups.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).


Jun 10 '07 #4
At Sun, 10 Jun 2007 12:36:46 -0700, devphylosoff let h(is|er) monkeys
type:
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.

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.
Creating a rather complex gradient like the one on the site you mention
using PHP's graphic libs (gd, imagemagick) may be quite a daunting job.
Why don't you create a set of images outside of PHP and rotate these using
a simple script?

--
Schraalhans Keukenmeester - sc*********@the.Spamtrapexample.nl
[Remove the lowercase part of Spamtrap to send me a message]

"strcmp('apples','oranges') < 0"

Jun 11 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: ColdCanuck | last post by:
Greetings All! I'm hoping some of you .NET gurus can help me out. I've search google but I cannot find the answers I'm looking for. I have a small business client that would like to replace...
1
by: Vandana Rola | last post by:
Hello Everyone, We are using javascript's tooltip (pop up on mouse over )function. The problem we are having is as we go scroll two or three pages deep in to the html page our tool tip /pop up...
0
by: Roedy Green | last post by:
I am going a bit nuts with CSS. Opera and Firefox display my non/repeating backgrounds with a one repeat. IE does it correctly. I tried coding it both ways: ..see { /* background:#ffffff...
6
by: P Jones | last post by:
Hi, I support an enterprise web application (IE client) built in VB6, with about 200 classes, serving about 7000 users, running on 3 clustered servers. I need to incorporate web reporting for...
7
by: George Jordanov Ivanov | last post by:
Folks, I have to design the WSDL files of a bunch of XML Web Services. But, unfortunately, I am not very keen on writing the WSDL file line by line, and moreover be aware of the whole standard...
0
by: none | last post by:
Hi, I am looking for a tool to document and maintain a large data model (500 tables). Oracle Designer used to be the tool of choice for this sort of thing. But given the investment of effort we...
7
by: ab3331 | last post by:
I need a tool that acts like a browser, but instead of actually rendering a page, it explains in English exactly what rules it's interpreting. This would make it simple to see which rules are...
4
by: Anastasios Hatzis | last post by:
I'm looking for a pattern where different client implementations can use the same commands of some fictive tool ("foo") by accessing some kind of API. Actually I have the need for such pattern for...
26
by: webrod | last post by:
Hi, I have some php pages with a lot of HTML code. I am looking for a HTML validator tool (like TIDY). TIDY is not good enough with PHP tags (it removes a lot of php code). Do you have any...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.