Ajax Client-Server pair:
The project is to develop a pair of functions that will change the background color of 12 transparent .gifs or .jpgs in a client-side HTML/Javascript table asynchronously based on the state of server-side variables. There will be 5 possible values that each of 12 variables can take on the server side:
0: state1
1: state2
2: state3
3: state4
4: error
And 5 corresponding values that the background for the .gif on the client side can take:
gray: state1
blue: state2
green: state3
red: state4
black: error
I.e., if the server-side variable 'var1' is set to 2, the client-side .gif '[login to view URL]' will have a background color of green, etc., for each state and each variable.
Server side: Subroutine written in PHP or Perl with a function interface that looks like this:
function var_state(var1,var2,var3,var4,var5,var6,var7,var8,var9,var10,var11,var12);
Function var_state outputs the appropriate XML to the client for any variable state changes. If no variable states have changed since the last time it was invoked, no data is sent to the client. If 1 or more variables have changed state since the last time it was invoked, only those variable with changed state should be sent to the client.
Client side: An asynchronous callback handler, perhaps similar to Yahoo's Conn. Mgr (<[login to view URL]>) that captures the server variable state data and implements the .gif background changes.
An example html program that implements the functionality is desired.
I will supply the .gif or .jpg images.
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
## Platform
Server side: Linux OS (FC4 preferred, if possible)
Client side: Any OS, IE5+ or Firefox browser