Help needed from web gurus
#1
Scooby Regular
Thread Starter
Join Date: Aug 2005
Location: 392/361 MY04 STi
Posts: 7,638
Likes: 0
Received 0 Likes
on
0 Posts
Help needed from web gurus
I'm trying to create a html page, that has a base figure, then a series of dropdown boxes or radio buttons, that the user selects and the base figure changes accordingly.
There is the option of 3 base figures too.
Are there any scripts out there that match that?
Haven't found any yet.
There is the option of 3 base figures too.
Are there any scripts out there that match that?
Haven't found any yet.
#2
to see an immediate change you'll need to employ javascript or similar extension to html.
Javascript Tutorials and Lessons: Javascript and Radio Buttons on a HTLM Form
Javascript Tutorials and Lessons: Javascript and Radio Buttons on a HTLM Form
#3
Scooby Regular
Thread Starter
Join Date: Aug 2005
Location: 392/361 MY04 STi
Posts: 7,638
Likes: 0
Received 0 Likes
on
0 Posts
Was just looking at that example as it happens. It doesn't do quite what i'm after, but i'm stuck on what to google for.
Because i would have about 15 drop down boxes, all effect the final price.
I'm after something similar to this:
Custom Poker Tables by DK Poker Tables
but without having to hit the "calculate" button, just for the price to be changed automatically.
Because i would have about 15 drop down boxes, all effect the final price.
I'm after something similar to this:
Custom Poker Tables by DK Poker Tables
but without having to hit the "calculate" button, just for the price to be changed automatically.
#4
Scooby Regular
Join Date: Sep 1999
Location: Swindon, Wiltshire Xbox Gamertag: Gutgouger
Posts: 6,956
Likes: 0
Received 0 Likes
on
0 Posts
What I'd do...
Hold the price in a global Javascript variable
Create a javascript function to display the value of that variable on the page (just replace the contents of a div).
Put listeners on the drop down boxes (onchange, onclick etc) which call Javascript functions which in turn update the global price variable, and then call the aforementioned display function.
Jobs a goodun
Hold the price in a global Javascript variable
Create a javascript function to display the value of that variable on the page (just replace the contents of a div).
Put listeners on the drop down boxes (onchange, onclick etc) which call Javascript functions which in turn update the global price variable, and then call the aforementioned display function.
Jobs a goodun
#5
Scooby Regular
Thread Starter
Join Date: Aug 2005
Location: 392/361 MY04 STi
Posts: 7,638
Likes: 0
Received 0 Likes
on
0 Posts
What I'd do...
Hold the price in a global Javascript variable
Create a javascript function to display the value of that variable on the page (just replace the contents of a div).
Put listeners on the drop down boxes (onchange, onclick etc) which call Javascript functions which in turn update the global price variable, and then call the aforementioned display function.
Jobs a goodun
Hold the price in a global Javascript variable
Create a javascript function to display the value of that variable on the page (just replace the contents of a div).
Put listeners on the drop down boxes (onchange, onclick etc) which call Javascript functions which in turn update the global price variable, and then call the aforementioned display function.
Jobs a goodun
The only problem is, my javascript is minimal, so i could waste forever trying, testing these functions.
Anyone have/know of some similar functions or could provide code snippets??
Would be greatly appreciated.
Thread
Thread Starter
Forum
Replies
Last Post
Scott@ScoobySpares
Full Cars Breaking For Spares
61
11 January 2021 03:08 PM
robbie1988
Wanted
2
13 September 2015 09:25 AM
Scooby-Doo 2
Wheels And Tyres For Sale
1
09 September 2015 06:51 PM