Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
  1. #1
    Junior Member
    Join Date
    May 2004
    Posts
    2
    Member #
    6098
    I'm working on getting my website (under development):

    www.serverempire.net/test.html

    XHTML 1.0 Strict validated, however, there are seven errors that I do not know how I can modify them:


    Line 8, column 17: there is no attribute "language"

    Line 109, column 13: there is no attribute "onLoad"

    Line 114, column 65: there is no attribute "border"

    Line 117, column 31: there is no attribute "onMouseOut"

    Line 118, column 12: there is no attribute "onMouseOver"

    Line 119, column 8: there is no attribute "onClick"

    Line 119, column 87: there is no attribute "name"


    I'm new to XHTML, are there any suggestions to remove these?

    Validation Link:
    http://validator.w3.org/check?uri=ht...rict&verbose=1

  2.  

  3. #2
    Senior Member Fallout's Avatar
    Join Date
    Aug 2003
    Location
    Richmond, Virginia
    Posts
    543
    Member #
    2748
    The line 114 border can be done with CSS, the javascript I'm not sure - you may need to use XHTML Transitional, and the name attribute many have to be changed to "id=". Hope this helps!

  4. #3
    Senior Member karinne's Avatar
    Join Date
    Dec 2003
    Location
    Aylmer QC Canada
    Posts
    1,607
    Member #
    4335
    Liked
    8 times
    Line 8, column 17: there is no attribute "language"
    http://www.w3.org/TR/xhtml1/#h-4.8

    remove language and put

    Code:
    <script type="text/javascript">
    <![CDATA[
    .....
    ]]>
    </script>
    Line 109, column 13: there is no attribute "onLoad"
    http://www.webdesignforums.net/newre...reply&p=133878

    in XHTML everything must be in lowercase so... replace onLoad to onload

    Line 114, column 65: there is no attribute "border"
    no border in XHTML Strict. do it with css

    Code:
    <td colspan="12"><img height="100" src="images/2_r1_c1.gif" alt="" style="border: 0" /></td>
    Line 117, column 31: there is no attribute "onMouseOut"
    onMouseOut should be onmouseout

    Line 118, column 12: there is no attribute "onMouseOver"
    same here... onMouseOver should be onmouseover

    Line 119, column 8: there is no attribute "onClick"
    onClick -> onclick

    Line 119, column 87: there is no attribute "name"
    http://www.webdesignforums.net/newre...reply&p=133878

    remove the name attribute... it is deprecated in XHTML
    [a web design portfolio - Currently NOT AVAILABLE for work | web design | Re-coding | PSD-to-HTML]
    I'm also on: virb - facebook - twitter - flickr - del.icio.us

  5. #4
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    Quote Originally Posted by karinne
    onMouseOut should be onmouseout
    onMouseOver should be onmouseover
    onClick -> onclick
    I have to admit I never really understood why they opted for lowercase naming. Camel case is pretty much the standard naming convention used in other forms of XML. I guess since most HTML coders were using lowercase, they said "what the hell" and made the concession.

  6. #5
    Senior Member
    Join Date
    Dec 2003
    Posts
    1,274
    Member #
    4362
    Yeah, the easiest way to make legible various words joined is by up-casing the first letter of each word... Stupid decission for me

  7. #6
    Junior Member
    Join Date
    May 2004
    Posts
    2
    Member #
    6098
    Quote Originally Posted by Fallout
    The line 114 border can be done with CSS, the javascript I'm not sure - you may need to use XHTML Transitional, and the name attribute many have to be changed to "id=". Hope this helps!
    The JavaScript I'm using references those image "name"'s in order that the dropdown menu's may work. I didn't personally write the JavaScript, it was done for me. Any suggestions?

  8. #7
    Senior Member james's Avatar
    Join Date
    May 2003
    Location
    Melbourne, AUSTRALIA
    Posts
    364
    Member #
    1352
    Open mm_menu.js and try changing this:
    Code:
    function MM_showMenu(menu, x, y, child, imgname) {
    	if (!window.mmWroteMenu) return;
    	MM_clearTimeout();
    	if (menu) {
    		var obj = FIND(imgname) || document.images[imgname] || document.links[imgname] || document.anchors[imgname];
    		x = moveXbySlicePos (x, obj);
    		y = moveYbySlicePos (y, obj);
    	}
    To this:
    Code:
    function MM_showMenu(menu, x, y, child, imgname) {
    	if (!window.mmWroteMenu) return;
    	MM_clearTimeout();
    	if (menu) {
    		var obj = document.getElementById(imgname);
    		// FIND(imgname) || document.images[imgname] || document.links[imgname] || document.anchors[imgname];
    		x = moveXbySlicePos (x, obj);
    		y = moveYbySlicePos (y, obj);
    	}
    And all instances of <img name= to <img id=
    James H
    Home Page · Mars Page · www.fihsf1.net (formerly www·fihs·net)

  9. #8
    Senior Member james's Avatar
    Join Date
    May 2003
    Location
    Melbourne, AUSTRALIA
    Posts
    364
    Member #
    1352
    That's just a hack but it might work.
    James H
    Home Page · Mars Page · www.fihsf1.net (formerly www·fihs·net)

  10. #9
    Senior Member Fallout's Avatar
    Join Date
    Aug 2003
    Location
    Richmond, Virginia
    Posts
    543
    Member #
    2748
    It looks like James' code works to me.

  11. #10
    Senior Member Brak's Avatar
    Join Date
    Apr 2003
    Location
    San Francisco, CA
    Posts
    3,413
    Member #
    1217
    Liked
    2 times
    name is synonymous to id last I checked.
    Kyle Neath: Rockstar extraordinare
    The blog | The poetry site | The Spore site


Page 1 of 2 1 2 LastLast

Remove Ads

Posting Permissions

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

Search tags for this page

here is no attribute onmouseout

Click on a term to search for related topics.
All times are GMT -6. The time now is 03:52 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com