Find Jobs
Hire Freelancers

DHTML Collapsible list class in PHP

$100-500 USD

Cancelled
Posted about 14 years ago

$100-500 USD

Paid on delivery
I require a PHP5 class that produces a collapsable list of fixed data with various options.? ? The list needs to be persistable via the mysql database.? Code has to be clean, compact, properly indented, commented.? It should avoid deprecated functions, should produce no errors even at highest reporting level.? Also it should not rely on libraries such as jquery etc if possible.? ## Deliverables I require a PHP5? class that outputs a collapsable list with various options.? This is part of a much larger project, and if the succesful bidder does a good job and the client is happy, then we will probably be able to offer you regular projects.? Here are the requirements: The class should accept a database results set,? "reference"? and? "always_show_selected" flag.? The database results set will contain the following fields: is_recommended: 0 or 1 is_recommended_text: varchar product_cat: varchar product_desc: varchar product_id: integer price: decimal selected: 0 = no, 1 = us, 2 = third party The data will be sorted by is_recommended (desc), product_cat, product_desc The data should be displayed as a collapsable list.? product_cat will be listed as the headers, and when expanded it will show a list of product_desc and price for that product_cat.? There will be radio buttons for "selected"? (0, 1 or 2).? The price should be greyed out unless 1 (us) is selected.? If the "always_show_selected" flag passed to the class = 1 then when a category is collapsed it should show a list of items where "selected" = 1 or 2.? If it is set to 0 then it shouldn't show anything other than the header.? A table should be created that persists the selected values, kept unique using the "reference" value passed to the class.? When returning to the page it should automatically display it's last state.? When a category contains one or more selected item (i.e. "selected" is not equal to 0) it should show in a darker colour than when nothing in that category is selected.? Colours should be set in CSS stylesheet.? For items where is_recommended = 1, these should also be shown in a box at the top of the page (one box per item), along with is_recommended_text and a button that when clicked will tick "us" for the "selected" item on that row.? A running total should be displayed of the value of all the "selected" = "us" values.
Project ID: 3392730

About the project

6 proposals
Remote project
Active 14 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
6 freelancers are bidding on average $115 USD for this job
User Avatar
See private message.
$85 USD in 7 days
5.0 (371 reviews)
10.0
10.0
User Avatar
See private message.
$85 USD in 7 days
5.0 (83 reviews)
6.6
6.6
User Avatar
See private message.
$76.50 USD in 7 days
4.8 (25 reviews)
6.8
6.8
User Avatar
See private message.
$85 USD in 7 days
4.8 (48 reviews)
5.8
5.8
User Avatar
See private message.
$42.50 USD in 7 days
4.8 (5 reviews)
3.1
3.1
User Avatar
See private message.
$318.75 USD in 7 days
0.0 (2 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Tampa, United States
5.0
165
Member since May 9, 2002

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.