Active
Project:
Lightbox2
Version:
7.x-1.0-beta1
Component:
Code
Priority:
Minor
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Dec 2011 at 11:43 UTC
Updated:
8 Apr 2012 at 20:25 UTC
Hi,
on my html5 sites I get validation errors in this kind:
Bad value lightbox[] for attribute rel on element a: Keyword lightbox[] is not registered.
Jan
Comments
Comment #1
yukare commentedWe need some way to make a link used by lightbox not equal as the other links in the page, and we do this by using rel="lightbox", so i do not know any way to fix this.
Comment #2
C. Lee commentedIn HTML5, you can use data-* attribute to store values in HTML nodes. See http://html5doctor.com/html5-custom-data-attributes/ for more details. In jQuery, you can access the data via data() function. Example: http://jsfiddle.net/4yHQC/