Embedding Viola Applets in the ToolBar

Example: Page Voter

This document is voteable. You can vote on this document by using the "Page Voter" tool that is in the toolbar.

Once you've picked (voted) a rating, that information will be submited to a server (thank you), and also saved in a local database in your file system. The rating information is saved locally so that the next time you visit this page, you will see if you had already rated the page.

FYI, The "Page Voter" applet is linked to this page using the following markup. Note that same applet can be reused by different pages (only the 'ARG' attribute is changed to identify the page being voted on).

<LINK REL="tool" HREF="voter2.v" ARG="votable1.html">

Go back to the 'demos' page