Results 1 to 6 of 6
  1. #1

    Default 76 errors in my code!

    I checked out my code on:

    http://validator.w3.org/check?uri=ww...Inline&group=0

    and it has 76 errors! Does zencart come like this?

  2. #2
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: 76 errors in my code!

    NO
    ZC out of the box validates just fine

  3. #3

    Default Re: 76 errors in my code!

    wow, I fixed 1 error, and it went down to 55 errors.

  4. #4

    Default Re: 76 errors in my code!

    This may be the reason we're not #1 on google any more when you google "canes".

  5. #5

    Default Re: 76 errors in my code!

    Okay, what is causing all of these errors is this:


    <center>
    <script type="text/javascript" src="includes/templates/canemasters/jscript/swfobject.js"></script>
    <object type="application/x-shockwave-flash" data="includes/templates/canemasters/images/flash/header.swf" width="800" height="185">
    <param name="movie" value="includes/templates/canemasters/images/flash/header.swf" />
    <img src="includes/templates/canemasters/images/header.jpg" border="0" width="800" height="185" alt=""></object>
    </center>

    <map id ="headermap"
    name="headermap">
    <area shape="poly" coords="48,6,39,31,122,31,131,6" href="index.php" title="" />
    <area shape="poly" coords="138,6,129,31,213,31,222,5,138,5" href="index.php?main_page=page&id=3&chapter=0" title="" />
    <area shape="poly" coords="228,5,312,5,302,33,218,33" href="index.php?main_page=page&id=4&chapter=0" title="" />
    <area shape="poly" coords="318,5,402,5,392,32,308,32" href="index.php?main_page=page&id=20&chapter=0" title="" />
    <area shape="poly" coords="407,5,493,5,482,32,398,32" href="index.php?main_page=page&id=7&chapter=0" title="" />
    <area shape="poly" coords="497,6,581,6,571,32,488,32" href="index.php?main_page=page&id=13&chapter=0" title="" />
    <area shape="poly" coords="587,5,673,5,662,33,578,33" href="index.php?main_page=contact_us" title="" />
    <area shape="poly" coords="679,6,761,6,751,32,668,32" href="index.php?main_page=login&zenid=e1cdb7491df4dad9c193c7f9c6f3fcbd" title="" />
    </map>


    What I'm trying to do is load an alternate image with an image map if the user does not have flash installed. What's going wrong here???

    I'm not a very good coder as you can tell...

  6. #6

    Default Re: 76 errors in my code!

    Thanks everybody. I managed to trace all of the errors down and fixed them all. I guess I know a bit more than I though I did.... thanks to you guys of course! I've learned a lot since I have been hanging out around this place.

 

 

Similar Threads

  1. getting SQL errors with my observer class code,
    By tcarden in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 24 Apr 2013, 09:27 PM
  2. backup mysql tools but got errors:Result code: 2
    By newuser123 in forum All Other Contributions/Addons
    Replies: 12
    Last Post: 18 Apr 2010, 09:48 PM
  3. Notepad++ and PHP code errors
    By mydanilo in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 19 Jan 2008, 06:28 PM

Posting Permissions

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