Defining a new constant
Procedure
Determine the object ID for the object you want to define.
- Using Mozilla Firefox:
- Start Firefox and browse to the starter store that uses the object.
- When the store home page is loaded, click the Firebug icon in the lower right side of the Firefox window.
- In the Firefox console, ensure that the HTML tab is selected.
- Click Click an element in the page to inspect to enable the ability to lock on to an object.
- Click the object that you want to define to lock on to it.
- Select the HTML tab in the Firebug console. The HTML source code of the object is highlighted.
- Using Microsoft® Internet
Explorer:
- Start Internet Explorer and browse to the starter store that uses the object.
- Click .
- Select the HTML tab. The HTML source code of the object is highlighted.
- Click the Select Element by Click (the cursor icon) to enable the ability to lock on to an object.
- Click the object that you want to define to lock on to it.