Results 1 to 6 of 6

1 error in W3

This is a discussion on 1 error in W3 within the Template Modifications forums, part of the vBulletin SEO Discussion category; Hello sorry I have 1 error in W3 How can I fix it ? (Line 478, Column 78: Attribute "onload" ...

  1. #1
    Member
    Real Name
    Mr.Ata
    Join Date
    Feb 2008
    Location
    Teh
    Posts
    34
    Liked
    0 times

    1 error in W3

    Hello
    sorry
    I have 1 error in W3 How can I fix it ?

    (Line 478, Column 78: Attribute "onload" exists, but can not be used for this element.)



    [Invalid] Markup Validation of http://www.sharehalls.com/television/23956.htm - W3C Markup Validator

  2. #2
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    onload is deprecated attached to html elements.

    You should use a seperate javascript and call it via

    window.onload = myfunc;

    and then obviosuly define

    function myfunc() {
    //do stuff;
    }

  3. #3
    Member
    Real Name
    Mr.Ata
    Join Date
    Feb 2008
    Location
    Teh
    Posts
    34
    Liked
    0 times
    sorry
    where should I enter this code do ?

    window.onload = myfunc;

    and then obviosuly define

    function myfunc() {
    //do stuff;
    }
    can you say step by step ?

  4. #4
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    I'm not sure... the code in there is not default vb or vbseo. You will need to find the mod you are using and consult the mod author for assistance. <img onload...> doesn't even make logical sense to me....

  5. #5
    Member
    Real Name
    Mr.Ata
    Join Date
    Feb 2008
    Location
    Teh
    Posts
    34
    Liked
    0 times
    ok
    thank you

  6. #6
    Member
    Real Name
    Mr.Ata
    Join Date
    Feb 2008
    Location
    Teh
    Posts
    34
    Liked
    0 times
    Hello
    the error due to the i use Image resizer v1.0.1 mod
    but i now use The Image Resizer. Powered with Lytebox / Highslide / Lightview v1.2.8 and difficult to solve

    thank you again

Similar Threads

  1. Replies: 4
    Last Post: 11-20-2009, 01:38 AM
  2. Replies: 9
    Last Post: 09-15-2008, 01:05 PM
  3. [Error] xhtml coding error on my part - please help
    By jbartle in forum Template Modifications
    Replies: 3
    Last Post: 01-24-2008, 10:50 PM
  4. Internal Server error - Log error posted here
    By candg in forum Troubleshooting
    Replies: 2
    Last Post: 08-06-2007, 05:46 AM
  5. vBSEO error in error log
    By Mert Gökçeimam in forum Troubleshooting
    Replies: 5
    Last Post: 02-26-2007, 10:41 AM

Posting Permissions

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