HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media


Welcome to TinyPortal. Please login or sign up.

June 25, 2024, 11:35:14 PM

Login with username, password and session length
  • Total Posts: 195,280
  • Total Topics: 21,227
  • Online today: 203
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 170
  • Total: 170

TP Quiz/Survey snippet

Started by SOcRatEs, August 15, 2006, 06:43:58 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


My 1st snippet!
TP Quiz/Survey
Add a Center/frontpage block
copy all code from the attatched txt and paste into the body of block.
Code is commented and very easy to customize.
onclick-submit will show results in a popup window
Have fun! ;)


very cool.  Thanks for doing it.

I will probably use that on one of my sites.


What would be even better would be a way to show what members have scored.  Keep everything in a database.



A new version Quiz/poll/survey
Self validating javascript/html.
No php mysql (yet)

Very easy to customize and useful in right/left blocks

2 versions instructions included
1. emmbeded javascript, for use with TP
2. serverside script,


Its still basically a quiz block..can it be converted into a poll block with replies stored in the db.


Quotecopy all code from the attatched txt and paste into the body of block.

WHERE is it?


This is probably one of the things that got lost during move from one host to another.
The attachments to a lot of posts got lost during the move.


Oh damn... I was looking for a quiz code... I just wanted a simple code which displays 30 questions with 3 possible answers for each and just displays how many of the 30 are correct. Maybe anybody has this script still...


Sorry for delay...had to find the files!!
See re-attachment's on this post