Publishing Quizzes on Web page
As a user of Wondershare QuizCreator, a popular feature is to create Flash quizzes and then publish them to Web page, and then others can take the quiz anytime and anywhere.
If you want your students or website visitors to be allowed access to the quiz, you can just upload a SWF file generated by QuizCreator to your web space and post the link of the quiz page on your website.
Now, by using some basic coding, you can add a QuizCreator quiz to your own webpage, blog, forum and more.
1. Add a QuizCreator quiz to your own web page.
Usually, QuizCreator creates a simple web page with HTML extension to host the Flash quiz. If you are running a website, you may want to insert the Flash into your own web page instead of using the quiz in an external web page.
Before going on, we get an example for your reference.
Then how to do it?
Here we will talk about some basic HTML coding. It is the common practice to insert a Flash file to use the Object tag coding.
Once QuizCreator creates Flash-based quiz, you can insert the quiz into your Web site in the same way as you inserting any a Flash file. When you publish a quiz for web, QuizCreator will generate three files: *.html, *.swf, *.js. You can create your own Web page for the quiz with the .swf file. Here is the step by step instruction for embedding the Flash quiz on your Web site.
Step 1. Open your Web page in a HTML editor.
Step 2. Go where you want to add the Flash quiz.
Step 3. Insert the Flash quiz by using the following coding.
<embed src="song.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="600" height="500">
</embed>
- Width and Height
You can specify the size of the Flash quiz by changing the width and height parameters. In this example, the size is 600*500 pixels. Change these values to what size you require.
- Src/Value
Here you specify the address of the Flash quiz on web. A relative address is also acceptable. You can see in the example that we have used the relative address "song.swf" for the quiz webpage and that the .swf quiz file is in the same folder as our Web page.
If you put the quiz web page and the .swf file in different folders, for example, the quiz web page in folder Test 1 and the .swf file in Test2, then the address should be /Test2/song.swf.
Step 4 Upload the Flash file to the web space
You just need to upload the *.swf file to the web created by QuizCreator.
2. Add QuizCreator quizzes to your blog
A blog is similar to a webpage. Therefore, you can insert a quiz with SWF extension to your blog in the same way as you insert a Flash into a webpage. You can use the same tags as above example to insert a Flash quiz created by QuizCreator.
By following the instructions above, you will be able to add the Flash quiz to your blog. Please note, if you insert a quiz into an external blog, do not forget to use the absolute address for the Flash quiz file.
song.swf (relative address)
http://wwww.quiz-creator.com/samples/solar-system-quiz/quiz.swf (absolute address )
3. Add QuizCreator quizzes to forums
The method of inserting the Flash quiz into a forum is exactly the same as inserting it into blog. However, not all forums support inserting a Flash file. You can only insert a QuizCreator quiz to forums which support such function.
Related Articles
