-
Notifications
You must be signed in to change notification settings - Fork 0
/
JSMain.html
84 lines (84 loc) · 3.02 KB
/
JSMain.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<!DOCTYPE html>
<!-- Copyright(c) Lester J. Clark and Contributors. -->
<!-- Licensed under the MIT License.-->
<!-- IntroToJavascript/JSMain.html -->
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Intro to Javascript Tutorial</title>
<meta charset='utf-8' />
<meta name="keywords" content="LJC, Javascript, Tutorial, Simple, GitHub">
<meta name='author' content='Lester J. Clark' />
<meta name='viewport' content='width=device-width initial-scale=1' />
<link rel='stylesheet' type='text/css' href='CSS/HMenu.css' />
<link rel='stylesheet' type='text/css' href='CSS/Intro.css' />
<script>
function HREF(wwwURL, localURL)
{
const isLocal = localStorage.getItem("isLocal");
let url = wwwURL;
if (isLocal)
{
url = localURL
}
parent.parent.location.href = url;
}
</script>
</head>
<body>
<div class="page">
<div class="hMenu">
<span class="hItem"
onclick="HREF('https://ljlclark.github.io/IntroToHTML/'
, '../IntroToHTML/indexLocal.html')">
HTML
</span>
<span class="hItem"
onclick="HREF('https://ljlclark.github.io/IntroToCSS/'
, '../IntroToCSS/indexLocal.html')">
CSS
</span>
<span class="hItem" style="background-color: #d4dfff">
Javascript
</span>
<span class="hItem"
onclick="HREF('https://ljlclark.github.io/IntroToPHP/'
, '../IntroToPHP/indexLocal.html')">
PHP
</span>
</div>
<img id="ZNNHS" src="finaltransparent.png"
class="picture" />
<span id="Banner" class="banner">Simple and Brief</span>
<h3 id="pageTitle" style="text-align: center">Intro to Javascript Tutorial</h3>
<p style="text-align: center">
<a href="HTML/1Javascript.html">What is Javascript?</a><br />
<a href="HTML/2DOM.html">Document Object Model</a><br />
<a href="HTML/3DOMObjects.html">DOM Objects</a><br />
<a href="HTML/3DOMObjects2.html">DOM Objects 2</a><br />
<a href="HTML/4Events.html">Events</a><br />
<a href="HTML/5InlineEvent.html">The Inline Event Handler</a><br />
<a href="HTML/6InternalScript.html">Internal Script</a><br />
<a href="HTML/7ExternalScript.html">External Script</a><br />
<a href="HTML/8AddEvent.html">Adding an Event</a><br />
<a href="HTML/9OldStyleDeclarations.html">Old Style Variable Declarations</a><br />
<a href="HTML/10NewStyleDeclarations.html">New Style Variable Declarations</a><br />
<a href="HTML/11DOMValues.html">Sample DOM Tree Values</a><br />
<a href="HTML/12Classes.html">Object Oriented Programming</a><br />
<a href="HTML/13TitleClass.html">The Title Class</a><br />
<a href="HTML/14ClassEvents.html">Class Event Handlers</a><br />
</p>
<h6>JSMain</h6>
</div>
<script>
const isLocal = localStorage.getItem("isLocal");
if (isLocal)
{
Banner.style.display = "none";
}
else
{
ZNNHS.style.display = "none";
}
</script>
</body>
</html>