Drop Down Menu

C

Cheryl

I did what was suggested about making the left border not hidden and I was
able to put in the drop down menu just fine. However; I am still getting the
error message
Line 201
Error 9
Error document.menuform.elements.0' is null or not an object
Code 0
My form directs the links to the pages within my entire web. See an example
here line 0 and line 1. What is the problem?
<p align="center"><script language="JavaScript"><!--

function goto_page() {

if (document.menuform.elements[0].selectedIndex == 0)

window.parent.self.status=" Goes Nowhere";

else if (document.menuform.elements[0].selectedIndex == 1)

window.open("august.htm", target="_top");
 
S

Stefan B Rusynko

Provide a URL

Is your form named menuform




| I did what was suggested about making the left border not hidden and I was
| able to put in the drop down menu just fine. However; I am still getting the
| error message
| Line 201
| Error 9
| Error document.menuform.elements.0' is null or not an object
| Code 0
| My form directs the links to the pages within my entire web. See an example
| here line 0 and line 1. What is the problem?
| <p align="center"><script language="JavaScript"><!--
|
| function goto_page() {
|
| if (document.menuform.elements[0].selectedIndex == 0)
|
| window.parent.self.status=" Goes Nowhere";
|
| else if (document.menuform.elements[0].selectedIndex == 1)
|
| window.open("august.htm", target="_top");
|
|
|
|
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top