Initial commit mar. mai 15 13:46:26 CEST 2018

This commit is contained in:
Tropicananass 2018-05-15 13:46:26 +02:00
commit 7acb896ed2
11 changed files with 125 additions and 0 deletions

60
Accueil.html Normal file
View File

@ -0,0 +1,60 @@
<!doctype html>
<html><head>
<title>Accueil</title>
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
<meta name="description" content="Accueil">
<meta name="author" content="Tropicananass">
<link href="Accueil_fichiers/Style.CSS" type="text/css" rel="stylesheet">
<style>
#image {
max-heigth: 100%;
width: auto;
}
img {
width: 32%;
heigth: auto;
}
</style>
</head>
<body>
<h1>C'EST LA FaiTE</h1>
<p></p>
<div id="image1">
<a target="_blank" href="https://charlievolta.tropicananass.ovh">
<img src="Accueil_fichiers/charlie.png" alt="lien vers Charlie Volta web site" width="auto" height="auto">
</a>
<a target="_blank" href="https://charlievolta.tropicananass.ovh">
<img src="Accueil_fichiers/charlie.png" alt="lien vers Charlie Volta web site" width="auto" height="auto">
</a>
<a target="_blank" href="https://charlievolta.tropicananass.ovh">
<img src="Accueil_fichiers/charlie.png" alt="lien vers Charlie Volta web site" width="auto" height="auto">
</a></div>
<p></p>
<div id="image2">
<a target="_blank" href="https://transmission.tropicananass.ovh">
<img src="Accueil_fichiers/trans.png" alt="lien vers transmission" width="auto" height="auto">
</a>
<a target="_blank" href="https://kodi.tropicananass.ovh">
<img src="Accueil_fichiers/kodi.png" alt="lien vers kodi (chorus 2)" width="auto" height="auto">
</a>
<a target="_blank" href="https://git.tropicananass.ovh">
<img src="Accueil_fichiers/gogs.png" alt="lien vers gogs" width="auto" height="auto">
</a></div>
<p></p>
<div id="image3">
<a target="_blank" href="https://owncloud.tropicananass.ovh">
<img src="Accueil_fichiers/cloud.png" alt="lien vers owncloud" width="auto" height="auto">
</a>
<a target="_blank" href="https://gitlab.tropicananass.ovh">
<img src="Accueil_fichiers/gitlab.png" alt="lien vers gitlab" width="auto" height="auto">
</a>
<a target="_blank" href="https://charlievolta.tropicananass.ovh">
<img src="Accueil_fichiers/git.png" alt="lien vers Charlie Volta web site" width="auto" height="auto">
</a></div>
<p></p>
<script src="Accueil.js">
</script>
</a></body></html>

39
Accueil.js Normal file
View File

@ -0,0 +1,39 @@
//while (confirm("pute ?")) {
/*alert('Hello world!');
if (confirm("sûre ?"))
parseInt(prompt("Entrez l'étage où l'ascenseur doit se rendre (de -2 à 30) :"));
else {
alert("Tamr");
}
}*/
var image = document.getElementById('image1');
console.log(image);
var child = image.lastChild;
while (child) {
if (child.nodeType === Node.ELEMENT_NODE) { // C'est un élément HTML
//alert(child.firstChild.data);
} else { // C'est certainement un nœud textuel
//alert(child.data)
}
child = child.previousSibling; // À chaque tour de boucle, on prend l'enfant précédent
}
//var image = document.getElementsById('image');
var divs = document.getElementsByTagName('div');
for (var i = 0; i < 3; i++) {
var newElement = divs[0].appendChild(document.createElement('a'));
url = Math.random().toString(36).replace(/[^a-z]+/g, '').substr(0, 2);
console.log(url);
for (var i = 0; i < url.length; i++) {
url[i] = url[i] % 26 + 'a'
}
newElement.title = 'tanche'
newElement.href = 'http://' + url + '.com'
newElement.appendChild(document.createTextNode("pte"));
}
console.log("fin");

View File

@ -0,0 +1 @@
You need to sign in or sign up before continuing.

BIN
Accueil_fichiers/charlie.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 457 KiB

BIN
Accueil_fichiers/cloud.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

BIN
Accueil_fichiers/git.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

BIN
Accueil_fichiers/gitlab.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

BIN
Accueil_fichiers/gogs.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 KiB

BIN
Accueil_fichiers/kodi.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB

BIN
Accueil_fichiers/trans.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

25
charlie.html Normal file
View File

@ -0,0 +1,25 @@
<html><head>
<title>Charlie Volta - Web Site</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="description" content="Accueil">
<meta name="author" content="Tropicananass">
<link href="Accueil_fichiers/Style.CSS" type="text/css" rel="stylesheet">
<style>
#image {
max-heigth: 100%;
width: auto;
}
img {
width: 30%;
heigth: auto;
}
</style>
</head>
<body>
<h1>Charlie Volta (official)</h1>
<p></p>
<iframe width="560" height="315" src="https://www.youtube.com/embed/hKIx8P4KuyY" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
<p></p>
</a></body></html>