PDA

View Full Version : Parallax Slider - there is no attribute "data-bgimage"



Absintheur
10-08-2014, 03:27 PM
1) Script Title: Parallax Slider

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/parallaxslider/index.htm

3) Describe problem: I'm not a validation freak (though I like at least to understand why something is 'invalid' and whether I should care) so can anyone explain how I can get around the error there is no attribute "data-bgimage" I get when I run this Parallax Slider code?

It is a beautiful slider.

Thanks.

Beverleyh
10-08-2014, 04:39 PM
It depends what DOCTYPE the web page is being validated against.

"data-" attributes are HTML5

Absintheur
10-08-2014, 06:17 PM
Ah! XHTML. Is that the problem?

Beverleyh
10-08-2014, 06:36 PM
Yes - if your doctype were for HTML5, the "data-" attributes would pass validation (against HTML5 rules)

Absintheur
10-08-2014, 07:09 PM
Thank you very much.