Firefox crashing on a slide show advance button

Discuss how to use and promote Web standards with the Mozilla Gecko engine.
Locked
eddiem3
Posts: 1
Joined: February 12th, 2019, 9:54 pm

Firefox crashing on a slide show advance button

Post by eddiem3 »

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??
User avatar
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

Post by DanRaisch »

Moving to Web Development.
User avatar
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

Post by jscher2000 »

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:

Code: Select all

<a href="whatever" onclick="nextslide(); return false;">
Locked