Expanding form questions

D

Dave

I have seen sites that is a question is answered a certain way, an
additional comment field will open.

How is this done in FrontPage 2000?

Thanks
 
J

Jim Buyens

-----Original Message-----
I have seen sites that is a question is answered a
certain way, an additional comment field will open.

How is this done in FrontPage 2000?

Most likely, the designer wrote some JavaScript that
tested the visitor's response and made the comment field
visible or invisible.

Then, the designer probably arranged for that code to run
whenever the question field changed value, lost focus,
received a mouse click, or received a keystroke.

You can probably see the code for this by browsing one of
the sites you've seen and choosing Source from the IE View
menu. Alternatively, you could upgrade to FrontPage 2003
and achieve this effect using the new Behaviors feature.

If you still can't figure this out, post again and cite a
specific URL you'd like to imitate.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
Top