473,385 Members | 1,337 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Trouble with menu

1
Hi,

I'm having some trouble with a java script on my page

http://www.multiseals.com.sg/

I'm using IE 7 and there should be 2 drop down menus that appear when the "ABOUT US" and "PRODUCTS" buttons on the top navigation bar are moused over.

When the page is loaded IE also tells me that there are errors on the page. It says that there are objects unexpected and my menus are undefined.

The script for the menus are actually kept on a seperate file: www.multiseals.com.sg/dd.js

They seem in order though and I'm having the same problem on every page in my site because the top navigation bar appears in all of them..

Any help would be greatly appreciated.

Thanks.
Feb 23 '07 #1
1 1156
acoder
16,027 Expert Mod 8TB
Welcome to The Scripts.

In your javascript file, the line:
Expand|Select|Wrap|Line Numbers
  1. menu1[2]='&nbsp;›&nbsp;<a href="about-md.html" class="navi">MD's Message</a><br>'
is incorrect because you have a single quote within single quotes so you have to escape it:
Expand|Select|Wrap|Line Numbers
  1. menu1[2]='&nbsp;›&nbsp;<a href="about-md.html" class="navi">MD\'s Message</a><br>'
Feb 23 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: chauhan | last post by:
Hi, I am new to pogramming. I have written a small program which retrieves emails from server, unless all the messages are loaded only then it displays on screen properlely. Whole thing works...
6
by: Terry | last post by:
Hi, I hope this problem I ran into has an easy fix. I created a menu bar for my page using Sothink DHTML Menu 4.1 which created javascript file. I also add a small slide show on the page...
1
by: lowngeact | last post by:
So... not like I actually know what I'm doing here, but I have this site that I'm working on. http://butchross.com/kyfolkweb/ four of the five events has a drop down menu, but for whatever reason I...
0
by: TomSt | last post by:
Hello, I'm trying to set the ForeColor property on a Menu and and a TreeView using ASP.Net 2.0 and VisualStudio 2005 Beta. This is a VB.Net app Here are the code snippet: ...
1
by: Andre Ranieri | last post by:
I'm having trouble programatically inserting an Excel file into an Image column in our CRM package's SQL 2000 database. The function appears to work ok, but when I attempt to access the file through...
1
by: Ignacio X. Domínguez | last post by:
Hi everyone. Hope you can help me out on this one. I'm developing a Component which has a property ContextMenu. This component, when placed on a form with a working ContextMenu (events assigned...
3
by: TPS | last post by:
Instead of using Hyperlinks and URL / Response.QueryString() parameters to pass state around in my app, I am using LinkButtons with a corresponding command event and command arguments. This page...
0
by: Dave Flynn | last post by:
when opening a child form in a MDI container I would like to incorporate the childs mainmenu into the parents, however at runtime parents main menu does not update and the childs menu remains...
0
by: Terry Olsen | last post by:
I'm trying to use HttpWebRequest to return the HTML of a web page. But it's not working. The web site does not require authentication, but does have a main menu page. The page i'm trying to get...
5
matheussousuke
by: matheussousuke | last post by:
Hello, I'm using tiny MCE plugin on my oscommerce and it is inserting my website URL when I use insert image function in the emails. The goal is: Make it send the email with the URL...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.