Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

FireFox and Web Page Design

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

Post Reply
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

FireFox and Web Page Design

Post by beteljuice »

Attention all codesters that use Javascript in their pages !

It would appear that FireFox is VERY fussy about some syntax that other browsers are quite happy with.

George (gwheelo) has discovered that the humble HTML comment code can make your javascript do unexpected things !

Code: Select all

<!-- this comment works -->

<!-- -------this comment works----- -->

<!------- this comment seems to work, but javascript may lose the plot --->
The syntax MUST be:
[less than][hyphen][hyphen][space][comment][space][hyphen][hyphen][more than]
Image
......................Imagine, what you will KNOW tomorrow !
TNETWeather

Re: FireFox and Web Page Design

Post by TNETWeather »

I would not really blame Firefox for not honoring an invalid comment line.

I've seen lots of parsers not accept the invalid ones you show above.
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: FireFox and Web Page Design

Post by beteljuice »

.. I've seen lots of parsers not accept the invalid ones you show above.
But usually that would only affect the comment line, (ie. html output) it seems that FF may crash some Javascript, even though it wasn't the script that was 'commented' incorrectly, and the script call was before the comment error !
Image
......................Imagine, what you will KNOW tomorrow !
Post Reply