Correct answer = next page

J

Jeff

I am trying to set up a site for my students so if they answer a question
correctly they are moved on to the next page and if they answer incorrectly
the page resets itself telling the user to try again. Is this possible and
how difficult is it?
 
K

Kevin Spencer

Of course it's possible. It would require some server-side programming using
ASP, PHP, or whatever is available on your server. How difficult is it?
Well, if you're not a programmer, it's impossible. If you ARE a programmer,
it's as difficult as your programming skills make it.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
 
S

Steve Easton

Here's an example.
Copy and paste " in code view" into a new page, save it as test.htm and then preview it in the
browser.

<p align="center">What is the most popular Search Engine?</p>
<p align="center">
<input type="button" style="width: 75" value="Yahoo" name="B1"
onclick="document.location='test.htm'" ><br>
<input type="button" style="width: 75" value="Google" name="B2"
onclick="document.location='http://www.google.com'"><br>
<input type="button" style="width: 75" value="MSN" name="B3"
onclick="document.location='test.htm'"><br>
<input type="button" style="width: 75" value="Alta Vista" name="B4"
onclick="document.location='test.htm'">
</p>


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
K

Kevin Spencer

The problem with a JavaScript solution is that the students can simply view
the HTML source code to find the answers...

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
 
P

Paul M

Hi
OK, This is what you say to the students , "I know this javescript exam is
50% of your pass for the year but it's not fair on the other students if you
cheat.
There, problem solved
 
S

Steve Easton

Run it in a window with no toolbar and with right click disabled, or in a modal dialog
box.!!


;-)
 
K

Kevin Spencer

Very funny. Steve, some of thesxe people might think you're serious!

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
 
T

Thomas A. Rowe

Requires a custom written application using ASP, ASP.net, PHP, CFM, etc. and a database.

Here is a example of the concept:
http://www.ecom-data.com/Examples/TriviaGames

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
Top