Go Back   Computer Forums > Welcome To Computer Forums .org > Social Lounge | Off Topic
Click Here to Login
Join Computer forums Today

Thread Tools Search this Thread Display Modes
Old 07-19-2009, 01:56 PM   #1
Daemon Poster
Ronspc's Avatar
Join Date: Oct 2008
Posts: 688
Send a message via AIM to Ronspc
Default Another Problem need help! REP

Ok I have another post about dreamweaver CS4 I am building a website similar to puget systems.


Is there away to do it like they do it in the sense. When a customer clicks the selected button it adds the price and at the end a grand total price is blatantly outlines? Do you guys understand what I mean.

anyone know this?

Dell motherboard, 2 hard drives 8600GT AMD Athlon

Ronspc is offline   Reply With Quote
Old 07-20-2009, 10:43 AM   #2
Site Team
root's Avatar
Join Date: Mar 2004
Posts: 8,043
Default Re: Another Problem need help! REP

if you search this forum I've already posted the code on how to make things appear and change, do price calculations based on radio boxes and all kind of stuff like that before...

basically you need to use Javascript again

you can assign a radio box or a check box a value, when the box is clicked, you use the onclick event to run a javascript.

your javascript can check the values assigned to an object in the format if page.getelementbyid(case1)=="TRUE" then case_price="10"

then at the end you add up whatever variables you have.

if is easier to just start with a total number and as people press a button you just call a script that'll increment a number, but that won't account for people effectivly removing things from their basket/build etc.
I didn’t fight my way to the top of the food chain to be a vegetarian…
Im sick of people saying 'dont waste paper'. If trees wanted to live, they'd all carry guns.
"The inherent vice of capitalism is the unequal sharing of blessings; The inherent vice of socialism is the equal sharing of miseries."
root is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

All times are GMT -5. The time now is 03:31 AM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0