SitePoint Sponsor |
|
User Tag List
Results 1 to 8 of 8
-
Nov 15, 2001, 00:10 #1
- Join Date
- Nov 2001
- Posts
- 2
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
what is wrong w/ my javascript? see site->
www.amaruceramics.com
I am getting a java error mssg. in NN4.75, IE5 & IE5.5.
My friend tells me site won't load at all I believe this is in NN6.
Please check out this beta & let me know how I can fix this.
Thanks Bajillions,
mabwah
-
Nov 15, 2001, 02:51 #2
I don't see any problems.
That's all folks...
-
Nov 15, 2001, 02:57 #3
- Join Date
- Apr 2001
- Location
- Seattle
- Posts
- 281
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
In NN4.75, go to the page causing the error and type javascript: in the location bar. That should tell you specifically what is wrong.
-
Nov 15, 2001, 04:03 #4
- Join Date
- Jun 2001
- Location
- Adelaide, Australia
- Posts
- 6,441
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Well, it still loads in Internet Explorer 5.5, but I do get the error. It is *apparently* on line 37.... but I couln't see anything wrong (its the line with your image preloader), but i think it's somthing different.
Dont worry, someone who understands java (perticularly dreamweaver's coding) will come along soon
-
Nov 15, 2001, 16:34 #5
- Join Date
- Nov 2000
- Posts
- 164
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Well on line 37 you are calling your function MM_preloadImages() I believe you need to put an object and or variable within the (). You are passing a variables to a function that doesn't require anything.
-
Nov 15, 2001, 17:47 #6
- Join Date
- Nov 2001
- Posts
- 2
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
follow up: What is an object and/or variable?
THANKS SO MUCH FOR THE HELP!!!
Please elaborate on, "passing a variables to a function that doesn't require anything". I promise I will read up on javascript
-mabwah
-
Nov 15, 2001, 23:05 #7
- Join Date
- Jun 2001
- Location
- Adelaide, Australia
- Posts
- 6,441
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Hehe, i'm glad someone figured it out
You could try getting rid of it and starting agian.... would only take a few seconds in dreamweaver...
-
Nov 17, 2001, 23:38 #8
- Join Date
- Jun 2001
- Location
- London
- Posts
- 423
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
In the body tag??
Am I right in thinking that no common should be placed between the marginheight and marginwidth tag elements?
ie.
<body bgcolor="#FFFFFF" marginheight="0", marginwidth="0" topmargin="0" leftmargin="0" border="0" cellpadding="0" cellspacing="0" onLoad="MM_preloadImages('file:'../assets/serviceson.jpg','../assets/hygieneon.jpg','../assets/contracton.jpg','../assets/personnelon.jpg','../assets/activeon.jpg','../assets/completedon.jpg','../assets/linkson.jpg')">
Bookmarks