JS error in status bar..

This is a discussion on "JS error in status bar.." within the JavaScript Forum section. This forum, and the thread "JS error in status bar.. are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old May 13th, 2006, 18:32
Junior Member
Join Date: Apr 2006
Age: 31
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
JS error in status bar..

Hi,

I seem to have a java script error in a site and I don't know exactly what it is. The site is working anyway, but it would be great to not see the error in the status bar. I have saved the java script as a separate file maybe that is the problem. The url is:http://www.pilgrimtarja.com

Although, I think it might have something to do with this...
Code: Select all
<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>
Code: Select all
<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i
Those are highlighted in yellow in DW and states an invalid markup in the properties..
Reply With Quote

  #2 (permalink)  
Old May 15th, 2006, 02:52
Up'n'Coming Member
Join Date: Mar 2006
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Re: JS error in status bar..

It would be nicer if you post the complete section of the code to be able to judge it better. Everything seems to be ok there but I can't be sure. Also is the javascript currently on the site because it seems as though it isn't there.

Your link to the .js file suggest that it is in the root directory. If it is not there then that is one mayor problem.

Also your design breaks in firefox and your page doesn't validate. You should fix that, well the validation part at least.
Reply With Quote
  #3 (permalink)  
Old May 16th, 2006, 01:44
New Member
Join Date: May 2006
Location: Vancouver BC
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Re: JS error in status bar..

I used Firefox to check for error and found this error:

"MM_preloadImages is not defined"

In FireFox > Tools > Javascript Console
Reply With Quote
  #4 (permalink)  
Old May 16th, 2006, 03:43
Junior Member
Join Date: Jan 2006
Location: Newport, UK
Age: 18
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to @lun
Re: JS error in status bar..

well heres a problem
Code: Select all
<body link="#999999" onLoad="MM_preloadImages('file:///C|/Documents%20and%20Settings/Owner/My%20Documents/pilgrimtarja/bilder/lankar2.gif')">
you need to change it to a location on your server
Reply With Quote
Reply

Tags
error, status, bar

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Status of IE cedric813 JavaScript Forum 1 Oct 21st, 2007 17:38
Keep getting error message Microsoft VBScript runtime error '800a01a8' cpando1974 Classic ASP 2 Aug 7th, 2007 12:00
Status images alexgeek PHP Forum 0 Aug 3rd, 2007 01:24
Why error message in status bar? Sofie PHP Forum 11 May 13th, 2006 18:23


All times are GMT. The time now is 10:42.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43