HighDots Forums  

onload"" validation error

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss onload"" validation error in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
dellvostro
 
Posts: n/a

Default onload"" validation error - 03-25-2009 , 12:06 PM






Im getting this onload error for a new page Im working on. I have the js in a
separate file. Not sure why this is only onload that is being singled out. Its
the only validation error on the page, and theres other onloads for other
rollover images.

Line 72, Column 590: there is no attribute "onload".

?t="118" border="0" id="step1" onload="" /></a><a href="index.htm

You have used the attribute named above in your document, but the document
type you are using does not support that attribute for this element


Reply With Quote
  #2  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: onload"" validation error - 03-25-2009 , 12:21 PM






Change this -

t="118" border="0" id="step1" onload="" /></a><a href="index.htm

to this -

t="118" border="0" id="step1" /></a><a href="index.htm

An image tag has no "onload" attribute. You must be using the antique and
poor functionality of the "Nav Bar" - are you?

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"dellvostro" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Im getting this onload error for a new page Im working on. I have the js
in a
separate file. Not sure why this is only onload that is being singled out.
Its
the only validation error on the page, and theres other onloads for other
rollover images.

Line 72, Column 590: there is no attribute "onload".

?t="118" border="0" id="step1" onload="" /></a><a href="index.htm

You have used the attribute named above in your document, but the document
type you are using does not support that attribute for this element



Reply With Quote
  #3  
Old   
dellvostro
 
Posts: n/a

Default Re: onload"" validation error - 03-25-2009 , 01:55 PM



Thanks Murray. That worked like a charm. I tried different variations of
removing the onload but nothing seemed to work. That was only area with nav
bar.
Is simply using the image object/rollover image a better way to go for image
rollovers?

Thanks again.


Reply With Quote
  #4  
Old   
Michael Fesser
 
Posts: n/a

Default Re: onload"" validation error - 03-25-2009 , 02:02 PM



..oO(dellvostro)

Quote:
Thanks Murray. That worked like a charm. I tried different variations of
removing the onload but nothing seemed to work. That was only area with nav
bar.
Is simply using the image object/rollover image a better way to go for image
rollovers?
Sure:

CSS Sprites: Image Slicing’s Kiss of Death
http://www.alistapart.com/articles/sprites/

Fast Rollovers Without Preload
http://wellstyled.com/css-nopreload-rollovers.html

Micha


Reply With Quote
  #5  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: onload"" validation error - 03-25-2009 , 04:08 PM



Quote:
Is simply using the image object/rollover image a better way to go for
image
rollovers?
Yes, definitely. There are even better ways, but this will do as a fine
replacement for that old approach.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"dellvostro" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Thanks Murray. That worked like a charm. I tried different variations of
removing the onload but nothing seemed to work. That was only area with
nav
bar.
Is simply using the image object/rollover image a better way to go for
image
rollovers?

Thanks again.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.