Coding: What character are you?

GEC: Discuss gaming, computers and electronics and venture into the bizarre world of STGODs.

Moderator: Thanas

Post Reply
User avatar
Sam Or I
Jedi Council Member
Posts: 1894
Joined: 2002-07-12 12:57am
Contact:

Coding: What character are you?

Post by Sam Or I »

Does anyone have an example of how the coding works for these web pages?
User avatar
General Zod
Never Shuts Up
Posts: 29211
Joined: 2003-11-18 03:08pm
Location: The Clearance Rack
Contact:

Post by General Zod »

Mind being more specific? That's somewhat vague. . . .do you mean html, java, perl, javascript, php? and what website exactly?
"It's you Americans. There's something about nipples you hate. If this were Germany, we'd be romping around naked on the stage here."
User avatar
Mad
Jedi Council Member
Posts: 1923
Joined: 2002-07-04 01:32am
Location: North Carolina, USA
Contact:

Post by Mad »

Are you talking about the polls where the user is presented a number of multiple-choice questions, and the answers are used to determine which character the user is supposed to be most like?

And, if so: it depends... what language? And how advanced do you want to go?
Later...
User avatar
salm
Rabid Monkey
Posts: 10296
Joined: 2002-09-09 08:25pm

Re: Coding: What character are you?

Post by salm »

Sam Or I wrote:Does anyone have an example of how the coding works for these web pages?
edit -> view -> page source (at least in mozilla)
User avatar
phongn
Rebel Leader
Posts: 18487
Joined: 2002-07-03 11:11pm

Post by phongn »

Usually they're written in Javascript -- each radio button increments a value for a certain result and the result with the largest value is then displayed.
Post Reply