Search in forum:
Search


Author Message
Post07/18/2012 at 7:17am (UTC)    
Post subject: need help for quiz page

I wanted to make a quiz page for my website,
I want quiz looking like that
http://www.pakone.pk/entry-test/physics-class-11-mcqs/o/chapter-1-measurements-1.html

I want code..
______________
Post07/22/2012 at 2:10pm (UTC)    
Post subject:

Quote:
<form name = "quizQ1">

<b>Question 1: In which country was the first Table Tennis patent filed?</b><br> <br>

<input type = "radio" name = "rad1" onclick = "getAnswer('a')"> United Kingdom <br>
<input type = "radio" name = "rad1" onclick = "getAnswer('b')"> United States <br>
<input type = "radio" name = "rad1" onclick = "getAnswer('c')"> France <br>
<input type = "radio" name = "rad1" onclick = "getAnswer('d')"> Turkey <br><br><br>
</form>

<script type = "text/javascript">

function getAnswer(input) {
if (input == "a") {alert ("Well done! The first Table Tennis Patent was issued in England on the 15th of July 1890.")}
else {alert ("No that's incorrect, please try again...")}
}

</script>


Can you edit the quiz script above? It is a nice script! Please try!

Wink
______________
- If you love your own-free-website, fight against to spams and spammers! Please support us, let's remove all the spammers together! We don't want to see spams and spammers on OFW board!

- The only language of the board is English / Englisch / Anglaise / Inglés / Inglese / İngilizce / Angielski / Английский / Αγγλικά / 英语 / 英语简体英文. So please write in just English!

Own-free-website.com

Display posts from previous:   


Powered by phpBB © 2001, 2005 phpBB Group