Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Miscellaneous > Archive > Off-Topic-Archive > Girly Quizzes and relevant java (?) scripting
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
Zylka is offline Zylka
Prince
sure
May 2000
time: 05:32
  Old Post 11-12-2003 06:11
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Girly Quizzes and relevant java (?) scripting Get a bigger avatar today!

I have questions, scoring values (well, to a numerical extent), and resultant outcomes all set up - but not a *ing clue how to code them on a site like Quizzilla. How can I get an example of such script - and are there better quiz pages to put this on?

St Leo is offline St Leo
King of Scenario League
Member of the Apolyton Social Democratic Party
Jul 2005
time: 00:32
  Old Post 11-12-2003 06:37 Visit St Leo<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

java (?)

Javascript.

Zylka is offline Zylka
Prince
sure
May 2000
time: 05:32
  Old Post 11-12-2003 06:49
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Remove this text

I know, by ? I mean is Javascript universally applicable/essential to this specific type of program. I haven't a clue where to start, are there templates available?

Q Cubed is offline Q Cubed
Prince
t3h y3ll0w p3ril
Apr 1999
time: 23:32
  Old Post 11-12-2003 07:28 Visit Q Cubed's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

there should be. just look in the source html for the link to the script file, and reverse engineer that.

that said, javascript sucks, because it's client-side.

you'd be better off writing the quiz in php, asp, or some other server-side code, unless your server is incapable of doing it.

Zylka is offline Zylka
Prince
sure
May 2000
time: 05:32
  Old Post 11-12-2003 07:36
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Increase the size of your Attachments

so that means they can't write the quiz unless java is enabled on their end? What are some quiz sites that use other codes

Q Cubed is offline Q Cubed
Prince
t3h y3ll0w p3ril
Apr 1999
time: 23:32
  Old Post 11-12-2003 07:48 Visit Q Cubed's homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Support Apolyton buy from Amazon

java and javascript are two unrelated technologies.

the problem with javascript/client-side technologies is that they might have it disabled, bad code leads to far more unpredictable reactions, and results can vary between browsers. with the code in this case, the last one is not as much of a concern.

the benefit of server-side is that you can ensure that everybody gets the exact same behavior from your script.

Zylka is offline Zylka
Prince
sure
May 2000
time: 05:32
Question  Old Post 11-12-2003 08:14
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

I don't understand how separate browsers would provide separate answers when the source code should be on the concrete values you entered

Urban Ranger is offline Urban Ranger
Apolyton Duke of Off-Topic

Donate to the Red Cross
The City State of Noosphere, CPA special envoy
May 1999
time: 13:32
  Old Post 11-12-2003 08:17
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Inflate your Upload Space

I wouldn't say Javascript is horrible because it is client side. The good thing about client side scripts and applets (inlcuding Java applets) is they reduce access to the server and off load work to the client's computer.

Javascript is horrible because the error reporting sucks and you don't have a damn clue why the damn script fails to work. Okay, I reckon that's a problem with the browsers, not the language itself.

St Leo is offline St Leo
King of Scenario League
Member of the Apolyton Social Democratic Party
Jul 2005
time: 00:32
  Old Post 11-12-2003 08:17 Visit St Leo<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Support Apolyton buy from Amazon

Ignore Q. He has learned to use a hammer and is looking for nails.

http://www.google.com/search?q=javascript+tutorial
http://hotwired.lycos.com/webmonkey.../tutorial1.html

St Leo is offline St Leo
King of Scenario League
Member of the Apolyton Social Democratic Party
Jul 2005
time: 00:32
  Old Post 11-12-2003 08:19 Visit St Leo<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Increase Your PM Length

Javascript is horrible because the error reporting sucks and you don't have a damn clue why the damn script fails to work. Okay, I reckon that's a problem with the browsers, not the language itself.

In Mozilla-based browsers, enter "javascript:" in the location bar and hit enter.

In Opera, go Window > Special > Javascript Console.

You'll see a list of errors for the current page.

Urban Ranger is offline Urban Ranger
Apolyton Duke of Off-Topic

Donate to the Red Cross
The City State of Noosphere, CPA special envoy
May 1999
time: 13:32
  Old Post 11-12-2003 08:21
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Tired of ads?

St. Leo,

I could find the JavaScipt console. It's just that they don't report errors. I much rather they yell at me instead of just not doing things. Yesterday I spend a few ours chasing down a bug, which turned out to be an undeclared variable being passed to a function. ::sigh::

Q Cubed is offline Q Cubed
Prince
t3h y3ll0w p3ril
Apr 1999
time: 23:32
  Old Post 11-12-2003 08:22 Visit Q Cubed's homepage!
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

it's not that. it's that i was sick and tired of having to do little modifications depending on whether the client was using ie or mozilla.

granted, it was trying to make a menu, but i soon said **** it to javascript.

in the case of quizzes, i still like php better, but there's not much wrong with javascript.

Zylka is offline Zylka
Prince
sure
May 2000
time: 05:32
  Old Post 11-12-2003 08:23
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Support Apolyton buy from Amazon

Guys, I'm asking for a relatively straightforward javascript (or other) coding template FOR A QUIZ. Take into consideration that the last comp sci course I took was at the age of 14

St Leo is offline St Leo
King of Scenario League
Member of the Apolyton Social Democratic Party
Jul 2005
time: 00:32
  Old Post 11-12-2003 08:35 Visit St Leo<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#14 Report this post to a moderator
Support Apolyton, buy Civilization 2

If such a thing exists, it's on Google.

Urban Ranger is offline Urban Ranger
Apolyton Duke of Off-Topic

Donate to the Red Cross
The City State of Noosphere, CPA special envoy
May 1999
time: 13:32
  Old Post 11-12-2003 08:42
Edit/Delete Message Reply w/Quote
#15 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

What is that you need to do?

Zylka is offline Zylka
Prince
sure
May 2000
time: 05:32
  Old Post 11-12-2003 09:13
Edit/Delete Message Reply w/Quote
#16 Report this post to a moderator
Increase the size of your Attachments

I need to plagiarize the standard frame of a (now non java based) "which stupid quiz are you?" quiz. One which has several questions, with several possible answers to each question - and then a number of outcomes (which I've already constructed, visually) which follow accord to chosen values set for each answer.

Urban Ranger is offline Urban Ranger
Apolyton Duke of Off-Topic

Donate to the Red Cross
The City State of Noosphere, CPA special envoy
May 1999
time: 13:32
  Old Post 11-12-2003 10:02
Edit/Delete Message Reply w/Quote
#17 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

Show me the link. I may be able to come up with something when I have time. Which means don't hold your breath.

Zylka is offline Zylka
Prince
sure
May 2000
time: 05:32
  Old Post 11-12-2003 10:28
Edit/Delete Message Reply w/Quote
#18 Report this post to a moderator
Browse Apolyton AD-FREE

http://quizilla.com/users/SuperCurl...0Belong%20in%3F(many%20different%20outcomes!)

I suppose the coding might be listed in there somewhere. I'm using Mozilla

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:32.
Apolyton Time is 00:32.
    top of page
Rate This Thread:
archivepost
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0461 seconds (88.49% PHP - 11.51% MySQL) with 31 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net