• Resolved saridon

    (@ritwick)


    The marquee was not working in Firefox (v42) with javascript error as: TypeError: this.start/stop is not a function

    Edit:
    Line#145 of <plugin_dir>/horizontal-scrolling-announcement.php, changed to:

    $what_marquee = $what_marquee . "<marquee style='$style' scrollamount='$scrollamount' scrolldelay='$scrolldelay' direction='$direction' onmouseover='this.setAttribute(\"scrollamount\", 0, 0); this.stop();' onmouseout='this.setAttribute(\"scrollamount\", 2, 0); this.start();'>";

    it works fine now. (though the error is still there in Firefox)

    https://wordpress.org/plugins/horizontal-scrolling-announcement/

Viewing 1 replies (of 1 total)
  • Thread Starter saridon

    (@ritwick)

    A slight refinement of the above code:

    (RE: Line#145 of <plugin_dir>/horizontal-scrolling-announcement.php)

    $what_marquee = $what_marquee . "<marquee style='$style' scrollamount='$scrollamount' scrolldelay='$scrolldelay' direction='$direction' onmouseover='this.setAttribute(\"scrollamount\", 0, 0); this.stop();' onmouseout='this.setAttribute(\"scrollamount\", $scrollamount, 0); this.start();'>";

Viewing 1 replies (of 1 total)

The topic ‘TypeError: this.start/stop is not a function’ is closed to new replies.