I want to take the title for my Magnific images from a hidden caption field inside the anchor tag - NOT from the title. This is because my title contains markup.
HTML >
Thank you. This has proved useful for me. I couldn't get it to work quite like the example though - the problem is with putting an href in the span element. This results in nested a
tags, which are illegal in HTML. This W3C document below relates to HTML 4, but I believe the same applies to HTML 5.
http://www.w3.org/TR/html401/struct/links.html#h-12.2.2