Announcement

Collapse
No announcement yet.

Girly Quizzes and relevant java (?) scripting

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Girly Quizzes and relevant java (?) scripting

    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?

  • #2
    java (?)

    Javascript.
    Blog | Civ2 Scenario League | leo.petr at gmail.com

    Comment


    • #3
      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?

      Comment


      • #4
        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.
        B♭3

        Comment


        • #5
          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

          Comment


          • #6
            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.
            B♭3

            Comment


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

              Comment


              • #8
                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.
                (\__/) 07/07/1937 - Never forget
                (='.'=) "Claims demand evidence; extraordinary claims demand extraordinary evidence." -- Carl Sagan
                (")_(") "Starting the fire from within."

                Comment


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


                  Lycos, Inc., is a web search engine and web portal established in 1994, spun out of Carnegie Mellon University. Lycos also encompasses a network of email, webhosting, social networking, and entertainment websites.
                  Blog | Civ2 Scenario League | leo.petr at gmail.com

                  Comment


                  • #10
                    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.
                    Blog | Civ2 Scenario League | leo.petr at gmail.com

                    Comment


                    • #11
                      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::
                      (\__/) 07/07/1937 - Never forget
                      (='.'=) "Claims demand evidence; extraordinary claims demand extraordinary evidence." -- Carl Sagan
                      (")_(") "Starting the fire from within."

                      Comment


                      • #12
                        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.
                        B♭3

                        Comment


                        • #13
                          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

                          Comment


                          • #14
                            If such a thing exists, it's on Google.
                            Blog | Civ2 Scenario League | leo.petr at gmail.com

                            Comment


                            • #15
                              What is that you need to do?
                              (\__/) 07/07/1937 - Never forget
                              (='.'=) "Claims demand evidence; extraordinary claims demand extraordinary evidence." -- Carl Sagan
                              (")_(") "Starting the fire from within."

                              Comment

                              Working...
                              X