Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

  1.  permalink
    Has anyone come across a nice plugin (or Lightbox hack) that will keep a site valid (and functional) when using multiple images (image gallery) with lighbox. XHTML doesn't allow for the { } [ ], which is needed to create the gallery. And, WordPress is adding additional tags to the code </a ref="lightbox"> to be exact. I'm happy to use something other than LB (I'd prefer to use jQuery) but haven't had much time to figure it out. Thanks.
    •  
      CommentAuthormringlein
    • CommentTimeJul 10th 2006
     permalink
    I thought using [] in the 'rel' attribute was valid XHTML (transitional 1.0)

    I put up a test page and it validates:
    http://www.marylandmedia.com/projects/lightbox/
    http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.marylandmedia.com%2Fprojects%2Flightbox%2F
  2.  permalink
    Yeah, you're right. It is. I forgot. What it is doing through WP though, is adding the additional rel="lightbox" after the </a>. This is making bad things happen. Optimally, I'd just close the href with a shorttag for the set. Basically, how do I stop WP from autoformatting my code. I'm not using the rich-text editor.
    •  
      CommentAuthorfake
    • CommentTimeJul 11th 2006
     permalink
    you probably already have unchecked that option if you aren't using the rich-text editor, but under "Options > writing" in the "Formatting" section did you also uncheck "WordPress should correct invalidly nested XHTML automatically"?
Add your comments
    Username Password
  • Format comments as (Help)