|
Searching Elevator
In compatible browsers, you can use script to add search features to a page containing Elevator, allowing users to search the menu for items containing particular text. Elevator includes Find and Find Next functions.To use this feature, start by adding the script below to the page containing the Elevator applet: <script language="JavaScript" type="text/javascript">If you have used a different name for the applet in your HTML code, change the bold-text in the script above to the name you chose. You can then provide a form text-field for users to enter search text into, and links or buttons to call the functions above. For example, create a form named "myform" containing an input called "myfield", then add these two <A> tags: <a href="javascript:void searchElevator(document.myform.myfield.value)">Find</a><br> You can see this feature in use in Example #2. Note: This feature will work only in registered versions of Elevator. However it can be used for testing from your hard disk.
|