SitePoint Sponsor

User Tag List

Results 1 to 8 of 8
  1. #1
    SitePoint Member
    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

  2. #2
    Tenacious T Tyhe's Avatar
    Join Date
    May 2001
    Location
    Hilversum
    Posts
    651
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't see any problems.
    That's all folks...

  3. #3
    Anyone seen my cypher? OneChance's Avatar
    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.

  4. #4
    + platinum's Avatar
    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

  5. #5
    SitePoint Zealot
    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.

  6. #6
    SitePoint Member
    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

  7. #7
    + platinum's Avatar
    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...

  8. #8
    SitePoint Evangelist
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •