Properties in JavaScipt are known as EVENTS. These events cause an action to happen under certain circumstances or instances. They are based on "LOGICAL" formulas. IF this is true THEN do this command. The formulas are based on a series of comparisons.
Example: You have a file called "MyFile.txt". It is in a folder called "Folder2". The folder is located on your C drive.
To find the location of this file, the path would be "C:\Folder2\MyFile.txt"
In many tutorials, you will notice the use of the COMMENT tags within the SCRIPT tags.
- Auto script: Script that carries out a set of codes (known as a blocks) automatically without the need for visitor input or occurance.
- Trigger script: Script that requires some visitor input or occurance to carry out a set of codes.
Table of Contents
Learn how you can decrease the perceived loading time of large images that become visible after some user interaction by preloading them before they're visible.
Rollover / Image Swap
Learn about how you can change what image the user sees based on whether they move their cursor over it.
Learn all about the nullish coalescing operator (??) — from how it’s used to how it’s different from its cousin, the OR (||) operator.