WordPress.org

Ready to get started?Download WordPress

Forums

Testimonial Rotator
[resolved] Wonder about the ">" in the attribute (3 posts)

  1. kitchin
    Member
    Posted 9 months ago #

    The html has this attribute:
    <div ... data-cycletwo-slides="> div.slide" ...>
    I wonder if that ">" is compatible with old browsers. I guess it is, but the plugin works fine without it.
    <div ... data-cycletwo-slides="div.slide" ...>

    The ">" might also confuse people writing their own content filters. I thought the html was broken when I first saw it.

    http://wordpress.org/plugins/testimonial-rotator/

  2. Hal Gatewood
    Member
    Plugin Author

    Posted 9 months ago #

    It's a CSS selector telling the rotator plugin to only grab the first level of div.slide's

    It could probably be removed safely but the demos of Cycle2 all include it so I left it for safety.

    Do you have an example where this is breaking an older browser?

  3. kitchin
    Member
    Posted 8 months ago #

    It just confused me when I using view-source. Also sometimes I do dumb tag parsing.

Reply

You must log in to post.

About this Plugin

About this Topic