1. OpenKompoZer 2. Hand code a javascript that loads an image from Internet based on the DOM model. 3. Take a look atthe sample codethat shows howwindow.onloadto load the image. 4. Use a button to load the image. Try howonclickworks.
Hand code a HTML or useKompoZerto edit an HTML so that the webpage can send a request to Google like http://maps.google.com/maps?q=24.9586,+121.24114 Use Form CGI that includes action, input, and submit. Try a few different coordinates.
"logic will get you from A to B - imagination will take you anywhere" How to use Form to invoke a remote service through CGI. 1. Copy the search box of thissearch page, inlcuding radio buttons, text input, and submit button. 2. Open yourKompoZerHTML editor. 3. Open a new empty HTML file. 4. Paste the search box into this new file.
5. UseKompoZerto add a Form to this search box. Do not hand code the HTML. Just fill the blank in the Form dialog.
6. In the form dialog, set Action="http://google.com/search" and name of Form as "f" and method as "get" (SeeHintif it does not work.)
7. Save your file on your computer. Run your HTML by Firefox. What do you get?