• I’m looking for a image slider plugin that does not result in invalid HTML5 – does anyone know of one? (Preferably a responsive, free one.)

    I’ve tried Soliloquay and Meta Slider, but both result in invalid HTML5.

    Thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi mobilewebexpert,

    Meta Slider can create valid HTML5, it doesn’t at the moment as some browsers do not correctly process the @keyframes rules in inline CSS (see https://bugzilla.mozilla.org/show_bug.cgi?id=830056).

    If you install Meta Slider then add this code to your functions.php file you should get valid HTML5.

    function ms_scoped() {
        return ' scoped';
    }
    add_filter('metaslider_style_attributes', 'ms_scoped', 25, 3);

    Regards,
    Tom

    Thread Starter mobilewebexpert

    (@mobilewebexpert)

    That’s great, Tom – thank you very much. Worked a treat.

    matchalabs

    (@matchalabs)

    Update on this..

    I’ve been working on a plugin to move the Meta Slider link, inline script and style blocks into the <head> of the page:

    https://github.com/tomhemsley/ml-slider-html5

    To install, click ‘Download ZIP’, then go to Plugins > Add New > Upload and select the .zip file. So far there isn’t a settings page or anything like that.

    If you’re using this plugin, please let me know how it goes! I may integrate the functionality into the Meta Slider plugin if it’s working well

    Regards,
    Tom

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Responsive Image Slider Plugin that creates valid HTML5 ??’ is closed to new replies.