Icontem

File: local.html

Recommend this page to a friend!
  Classes of Martin Latter  >  JavaScript Monitor URL Changes  >  local.html  >  Download  
File: local.html
Role: Example script
Content type: text/plain
Description: Example
Class: JavaScript Monitor URL Changes
Display the status of accessing a URL in a page
Author: By
Last change:
Date: 1 year ago
Size: 1,068 bytes
 

Contents

Class file image Download
<!DOCTYPE html>

<html lang="en">

    <head>

        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width,initial-scale=1.0">

        <title>Monitor local network URLs</title>

        <link rel="stylesheet" type="text/css" href="css/trafficlight.css" media="all">

        <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
        <script type="text/javascript" src="js/trafficlight.js"></script>
        <script type="text/javascript" src="js/local_loader.js"></script>

    </head>

    <body>

        <div id="traffic-light-container-1">
            <div id="traffic-light-1"></div>
            <div class="strap">no errors</div>
        </div>

        <div id="traffic-light-container-2">
            <div id="traffic-light-2"></div>
            <div class="strap">errors</div>
        </div>

        <div id="traffic-light-container-3">
            <div id="traffic-light-3"></div>
            <div class="strap">one error</div>
        </div>

    </body>

</html>