I require 2 separate scripts, both of which will be facebook compliant and work within the facebook environment.
We have a calendar with dates which is dynamically populated. Currently the calendar is created using a html table with a "href" in each cell, css styled using "block" layout. When the user clicks this href, I would like the href css style to change to a new style (ie date_selected) and for the date to be inputted to an array. If the user clicks the cell again, the date should be removed from the array and the css style revert to its original style.
There should be a cap of the number of dates which can be selected. I would like the array contents to be visible on the page. The calendar is contained within a form. Once the form is submitted I would like the array to be passed as a POST variable to an action script (you are not required to code this page).
We have a html table with multiple rows, the top row of which the user will be able to change. There are 5 columns in each row, and each cell displays an image. The images are included in the table using a href background image css formatting. When the user clicks the image, I would like the css style to change, thereby changing the background image. There are 4 different CSS styles that I wish to show. Each click should change the cell contents to the next CSS style. Once all 4 css styles have been displayed, the original CSS style should be shown again (ie it cycles through all available styles).
Once the user has chosen his image, the script should send a command to another script (you do not need to write this script) which will add the details of the chosen image / style to the database.
Both these scripts will need to be used in the facebook environment and so will be need to be FBJS compliant. Please read the facebook documentation to ensure you are aware of the relevant standards. Payment will not be made until both scripts work within the facebook platform.
I look forward to your bids, please outline what facebook relevant experience you have. This is likely to be first of many discrete projects and successful completion of this task will likely see you before our preferred supplier. We have a very full pipeline so this a great opportunity to secure future work.