WordPress.org

Forums

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

  1. kitchin
    Member
    Posted 1 year 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 1 year 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 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Testimonial Rotator
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic