RootsWeb.com Mailing Lists
Total: 1/1
    1. Re: A drop down box and menu
    2. Elsi
    3. At 01:12 PM 02/04/2001 -0800, Nelda Percival wrote: >Hi, >I was told that this is the place to ask questions about writing HTML >codeing??!! Well, there's lots of HTML knowledge here among the list members. However, this list's purpose is to help people put their information on web servers at RootsWeb. Novice webmasters can get help with HTML, transferring files, using supplied scripts, etc. >Could someone please tell me the codeing for a drop down box that has items >in it that are active links to other sites? I have found codes, I have even >created a few with front page. but I have not been able to figure out where >to put the name of the link and the url to make it active. A drop-down box is a form element. In general, it requires a program to be executed when the form is submitted. This program can be on the server (a CGI program) or in the browser page (a JavaScript or ActiveX routine). Assuming that your server doesn't provide a CGI program for this, you'll need to add JavaScript to your page. <alert>JavaScript is a programming language. If you don't have experience with other programming languages, be prepared to spend some time learning. You might get lucky and be able to cut/paste some JavaScript into your web page and have it work correctly. You might need to learn something about the JavaScript functions being used in order to get the JavaScript working on your page.</alert> HTML Goodies has a very nice tutorial on using JavaScript to create drop-down links -- http://htmlgoodies.earthweb.com/stips/scripttip38.html Good luck, Elsi

    02/04/2001 08:46:50