![]() Jump menus are an efficient and attractive way to allow visitors to navigate your site. Dreamweaver creates jump menu forms and automatically generates the required JavaScript. A jump menu works because script (in this case, JavaScript) acts on a form and effects an action (in this case, opening a new Web page) based on data the visitor entered into the form (the page the visitor chose from the jump menu). One great example of a client-side form is a jump menu from which a visitor selects a page in your Web site from a pop-up menu. I've also thrown in some tips on where you can find already-packaged server scripts to handle things like search forms, sign-up mailing lists, and discussion forums. In this chapter, you'll learn how to connect a form to an existing server script (but not how to program the scripts). Forms that connect to scripts at a server (server-side).Forms that manage data in the browser (client-side).In short, this chapter explains how to design two kinds of forms: That data is then stored in a database on a remote server. Visitors enter information (at least an email address and maybe more) into a form. One example of a server-side script is a mailing list form. Most form data is managed by server-side scripts. Other forms collect data and send it to a server, where scripts on the server manage the data. ![]() The client-side script does that without sending any data to a server. A jump menu, for example, collects data (the page a visitor to your Web site wants to go to, for example) and acts on that input (by opening a new Web page). Such scripts are referred to as client-side data handling. Some form content is managed using scripts that run in the visitor's browser. This content can range from orders for products, feedback on site content, service requests, and subscription list sign-ups to surveys, forum discussions, and opinion polls. Through a form you not only convey content, you also collect content. Forms provide a uniquely interactive element in a Web site.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |