Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2001
    Location
    Sweden
    Posts
    87

    Unhappy SITECHECK: New site w java script problems

    Hulloa,

    Can you pls take a look at this. (Disregard lousy image enlargements. They're mock-ups for the time being...). Obviously, I have a java script error at line 107, char 56 in every main frame page (they have the same template).

    http://www.vendelcommunications.com/KPA_Ultra/

    In the script, the erroneous line reads :
    if (document.all) {g=eval(f+"document.all['"+el+"']");d=g.style;
    The "char 56" seems to be the "=".

    This is waaayyy above my head to fix. Have looked into O'Reilly's about "styles" in java script. I don't understand half of it, but it appears as if the CSS I have linked to the page (and the script elements) is causing this?

    A million TIA for your kind, gentle and clever input

    Dani
    Last edited by Dani; 07-14-2002 at 07:32 AM.
    Best,
    Dani
    Proformica.com - Marketing, web and more...
    TiddliBoom.com - The awesomest t-shirts on the net...

  2. #2
    Join Date
    Jan 2002
    Location
    Melbourne, AU
    Posts
    740
    The line giving the error is:
    Code:
     if (document.all) {g=eval(f+".document.all['"+el+"']");d=g.style;
     	if(!d.left) {d.left=(!g.currentStyle)?0:g.currentStyle.left;}
    which is just slightly different to that above.

    If you remove the first . in the .document.all bit, a more meaningful error appears - g.style blah blah, although your style detail isn't available in the source listing.

    Please note I am in no way any good at this stuff


    Lats...

Posting Permissions

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