/    Sign up×
Community /Pin to ProfileBookmark

Javascript Error

I am a webmaster who has been given the task of redesigning a website for a small production company.

The area that has the error is the main navigation bar, when i click on a link the ‘error on page’ comes up…showing details the message box states “Line: 25, Char: 1, Error: ‘document.getElementById(…)’ is null or not an object, Code: 0, URL: http://doogie.alphalink.com.au/homepage.html

What I have tried to set up is when the homepage is loaded a small ‘welcome’ layer of text is displayed beside the nav buttons. When you click on any of the links the ‘welcome’ text disappears and the new html page of information shows up – simply refreshing whats inside the already designated layer with a new html page.
The relevant html pages do exist on the server – i’m not worried about if they don’t quite fit – still designing the site to look right… Its just this small javascript link problem etc…

I am using IE 6 as my browser and using Dreamweaver MX (ver 6) as my html editor…

Any help would be greatly appreciated.

David H

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@JPnycAug 01.2005 — Well that would tend to indicate that the JS is referencing an element with an ID that doesn't exist on your page.
Copy linkTweet thisAlerts:
@doogie2005authorAug 02.2005 — Hi there thanks for the advice, however i still can't seem to find the area / problem your referring to... if someone could be a bit more specific with the problem then i can correct it.

the website address for this page is [URL=http://doogie.alphalink.com.au/]http://doogie.alphalink.com.au/[/URL]

Its when you click on a link from nav bar... the error on page symbol shows on task bar....
×

Success!

Help @doogie2005 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...