Title: TypeError: this.start/stop is not a function
Last modified: August 30, 2016

---

# TypeError: this.start/stop is not a function

 *  Resolved [saridon](https://wordpress.org/support/users/ritwick/)
 * (@ritwick)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/typeerror-thisstartstop-is-not-a-function/)
 * 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/](https://wordpress.org/plugins/horizontal-scrolling-announcement/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [saridon](https://wordpress.org/support/users/ritwick/)
 * (@ritwick)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/typeerror-thisstartstop-is-not-a-function/#post-6733976)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/horizontal-scrolling-announcement_c0c0c0.
   svg)
 * [Horizontal scrolling announcement](https://wordpress.org/plugins/horizontal-scrolling-announcement/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/horizontal-scrolling-announcement/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/horizontal-scrolling-announcement/)
 * [Active Topics](https://wordpress.org/support/plugin/horizontal-scrolling-announcement/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/horizontal-scrolling-announcement/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/horizontal-scrolling-announcement/reviews/)

## Tags

 * [Firefox](https://wordpress.org/support/topic-tag/firefox/)
 * [is not a function](https://wordpress.org/support/topic-tag/is-not-a-function/)

 * 1 reply
 * 1 participant
 * Last reply from: [saridon](https://wordpress.org/support/users/ritwick/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/typeerror-thisstartstop-is-not-a-function/#post-6733976)
 * Status: resolved