This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > March 2004 > Problem with IE6 & Dreamweaver MX 2004 Template





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Problem with IE6 & Dreamweaver MX 2004 Template
anaranth

2004-03-10, 12:29 am

Hello, I am new to Dreamweaver and am in the process of redoing my
grandfather's website using Dreamweaver, I am experiencing the following error
(only with IE6, no errors with Netscape or Mozilla):

Line: 41
Char: 7
Error: 'menuitem1.thediv' is null or not an object
Code: 0
URL: http://www.dmnatural.com

Any ideas what would cause this? Or how to correct it?

The URL for the website is http://www.dmnatural.com/index.html, if one of the
more experienced coders could please give it a look or give me some advice it
would be immensely appreciated!

Thanks in Advance!
Nathan
[S=null]http://www.dmnatural.com/index.html[/S]

Murray *TMM*

2004-03-10, 11:30 am

Good grief.

What is this - <body onmousemove="closesubnav(event);"> ?

I had to turn off js errors to even get your page to load.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"anaranth" <webforumsuser@macromedia.com> wrote in message
news:c2m5nf$jln$1@forums.macromedia.com...
> Hello, I am new to Dreamweaver and am in the process of redoing my
> grandfather's website using Dreamweaver, I am experiencing the following

error
> (only with IE6, no errors with Netscape or Mozilla):
>
> Line: 41
> Char: 7
> Error: 'menuitem1.thediv' is null or not an object
> Code: 0
> URL: http://www.dmnatural.com
>
> Any ideas what would cause this? Or how to correct it?
>
> The URL for the website is http://www.dmnatural.com/index.html, if one of

the
> more experienced coders could please give it a look or give me some advice

it
> would be immensely appreciated!
>
> Thanks in Advance!
> Nathan
> [S=null]http://www.dmnatural.com/index.html[/S]
>



Tom Muck

2004-03-10, 11:33 am


"anaranth" <webforumsuser@macromedia.com> wrote in message
news:c2m5nf$jln$1@forums.macromedia.com...
> Hello, I am new to Dreamweaver and am in the process of redoing my
> grandfather's website using Dreamweaver, I am experiencing the following

error
> (only with IE6, no errors with Netscape or Mozilla):
>
> Line: 41
> Char: 7
> Error: 'menuitem1.thediv' is null or not an object
> Code: 0
> URL: http://www.dmnatural.com


That happens in the standard Dreamweaver templates if you mouseover the menu
before the page has loaded. It's not a very good script. You can probably do
something like this on your links:

Change this:

<a href="/mypage.asp" id="gl5" class="glink"
onmouseover="ehandler(event,menuitem5);">My Page</a>

to this:

<a href="/mypage.asp" id="gl5" class="glink"
onmouseover="try{ehandler(event,menuitem5)}catch(e){};">My Page</a>

although it's sort of a cheesy workaround.


--
---------------------------------------------------------------
Tom Muck
co-author -- Dreamweaver MX: The Complete Reference
www.dwteam.com/tcr

Extending Knowledge, Daily
http://www.communityMX.com/
---------------------------------------------------------------
Recordset Navigation Suite
www.basic-ultradev.com/exthelp/datanavigation


Tom Muck

2004-03-10, 11:33 am

> That happens in the standard Dreamweaver templates if you mouseover the
menu
> before the page has loaded. It's not a very good script. You can probably

do
> something like this on your links:
>
> Change this:
>
> <a href="/mypage.asp" id="gl5" class="glink"
> onmouseover="ehandler(event,menuitem5);">My Page</a>
>
> to this:
>
> <a href="/mypage.asp" id="gl5" class="glink"
> onmouseover="try{ehandler(event,menuitem5)}catch(e){};">My Page</a>
>
> although it's sort of a cheesy workaround.


Also, the error you are seeing on your page is probably the result of a
server-side error in your page somewhere that is preventing the last section
of the JavaScript at the bottom of the page from loading in. If this section
does not load in, you will not be able to view the page due to the
JavaScript errors.

Tom


Sponsored Links


Copyright 2003 - 2009 forum4designers.com  Software forum  Computer Hardware reviews