PDA

View Full Version : How would I go about making a page similar to the "Customize Your Mac" page?




maclover001
Mar 29, 2009, 02:00 AM
Sorry about the odd title.

I'm making a site for a small business, and I want to make something similar to this:

http://store.apple.com/us/configure/MB604LL/A?mco=MzA3MTE3NA

See how depending on what radio buttons are selected, the price shown at the right adjusts?

Here's a quick mockup:


( ) Option 1 (Included)
(*) Option 2 (Add $10)

( ) Option 1 (Included)
(*) Option 2 (Add $45)

(*) Option 1 (Included)
( ) Option 2 (Add $10)

Total price: $55


Anyone get what I'm saying? It's probably simple PHP. How would I go about this?

Thanks



bootedbear
Mar 29, 2009, 03:07 AM
Via pure php you'd need to refresh the page via the server -- but it can all be done on the client using JavaScript. Or even a combination of the two if you throw Ajax into the mix.