OpenLayers OpenLayers
Show
Ignore:
Timestamp:
03/12/08 10:51:37 (10 months ago)
Author:
tschaub
Message:

four tabs for spaces

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/examples/debug.html

    r6131 r6497  
    3131 
    3232        <p id="shortdesc"> 
    33            Demonstrate console calls to a Firebug console. Requires Firefox. Mostly for developers. 
     33            Demonstrate console calls to a Firebug console. Requires Firefox. Mostly for developers. 
    3434        </p> 
    3535 
    36        <div id="docs"> 
    37            <p>To run OpenLayers in debug mode, include the following script 
    38            tag <b>before</b> the tag that loads OpenLayers: 
     36        <div id="docs"> 
     37            <p>To run OpenLayers in debug mode, include the following script 
     38            tag <b>before</b> the tag that loads OpenLayers: 
    3939 
    40            <pre>   &lt;script src="../lib/Firebug/firebug.js"&gt;&lt;/script&gt;</pre> 
     40            <pre>    &lt;script src="../lib/Firebug/firebug.js"&gt;&lt;/script&gt;</pre> 
    4141 
    42            The path to firebug.js must be relative to your 
    43            html file.  With this script included calls to OpenLayers.Console 
    44            will be displayed in the Firebug console.  For browsers without 
    45            the Firebug extension, the script creates a Firebug Lite console. 
    46            This console can be opened by hitting <b>F12</b> or <b>Ctrl+Shift+L</b> 
    47            (<b>?+Shift+L</b> on a Mac).  If you want the Firebug Lite console 
    48            to be open when the page loads, add <b>debug="true"</b> to the opening 
    49            html tag of your page.  Open the console and click on the links below 
    50            to see console calls.</p> 
    51            <ul> 
    52                <li> 
    53                    <a href="javascript: void(consoleLog());">OpenLayers.Console.log()</a> 
    54                </li> 
    55                <li> 
    56                    <a href="javascript: void(consoleWarn());">OpenLayers.Console.warn()</a> 
    57                </li> 
    58                <li> 
    59                    <a href="javascript: void(consoleError());">OpenLayers.Console.error()</a> 
    60                </li> 
    61                <li> 
    62                    <a href="javascript: void(consoleDir());">OpenLayers.Console.dir()</a> 
    63                </li> 
    64                <li> 
    65                    <a href="javascript: void(consoleDirxml());">OpenLayers.Console.dirxml()</a> 
    66                </li> 
    67            </ul> 
    68            <p>The Firebug website has a complete list of 
    69            <a href="http://www.getfirebug.com/console.html">console calls</a>. 
    70            Note that not all are supported with Firebug Lite.</p> 
     42            The path to firebug.js must be relative to your 
     43            html file.  With this script included calls to OpenLayers.Console 
     44            will be displayed in the Firebug console.  For browsers without 
     45            the Firebug extension, the script creates a Firebug Lite console. 
     46            This console can be opened by hitting <b>F12</b> or <b>Ctrl+Shift+L</b> 
     47            (<b>?+Shift+L</b> on a Mac).  If you want the Firebug Lite console 
     48            to be open when the page loads, add <b>debug="true"</b> to the opening 
     49            html tag of your page.  Open the console and click on the links below 
     50            to see console calls.</p> 
     51            <ul> 
     52                <li> 
     53                    <a href="javascript: void(consoleLog());">OpenLayers.Console.log()</a> 
     54                </li> 
     55                <li> 
     56                    <a href="javascript: void(consoleWarn());">OpenLayers.Console.warn()</a> 
     57                </li> 
     58                <li> 
     59                    <a href="javascript: void(consoleError());">OpenLayers.Console.error()</a> 
     60                </li> 
     61                <li> 
     62                    <a href="javascript: void(consoleDir());">OpenLayers.Console.dir()</a> 
     63                </li> 
     64                <li> 
     65                    <a href="javascript: void(consoleDirxml());">OpenLayers.Console.dirxml()</a> 
     66                </li> 
     67            </ul> 
     68            <p>The Firebug website has a complete list of 
     69            <a href="http://www.getfirebug.com/console.html">console calls</a>. 
     70            Note that not all are supported with Firebug Lite.</p> 
    7171        </div> 
    7272    </body>