In the center of the page there is a Yes and a No button. Click on the Yes.
These lead to more questions based on the answer and a small graphic showing
where you are in the process. The graphic has on mouse over title of what
the questions were for each answer. I was thinking that the series or tree
of questions could be made into a widget and be able to be dropped into a
web page. I could see an XML data file like this being used as the source.
Something like this.
<root>
<questions>
<question label="Does your business have 5 or more employees?">
<answer label="Yes" abbrev="Y">
<question label="Do you have an occupational pension scheme that
your employees can join? ">
<answer label="Yes" abbrev="Y">
More questions and answers
</answer>
<answer label="No" abbrev="N"><!-- No answered for second
question -->
<message> You do not have to offer your employees access to a
stakeholder pension scheme. You must take action if this situation
changes.You can still offer access if you wish.
</message>
</answer>
</question>
</answer>
<answer label="No" abbrev="N"> <!-- No for the first question -->
<message>You do not have to offer your employees access to a
stakeholder pension scheme. You must take action if this situation
changes.You can still offer access if you wish. </message
</answer>
</question>
</questions>
<root>
This could be done in a JSON file instead.
George
On Wed, May 6, 2009 at 7:59 PM, David Huynh <[email protected]> wrote:
>
> George Adams wrote:
> > One of my coworkers pointed me to the following web site
> >
> http://www.thepensionsregulator.gov.uk/stakeholderpensions/decisiontree/index.aspx
> >
> > There is a decision tree on this page that changes based on your
> > answers. It would be nice to have a widget that could be easily
> > configured with questions and answers and the interface would build
> > itself. This is way past my expertise in JavaScript. Anyone out there
> > like to take this on?
> > Good idea or bad?
> I looked at that page and didn't see any diagram or widget... Do I need
> some special software for that?
>
> David
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SIMILE Widgets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/simile-widgets?hl=en
-~----------~----~----~----~------~----~------~--~---