Firefox crashing on a slide show advance button

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

Post Posted February 14th, 2019, 2:42 pm

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
Posts: 125466
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Post Posted February 14th, 2019, 3:29 pm

Moving to Web Development.


User avatar
Posts: 11467
Joined: December 19th, 2004, 12:26 am
Location: Silicon Valley, CA USA

Post Posted March 4th, 2019, 7:31 pm

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;">

Return to Web Development / Standards Evangelism

Who is online

Users browsing this forum: No registered users and 2 guests