This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Dreamweaver > February 2004 > Error Message - help....
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 |
Error Message - help....
|
|
| jacknewton 2004-02-20, 11:30 am |
| Guys,
Please visit page: http://www.bessetteracing.com/francais/index.html
You get an error message don't you? What line and car?
What should I do?
I have redone the page numerous time, and it appears as soon as put a
roll-over image, the error appears.
Tell me what to do, I have been trying to solve this for weeks...
Desperately,
Jack Newton
| |
| djinn 2004-02-20, 11:30 am |
| Hi,
Look for the line in the function MM_preloadImages section of your js within
the head of the doc.............
for(i=0; ia.length; i++)
and replace with......
for(i=0; i<a.length; i++)
HTH
--
Keep in touch with yourself !!
chin chin
Sinclair
| |
| Alan Ames 2004-02-20, 11:30 am |
| then you trouble shoot it.
It's the middle frame, and the error msg is line 20, char 65.
Error: 'ia' is undefined.
that shows it's in this block, here for(i=0; ia.length;
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; ia.length;
i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
That's the standard MM preload script. It shouldn't generate an error. So
i'd guess somehow something got changed, either by accident or maybe some
AutoFix code rewrite setting got a little wild.
Taking a look at that function from a different page-
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length;
i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
Yours: for(i=0; ia.length;
Mine: for(i=0; i<a.length;
Way to fix:
delete that MM_preload function from your page. It's corrupt.
When you next try to edit a rollover, dreamweaver will put the function in
again, hopefully it won't get corrupted or changed.
> Guys,
>
> Please visit page: http://www.bessetteracing.com/francais/index.html
>
> You get an error message don't you? What line and car?
>
> What should I do?
>
> I have redone the page numerous time, and it appears as soon as put a
> roll-over image, the error appears.
>
> Tell me what to do, I have been trying to solve this for weeks...
>
> Desperately,
>
> Jack Newton
>
>
>
| |
| Murray *TMM* 2004-02-20, 11:30 am |
| Your preloadImages js is hosed....
You have -
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; ia.length;
i++)
You should have -
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length;
i++)
--
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
==================
"jacknewton" <webforumsuser@macromedia.com> wrote in message
news:c156b6$pq2$1@forums.macromedia.com...
> Guys,
>
> Please visit page: http://www.bessetteracing.com/francais/index.html
>
> You get an error message don't you? What line and car?
>
> What should I do?
>
> I have redone the page numerous time, and it appears as soon as put a
> roll-over image, the error appears.
>
> Tell me what to do, I have been trying to solve this for weeks...
>
> Desperately,
>
> Jack Newton
>
>
>
| |
| jacknewton 2004-02-20, 11:30 am |
| THANK YOU!!! IT WORKS!!!! :)
You guys rock!
Jack Newton
| |
| Murray *TMM* 2004-02-20, 11:30 am |
| You're welcome!
--
Murray --- ICQ 71997575
==================
"jacknewton" <webforumsuser@macromedia.com> wrote in message
news:c158ua$m9$1@forums.macromedia.com...
> THANK YOU!!! IT WORKS!!!! :)
>
> You guys rock!
>
> Jack Newton
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|