Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Javascript Error: 'menu1' not defined??


Nocturnaloner

Recommended Posts

I'm using a Dynamic Drive dropdown menu to navigate from some button images on my site. Why am I getting these errors, as it looks like they are defined to me??

 

I do have items and categories in the store.

 

//Contents for menu 1
var menu1=new Array()
menu1[0]='<a href="Home.htm">All Boats</a>'
menu1[1]='<a href="http://www.freewarejava.com">New Boats</a>'
menu1[2]='<a href="http://codingforums.com">Pre-Owned</a>'
menu1[3]='<a href="http://www.cssdrive.com">Bass Boats</a>'
menu1[4]='<a href="Home.htm">Aluminum Boats</a>'
menu1[5]='<a href="">Pontoon Boats</a>'
menu1[6]='<a href="Home.htm">Runabouts</a>'
menu1[7]='<a href="Home.htm">Deck Boats</a>'
menu1[8]='<a href="Home.htm">Fish & Ski</a>'
menu1[9]='<a href="Home.htm">Jet Boats</a>'
menu1[10]='<a href="Home.htm">Cruisers</a>'
menu1[11]='<a href="Home.htm">Fixer-Uppers</a>'

//Contents for menu 2
var menu2=new Array()
menu1[0]='<a href="/Home.htm">All Motors</a>'
menu1[1]='<a href="http://www.freewarejava.com">Evinrude</a>'
menu1[2]='<a href="http://codingforums.com">Johnson</a>'
menu1[3]='<a href="http://www.cssdrive.com">Mercury</a>'
menu1[4]='<a href="Home.htm">Suzuki</a>'
menu1[5]='<a href="Home.htm">Yamaha</a>'

//Contents for menu 3
var menu3=new Array()
menu1[0]='<a href="Argos.htm">Argo</a>'
menu1[1]='<a href="http://www.freewarejava.com">Club Car</a>'

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...