Firefox crashing on a slide show advance button
-
- Posts: 1
- Joined: February 12th, 2019, 9:54 pm
Firefox crashing on a slide show advance button
So my site has a section containing a series of slides, and I'm using a custom button with a small js script to advance the slides. The button works fine in all major browsers except in firefox, in firefox when the button is pressed it returns a white screen and says [Object is object]. Anyone have any ideas??
- DanRaisch
- Moderator
- Posts: 127187
- Joined: September 23rd, 2004, 8:57 pm
- Location: Somewhere on the right coast
Re: Firefox crashing on a slide show advance button
Moving to Web Development.
- jscher2000
- Posts: 11742
- Joined: December 19th, 2004, 12:26 am
- Location: Silicon Valley, CA USA
- Contact:
Re: Firefox crashing on a slide show advance button
If you provide a link to the page, that would help in understanding what is going on.
Note: if your navigation button is a link (a element), make sure to cancel the navigation by returning false from your script. For example:
Note: if your navigation button is a link (a element), make sure to cancel the navigation by returning false from your script. For example:
Code: Select all
<a href="whatever" onclick="nextslide(); return false;">