Support » Plugin: Testimonial Rotator » Wonder about the ">" in the attribute

  • Resolved kitchin


    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Hal Gatewood


    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?



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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Wonder about the ">" in the attribute’ is closed to new replies.