commit 7e80e4776903d7ba6b7daaf23e85f1e49b2f2b4d Author: Esenjin Date: Sun Jul 22 18:03:36 2018 +0200 Initial commit diff --git a/001-050/css/style.css b/001-050/css/style.css new file mode 100644 index 0000000..34caf66 --- /dev/null +++ b/001-050/css/style.css @@ -0,0 +1,64 @@ +body{ + font-family: 'Roboto', sans-serif; + background: #c7bcad; +} + +#container{ + width:800px; + margin:50px auto; + padding: 20px; + width:50%; +} +#container h2{ + text-align:center; + color:#045; +} + +#quoteContainer{ + width:75%; + background: #c7bcad; + padding:10px; + margin:30px auto; + text-align: center; + height:70px; +} +#buttonContainer{ + width: 100%; + text-align: center; +} +#quoteButton{ + width:200px; + margin-top: 10px; + border:2px solid #46b8da; + color:#045; + font-family: inherit; + font-weight: bold; + padding:5px; + text-decoration: none; + text-align: center; +} + +#quoteButton:hover{ + cursor:pointer; + background:#09c; + color: #fff; +} +#quoteButton:active{ + cursor: pointer; +} +#quoteButton{ + display: inline-block; +} +#quoteGenius{ + font-style: italic; + font-weight: 600; + text-align: center; +} + + +/*MEDIA QUERIES*/ +@media screen and(max-width:760px){ + #quoteButton,#addNew{ + display: block; + } +} \ No newline at end of file diff --git a/001-050/index.html b/001-050/index.html new file mode 100644 index 0000000..7f2990e --- /dev/null +++ b/001-050/index.html @@ -0,0 +1,41 @@ + + + + + + Roulette à donjons + + + + + + + + + Roulette à donjons + + + + + +
+

Vous ne savez pas quel donjon faire en guilde ?

+

Laissez les Dieux vous guider dans votre choix.

+
+

+

+
+ + + + +
+ + + + + + + diff --git a/001-050/js/index.js b/001-050/js/index.js new file mode 100644 index 0000000..ee9227a --- /dev/null +++ b/001-050/js/index.js @@ -0,0 +1,98 @@ + $(document).ready(function(){ + var quoteSource=[ + { + quote: "Crypte de Kardorim", + name:"Kardorim" + }, + { + quote:"Grange du Tournesol Affamé", + name:"Tournesol Affamé" + }, + { + quote:"Château Ensablé", + name:"Mob l'Éponge" + }, + { + quote:"Cour du Bouftou Royal", + name:"Bouftou Royal" + }, + { + quote:"Donjon des Scarafeuilles", + name:"Scarabosse Doré" + }, + { + quote:"Donjon des Tofus", + name:"Botofu" + }, + { + quote:"Maison Fantôme", + name:"Boostache" + }, + { + quote:"Donjon des Squelettes", + name:"Chafer Rōnin" + }, + { + quote:"Cache de Kankreblath", + name:"Kankreblath" + }, + { + quote:"Donjon des Bworks", + name:"Bworkette" + }, + { + quote:"Donjon des Forgerons", + name:"Coffre des Forgerons" + }, + { + quote:"Donjon des Larves", + name:"Shin Larve" + }, + { + quote:"Grotte Hesque", + name:"Corailleur Magistral" + }, + { + quote:"Nid du Kwakwa", + name:"Kwakwa" + }, + { + quote:"Caverne des Bulbes", + name:"Bulbig Brozeur" + }, + + ]; + + + $('#quoteButton').click(function(evt){ + //define the containers of the info we target + var quote = $('#quoteContainer p').text(); + var quoteGenius = $('#quoteGenius').text(); + //prevent browser's default action + evt.preventDefault(); + //getting a new random number to attach to a quote and setting a limit + var sourceLength = quoteSource.length; + var randomNumber= Math.floor(Math.random()*sourceLength); + //set a new quote + for(i=0;i<=sourceLength;i+=1){ + var newQuoteText = quoteSource[randomNumber].quote; + var newQuoteGenius = quoteSource[randomNumber].name; + //console.log(newQuoteText,newQuoteGenius); + var timeAnimation = 500; + var quoteContainer = $('#quoteContainer'); + //fade out animation with callback + quoteContainer.fadeOut(timeAnimation, function(){ + quoteContainer.html(''); + quoteContainer.append('

'+newQuoteText+'

'+'

'+'- '+newQuoteGenius+'

'); + + //fadein animation. + quoteContainer.fadeIn(timeAnimation); + }); + + break; + };//end for loop + + });//end quoteButton function + + +});//end document ready \ No newline at end of file diff --git a/001-200/css/style.css b/001-200/css/style.css new file mode 100644 index 0000000..34caf66 --- /dev/null +++ b/001-200/css/style.css @@ -0,0 +1,64 @@ +body{ + font-family: 'Roboto', sans-serif; + background: #c7bcad; +} + +#container{ + width:800px; + margin:50px auto; + padding: 20px; + width:50%; +} +#container h2{ + text-align:center; + color:#045; +} + +#quoteContainer{ + width:75%; + background: #c7bcad; + padding:10px; + margin:30px auto; + text-align: center; + height:70px; +} +#buttonContainer{ + width: 100%; + text-align: center; +} +#quoteButton{ + width:200px; + margin-top: 10px; + border:2px solid #46b8da; + color:#045; + font-family: inherit; + font-weight: bold; + padding:5px; + text-decoration: none; + text-align: center; +} + +#quoteButton:hover{ + cursor:pointer; + background:#09c; + color: #fff; +} +#quoteButton:active{ + cursor: pointer; +} +#quoteButton{ + display: inline-block; +} +#quoteGenius{ + font-style: italic; + font-weight: 600; + text-align: center; +} + + +/*MEDIA QUERIES*/ +@media screen and(max-width:760px){ + #quoteButton,#addNew{ + display: block; + } +} \ No newline at end of file diff --git a/001-200/index.html b/001-200/index.html new file mode 100644 index 0000000..7f2990e --- /dev/null +++ b/001-200/index.html @@ -0,0 +1,41 @@ + + + + + + Roulette à donjons + + + + + + + + + Roulette à donjons + + + + + +
+

Vous ne savez pas quel donjon faire en guilde ?

+

Laissez les Dieux vous guider dans votre choix.

+
+

+

+
+ + + + +
+ + + + + + + diff --git a/001-200/js/index.js b/001-200/js/index.js new file mode 100644 index 0000000..805e964 --- /dev/null +++ b/001-200/js/index.js @@ -0,0 +1,430 @@ + $(document).ready(function(){ + var quoteSource=[ + { + quote: "Crypte de Kardorim", + name:"Kardorim" + }, + { + quote:"Grange du Tournesol Affamé", + name:"Tournesol Affamé" + }, + { + quote:"Château Ensablé", + name:"Mob l'Éponge" + }, + { + quote:"Cour du Bouftou Royal", + name:"Bouftou Royal" + }, + { + quote:"Donjon des Scarafeuilles", + name:"Scarabosse Doré" + }, + { + quote:"Donjon des Tofus", + name:"Botofu" + }, + { + quote:"Maison Fantôme", + name:"Boostache" + }, + { + quote:"Donjon des Squelettes", + name:"Chafer Rōnin" + }, + { + quote:"Cache de Kankreblath", + name:"Kankreblath" + }, + { + quote:"Donjon des Bworks", + name:"Bworkette" + }, + { + quote:"Donjon des Forgerons", + name:"Coffre des Forgerons" + }, + { + quote:"Donjon des Larves", + name:"Shin Larve" + }, + { + quote:"Grotte Hesque", + name:"Corailleur Magistral" + }, + { + quote:"Nid du Kwakwa", + name:"Kwakwa" + }, + { + quote:"Caverne des Bulbes", + name:"Bulbig Brozeur" + }, + { + quote: "Château du Wa Wabbit", + name:"Wa Wabbit" + }, + { + quote:"Village kanniboul", + name:"Kanniboul Ebil" + }, + { + quote:"Clos des Blops", + name:"Blops Royaux" + }, + { + quote:"Gelaxième Dimension", + name:"Gelées Royales" + }, + { + quote:"Laboratoire de Brumen Tinctorias", + name:"Nelween" + }, + { + quote:"Cale de l'Arche d'Otomaï", + name:"Gourlo le Terrible" + }, + { + quote:"Donjon des Craqueleurs", + name:"Craqueleur Légendaire" + }, + { + quote:"Repaire de Daïgoro", + name:"Daïgoro" + }, + { + quote:"Terrier du Wa Wabbit", + name:"Wa Wobot" + }, + { + quote:"Cimetière des Mastodontes", + name:"Mantiscore" + }, + { + quote:"Antre de la Reine Nyée", + name:"Reine Nyée" + }, + { + quote:"Domaine Ancestral", + name:"Abraknyde Ancestral" + }, + { + quote:"Bateau du Chouque", + name:"Chouque" + }, + { + quote:"Chapiteau des Magik Riktus", + name:"Choudini" + }, + { + quote:"Antre du Dragon Cochon", + name:"Dragon Cochon" + }, + { + quote:"Caverne du Koulosse", + name:"Koulosse" + }, + { + quote:"Tanière du Meulou", + name:"Meulou" + }, + { + quote:"Arbre de Moon", + name:"Moon" + }, + { + quote:"Théâtre de Dramak", + name:"mMître des Pantins" + }, + { + quote:"Fabrique de Malléfisk", + name:"Malléfisk" + }, + { + quote: "Goulet du Rasboul", + name:"Silf le Rasboul Majeur" + }, + { + quote:"Bibliothèque du Maître Corbac", + name:"Maître Corbac" + }, + { + quote:"Donjon des Rats de Bonta", + name:"Rat Blanc" + }, + { + quote:"Donjon des Rats de Brâkmar", + name:"Rat Noir" + }, + { + quote:"Miausolée du Pounicheur", + name:"Pounicheur" + }, + { + quote:"Antre du Blops Multicolore Royal", + name:"Blops Multicolore Royal" + }, + { + quote:"Centre du Labyrinthe du Minotoror", + name:"Minotoror" + }, + { + quote:"Serre du Royalmouth", + name:"Royalmouth" + }, + { + quote:"Repaire des Pandikazes", + name:"Maître Pandore" + }, + { + quote:"Tofulailler Royal", + name:"Tofu Royal" + }, + { + quote:"Donjon des Dragoeufs", + name:"Crocabulia" + }, + { + quote:"Repaire de Skeunk", + name:"Skeunk" + }, + { + quote:"Mégalithe de Fraktale", + name:"Fraktale" + }, + { + quote:"Donjon des Kitsounes", + name:"Tanukouï San" + }, + { + quote:"Volière de la Haute Truche", + name:"Haute Truche" + }, + { + quote:"Caverne d'El Piko", + name:"El Piko" + }, + { + quote:"Ring du Capitaine Ekarlatte", + name:"Capitaine Ekarlatte" + }, + { + quote:"Donjon des Firefoux", + name:"Péki Péki" + }, + { + quote:"Clairière du Chêne Mou", + name:"Chêne Mou" + }, + { + quote:"Laboratoire du Tynril", + name:"Tynrils" + }, + { + quote:"Excavation du Mansot Royal", + name:"Mansot Royal" + }, + { + quote:"Épave du Grolandais Violent", + name:"Ben le Ripate" + }, + { + quote:"Donjon des Rats du Château d'Amakna", + name:"Sphincter Cell" + }, + { + quote:"Galerie du Phossile", + name:"Phossile" + }, + { + quote: "Canopée du Kimbo", + name:"Kimbo" + }, + { + quote:"Salle du Minotot", + name:"Minotot" + }, + { + quote:"Hypogée de l'Obsidiantre", + name:"Obsidiantre" + }, + { + quote:"Grotte de Kanigroula", + name:"Kanigroula" + }, + { + quote:"Plateau de Ush", + name:"Ush Galesh" + }, + { + quote:"Cavernes Givrefoux", + name:"Tengu Givrefoux" + }, + { + quote:"Boyau du Père Ver", + name:"Père Ver" + }, + { + quote:"Horologium de XLII", + name:"XLII" + }, + { + quote:"Antre du Korriandre", + name:"Korriandre" + }, + { + quote:"Antre du Kralamoure Géant", + name:"Kralamoure Géant" + }, + { + quote:"Grotte du Bworker", + name:"Bworker" + }, + { + quote:"Temple du Grand Ougah", + name:"Ougah" + }, + { + quote:"Cave du Toxoliath", + name:"Toxoliath" + }, + { + quote:"Cavernes du Kolosso", + name:"Kolosso" + }, + { + quote:"Cavernes Nourricières", + name:"Fuji Givrefoux Nourricière" + }, + { + quote:"Mine de Sakaï", + name:"N (nique Grolloum !)" + }, + { + quote:"Antichambre du Glourséleste", + name:"Glourséleste" + }, + { + quote:"Pyramide d'Ombre", + name:"Ombre" + }, + { + quote:"Camp du Comte Razof", + name:"Comte Razof" + }, + { + quote: "Forgefroide de Missiz Frizz", + name:"Missiz Frizz" + }, + { + quote:"Transporteur de Sylargh", + name:"Sylargh" + }, + { + quote:"Salons privés de Klime", + name:"Klime" + }, + { + quote:"Laboratoire de Nileza", + name:"Nileza" + }, + { + quote:"Donjon du Comte", + name:"Comte Harebourg" + }, + { + quote:"Aquadôme de Merkator", + name:"Merkator" + }, + { + quote:"Palais du roi Nidas", + name:"roi Nidas" + }, + { + quote:"Trône de la Cour Sombre", + name:"Reine des Voleurs" + }, + { + quote:"Ventre de la Baleine", + name:"Protozorreur" + }, + { + quote:"Œil de Vortex", + name:"Vortex" + }, + { + quote:"Défi du Chalœil", + name:"Chalœil" + }, + { + quote:"Vaisseau du Capitaine Meno", + name:"Capitaine Meno" + }, + { + quote:"Temple de Koutoulou", + name:"Larve de Koutoulou" + }, + { + quote:"Palais de Dantinéa", + name:"Dantinéa" + }, + { + quote:"Chambre de Tal Kasha", + name:"Tal Kasha" + }, + { + quote:"Manoir des Katrepat", + name:"Anerice la Shushess" + }, + { + quote:"Belvédère d'Ilyzaelle", + name:"Ilyzaelle" + }, + { + quote:"Tour de Solar", + name:"Solar" + }, + { + quote:"Tour de Bethel", + name:"Bethel Akarna" + }, + { + quote:"Brasserie du roi Dazak", + name:"Dazak Martegel" + } + + ]; + + + $('#quoteButton').click(function(evt){ + //define the containers of the info we target + var quote = $('#quoteContainer p').text(); + var quoteGenius = $('#quoteGenius').text(); + //prevent browser's default action + evt.preventDefault(); + //getting a new random number to attach to a quote and setting a limit + var sourceLength = quoteSource.length; + var randomNumber= Math.floor(Math.random()*sourceLength); + //set a new quote + for(i=0;i<=sourceLength;i+=1){ + var newQuoteText = quoteSource[randomNumber].quote; + var newQuoteGenius = quoteSource[randomNumber].name; + //console.log(newQuoteText,newQuoteGenius); + var timeAnimation = 500; + var quoteContainer = $('#quoteContainer'); + //fade out animation with callback + quoteContainer.fadeOut(timeAnimation, function(){ + quoteContainer.html(''); + quoteContainer.append('

'+newQuoteText+'

'+'

'+'- '+newQuoteGenius+'

'); + + //fadein animation. + quoteContainer.fadeIn(timeAnimation); + }); + + break; + };//end for loop + + });//end quoteButton function + + +});//end document ready \ No newline at end of file diff --git a/051-100/css/style.css b/051-100/css/style.css new file mode 100644 index 0000000..34caf66 --- /dev/null +++ b/051-100/css/style.css @@ -0,0 +1,64 @@ +body{ + font-family: 'Roboto', sans-serif; + background: #c7bcad; +} + +#container{ + width:800px; + margin:50px auto; + padding: 20px; + width:50%; +} +#container h2{ + text-align:center; + color:#045; +} + +#quoteContainer{ + width:75%; + background: #c7bcad; + padding:10px; + margin:30px auto; + text-align: center; + height:70px; +} +#buttonContainer{ + width: 100%; + text-align: center; +} +#quoteButton{ + width:200px; + margin-top: 10px; + border:2px solid #46b8da; + color:#045; + font-family: inherit; + font-weight: bold; + padding:5px; + text-decoration: none; + text-align: center; +} + +#quoteButton:hover{ + cursor:pointer; + background:#09c; + color: #fff; +} +#quoteButton:active{ + cursor: pointer; +} +#quoteButton{ + display: inline-block; +} +#quoteGenius{ + font-style: italic; + font-weight: 600; + text-align: center; +} + + +/*MEDIA QUERIES*/ +@media screen and(max-width:760px){ + #quoteButton,#addNew{ + display: block; + } +} \ No newline at end of file diff --git a/051-100/index.html b/051-100/index.html new file mode 100644 index 0000000..7f2990e --- /dev/null +++ b/051-100/index.html @@ -0,0 +1,41 @@ + + + + + + Roulette à donjons + + + + + + + + + Roulette à donjons + + + + + +
+

Vous ne savez pas quel donjon faire en guilde ?

+

Laissez les Dieux vous guider dans votre choix.

+
+

+

+
+ + + + +
+ + + + + + + diff --git a/051-100/js/index.js b/051-100/js/index.js new file mode 100644 index 0000000..b737548 --- /dev/null +++ b/051-100/js/index.js @@ -0,0 +1,118 @@ + $(document).ready(function(){ + var quoteSource=[ + { + quote: "Château du Wa Wabbit", + name:"Wa Wabbit" + }, + { + quote:"Village kanniboul", + name:"Kanniboul Ebil" + }, + { + quote:"Clos des Blops", + name:"Blops Royaux" + }, + { + quote:"Gelaxième Dimension", + name:"Gelées Royales" + }, + { + quote:"Laboratoire de Brumen Tinctorias", + name:"Nelween" + }, + { + quote:"Cale de l'Arche d'Otomaï", + name:"Gourlo le Terrible" + }, + { + quote:"Donjon des Craqueleurs", + name:"Craqueleur Légendaire" + }, + { + quote:"Repaire de Daïgoro", + name:"Daïgoro" + }, + { + quote:"Terrier du Wa Wabbit", + name:"Wa Wobot" + }, + { + quote:"Cimetière des Mastodontes", + name:"Mantiscore" + }, + { + quote:"Antre de la Reine Nyée", + name:"Reine Nyée" + }, + { + quote:"Domaine Ancestral", + name:"Abraknyde Ancestral" + }, + { + quote:"Bateau du Chouque", + name:"Chouque" + }, + { + quote:"Chapiteau des Magik Riktus", + name:"Choudini" + }, + { + quote:"Antre du Dragon Cochon", + name:"Dragon Cochon" + }, + { + quote:"Caverne du Koulosse", + name:"Koulosse" + }, + { + quote:"Tanière du Meulou", + name:"Meulou" + }, + { + quote:"Arbre de Moon", + name:"Moon" + }, + { + quote:"Théâtre de Dramak", + name:"mMître des Pantins" + }, + { + quote:"Fabrique de Malléfisk", + name:"Malléfisk" + } + + ]; + + + $('#quoteButton').click(function(evt){ + //define the containers of the info we target + var quote = $('#quoteContainer p').text(); + var quoteGenius = $('#quoteGenius').text(); + //prevent browser's default action + evt.preventDefault(); + //getting a new random number to attach to a quote and setting a limit + var sourceLength = quoteSource.length; + var randomNumber= Math.floor(Math.random()*sourceLength); + //set a new quote + for(i=0;i<=sourceLength;i+=1){ + var newQuoteText = quoteSource[randomNumber].quote; + var newQuoteGenius = quoteSource[randomNumber].name; + //console.log(newQuoteText,newQuoteGenius); + var timeAnimation = 500; + var quoteContainer = $('#quoteContainer'); + //fade out animation with callback + quoteContainer.fadeOut(timeAnimation, function(){ + quoteContainer.html(''); + quoteContainer.append('

'+newQuoteText+'

'+'

'+'- '+newQuoteGenius+'

'); + + //fadein animation. + quoteContainer.fadeIn(timeAnimation); + }); + + break; + };//end for loop + + });//end quoteButton function + + +});//end document ready \ No newline at end of file diff --git a/101-150/css/style.css b/101-150/css/style.css new file mode 100644 index 0000000..34caf66 --- /dev/null +++ b/101-150/css/style.css @@ -0,0 +1,64 @@ +body{ + font-family: 'Roboto', sans-serif; + background: #c7bcad; +} + +#container{ + width:800px; + margin:50px auto; + padding: 20px; + width:50%; +} +#container h2{ + text-align:center; + color:#045; +} + +#quoteContainer{ + width:75%; + background: #c7bcad; + padding:10px; + margin:30px auto; + text-align: center; + height:70px; +} +#buttonContainer{ + width: 100%; + text-align: center; +} +#quoteButton{ + width:200px; + margin-top: 10px; + border:2px solid #46b8da; + color:#045; + font-family: inherit; + font-weight: bold; + padding:5px; + text-decoration: none; + text-align: center; +} + +#quoteButton:hover{ + cursor:pointer; + background:#09c; + color: #fff; +} +#quoteButton:active{ + cursor: pointer; +} +#quoteButton{ + display: inline-block; +} +#quoteGenius{ + font-style: italic; + font-weight: 600; + text-align: center; +} + + +/*MEDIA QUERIES*/ +@media screen and(max-width:760px){ + #quoteButton,#addNew{ + display: block; + } +} \ No newline at end of file diff --git a/101-150/index.html b/101-150/index.html new file mode 100644 index 0000000..7f2990e --- /dev/null +++ b/101-150/index.html @@ -0,0 +1,41 @@ + + + + + + Roulette à donjons + + + + + + + + + Roulette à donjons + + + + + +
+

Vous ne savez pas quel donjon faire en guilde ?

+

Laissez les Dieux vous guider dans votre choix.

+
+

+

+
+ + + + +
+ + + + + + + diff --git a/101-150/js/index.js b/101-150/js/index.js new file mode 100644 index 0000000..c5f868f --- /dev/null +++ b/101-150/js/index.js @@ -0,0 +1,134 @@ + $(document).ready(function(){ + var quoteSource=[ + { + quote: "Goulet du Rasboul", + name:"Silf le Rasboul Majeur" + }, + { + quote:"Bibliothèque du Maître Corbac", + name:"Maître Corbac" + }, + { + quote:"Donjon des Rats de Bonta", + name:"Rat Blanc" + }, + { + quote:"Donjon des Rats de Brâkmar", + name:"Rat Noir" + }, + { + quote:"Miausolée du Pounicheur", + name:"Pounicheur" + }, + { + quote:"Antre du Blops Multicolore Royal", + name:"Blops Multicolore Royal" + }, + { + quote:"Centre du Labyrinthe du Minotoror", + name:"Minotoror" + }, + { + quote:"Serre du Royalmouth", + name:"Royalmouth" + }, + { + quote:"Repaire des Pandikazes", + name:"Maître Pandore" + }, + { + quote:"Tofulailler Royal", + name:"Tofu Royal" + }, + { + quote:"Donjon des Dragoeufs", + name:"Crocabulia" + }, + { + quote:"Repaire de Skeunk", + name:"Skeunk" + }, + { + quote:"Mégalithe de Fraktale", + name:"Fraktale" + }, + { + quote:"Donjon des Kitsounes", + name:"Tanukouï San" + }, + { + quote:"Volière de la Haute Truche", + name:"Haute Truche" + }, + { + quote:"Caverne d'El Piko", + name:"El Piko" + }, + { + quote:"Ring du Capitaine Ekarlatte", + name:"Capitaine Ekarlatte" + }, + { + quote:"Donjon des Firefoux", + name:"Péki Péki" + }, + { + quote:"Clairière du Chêne Mou", + name:"Chêne Mou" + }, + { + quote:"Laboratoire du Tynril", + name:"Tynrils" + }, + { + quote:"Excavation du Mansot Royal", + name:"Mansot Royal" + }, + { + quote:"Épave du Grolandais Violent", + name:"Ben le Ripate" + }, + { + quote:"Donjon des Rats du Château d'Amakna", + name:"Sphincter Cell" + }, + { + quote:"Galerie du Phossile", + name:"Phossile" + } + + ]; + + + $('#quoteButton').click(function(evt){ + //define the containers of the info we target + var quote = $('#quoteContainer p').text(); + var quoteGenius = $('#quoteGenius').text(); + //prevent browser's default action + evt.preventDefault(); + //getting a new random number to attach to a quote and setting a limit + var sourceLength = quoteSource.length; + var randomNumber= Math.floor(Math.random()*sourceLength); + //set a new quote + for(i=0;i<=sourceLength;i+=1){ + var newQuoteText = quoteSource[randomNumber].quote; + var newQuoteGenius = quoteSource[randomNumber].name; + //console.log(newQuoteText,newQuoteGenius); + var timeAnimation = 500; + var quoteContainer = $('#quoteContainer'); + //fade out animation with callback + quoteContainer.fadeOut(timeAnimation, function(){ + quoteContainer.html(''); + quoteContainer.append('

'+newQuoteText+'

'+'

'+'- '+newQuoteGenius+'

'); + + //fadein animation. + quoteContainer.fadeIn(timeAnimation); + }); + + break; + };//end for loop + + });//end quoteButton function + + +});//end document ready \ No newline at end of file diff --git a/151-190/css/style.css b/151-190/css/style.css new file mode 100644 index 0000000..34caf66 --- /dev/null +++ b/151-190/css/style.css @@ -0,0 +1,64 @@ +body{ + font-family: 'Roboto', sans-serif; + background: #c7bcad; +} + +#container{ + width:800px; + margin:50px auto; + padding: 20px; + width:50%; +} +#container h2{ + text-align:center; + color:#045; +} + +#quoteContainer{ + width:75%; + background: #c7bcad; + padding:10px; + margin:30px auto; + text-align: center; + height:70px; +} +#buttonContainer{ + width: 100%; + text-align: center; +} +#quoteButton{ + width:200px; + margin-top: 10px; + border:2px solid #46b8da; + color:#045; + font-family: inherit; + font-weight: bold; + padding:5px; + text-decoration: none; + text-align: center; +} + +#quoteButton:hover{ + cursor:pointer; + background:#09c; + color: #fff; +} +#quoteButton:active{ + cursor: pointer; +} +#quoteButton{ + display: inline-block; +} +#quoteGenius{ + font-style: italic; + font-weight: 600; + text-align: center; +} + + +/*MEDIA QUERIES*/ +@media screen and(max-width:760px){ + #quoteButton,#addNew{ + display: block; + } +} \ No newline at end of file diff --git a/151-190/index.html b/151-190/index.html new file mode 100644 index 0000000..7f2990e --- /dev/null +++ b/151-190/index.html @@ -0,0 +1,41 @@ + + + + + + Roulette à donjons + + + + + + + + + Roulette à donjons + + + + + +
+

Vous ne savez pas quel donjon faire en guilde ?

+

Laissez les Dieux vous guider dans votre choix.

+
+

+

+
+ + + + +
+ + + + + + + diff --git a/151-190/js/index.js b/151-190/js/index.js new file mode 100644 index 0000000..94a36b2 --- /dev/null +++ b/151-190/js/index.js @@ -0,0 +1,114 @@ + $(document).ready(function(){ + var quoteSource=[ + { + quote: "Canopée du Kimbo", + name:"Kimbo" + }, + { + quote:"Salle du Minotot", + name:"Minotot" + }, + { + quote:"Hypogée de l'Obsidiantre", + name:"Obsidiantre" + }, + { + quote:"Grotte de Kanigroula", + name:"Kanigroula" + }, + { + quote:"Plateau de Ush", + name:"Ush Galesh" + }, + { + quote:"Cavernes Givrefoux", + name:"Tengu Givrefoux" + }, + { + quote:"Boyau du Père Ver", + name:"Père Ver" + }, + { + quote:"Horologium de XLII", + name:"XLII" + }, + { + quote:"Antre du Korriandre", + name:"Korriandre" + }, + { + quote:"Antre du Kralamoure Géant", + name:"Kralamoure Géant" + }, + { + quote:"Grotte du Bworker", + name:"Bworker" + }, + { + quote:"Temple du Grand Ougah", + name:"Ougah" + }, + { + quote:"Cave du Toxoliath", + name:"Toxoliath" + }, + { + quote:"Cavernes du Kolosso", + name:"Kolosso" + }, + { + quote:"Cavernes Nourricières", + name:"Fuji Givrefoux Nourricière" + }, + { + quote:"Mine de Sakaï", + name:"N (nique Grolloum !)" + }, + { + quote:"Antichambre du Glourséleste", + name:"Glourséleste" + }, + { + quote:"Pyramide d'Ombre", + name:"Ombre" + }, + { + quote:"Camp du Comte Razof", + name:"Comte Razof" + } + + ]; + + + $('#quoteButton').click(function(evt){ + //define the containers of the info we target + var quote = $('#quoteContainer p').text(); + var quoteGenius = $('#quoteGenius').text(); + //prevent browser's default action + evt.preventDefault(); + //getting a new random number to attach to a quote and setting a limit + var sourceLength = quoteSource.length; + var randomNumber= Math.floor(Math.random()*sourceLength); + //set a new quote + for(i=0;i<=sourceLength;i+=1){ + var newQuoteText = quoteSource[randomNumber].quote; + var newQuoteGenius = quoteSource[randomNumber].name; + //console.log(newQuoteText,newQuoteGenius); + var timeAnimation = 500; + var quoteContainer = $('#quoteContainer'); + //fade out animation with callback + quoteContainer.fadeOut(timeAnimation, function(){ + quoteContainer.html(''); + quoteContainer.append('

'+newQuoteText+'

'+'

'+'- '+newQuoteGenius+'

'); + + //fadein animation. + quoteContainer.fadeIn(timeAnimation); + }); + + break; + };//end for loop + + });//end quoteButton function + + +});//end document ready \ No newline at end of file diff --git a/191-200/css/style.css b/191-200/css/style.css new file mode 100644 index 0000000..34caf66 --- /dev/null +++ b/191-200/css/style.css @@ -0,0 +1,64 @@ +body{ + font-family: 'Roboto', sans-serif; + background: #c7bcad; +} + +#container{ + width:800px; + margin:50px auto; + padding: 20px; + width:50%; +} +#container h2{ + text-align:center; + color:#045; +} + +#quoteContainer{ + width:75%; + background: #c7bcad; + padding:10px; + margin:30px auto; + text-align: center; + height:70px; +} +#buttonContainer{ + width: 100%; + text-align: center; +} +#quoteButton{ + width:200px; + margin-top: 10px; + border:2px solid #46b8da; + color:#045; + font-family: inherit; + font-weight: bold; + padding:5px; + text-decoration: none; + text-align: center; +} + +#quoteButton:hover{ + cursor:pointer; + background:#09c; + color: #fff; +} +#quoteButton:active{ + cursor: pointer; +} +#quoteButton{ + display: inline-block; +} +#quoteGenius{ + font-style: italic; + font-weight: 600; + text-align: center; +} + + +/*MEDIA QUERIES*/ +@media screen and(max-width:760px){ + #quoteButton,#addNew{ + display: block; + } +} \ No newline at end of file diff --git a/191-200/index.html b/191-200/index.html new file mode 100644 index 0000000..7f2990e --- /dev/null +++ b/191-200/index.html @@ -0,0 +1,41 @@ + + + + + + Roulette à donjons + + + + + + + + + Roulette à donjons + + + + + +
+

Vous ne savez pas quel donjon faire en guilde ?

+

Laissez les Dieux vous guider dans votre choix.

+
+

+

+
+ + + + +
+ + + + + + + diff --git a/191-200/js/index.js b/191-200/js/index.js new file mode 100644 index 0000000..ee474b0 --- /dev/null +++ b/191-200/js/index.js @@ -0,0 +1,118 @@ + $(document).ready(function(){ + var quoteSource=[ + { + quote: "Forgefroide de Missiz Frizz", + name:"Missiz Frizz" + }, + { + quote:"Transporteur de Sylargh", + name:"Sylargh" + }, + { + quote:"Salons privés de Klime", + name:"Klime" + }, + { + quote:"Laboratoire de Nileza", + name:"Nileza" + }, + { + quote:"Donjon du Comte", + name:"Comte Harebourg" + }, + { + quote:"Aquadôme de Merkator", + name:"Merkator" + }, + { + quote:"Palais du roi Nidas", + name:"roi Nidas" + }, + { + quote:"Trône de la Cour Sombre", + name:"Reine des Voleurs" + }, + { + quote:"Ventre de la Baleine", + name:"Protozorreur" + }, + { + quote:"Œil de Vortex", + name:"Vortex" + }, + { + quote:"Défi du Chalœil", + name:"Chalœil" + }, + { + quote:"Vaisseau du Capitaine Meno", + name:"Capitaine Meno" + }, + { + quote:"Temple de Koutoulou", + name:"Larve de Koutoulou" + }, + { + quote:"Palais de Dantinéa", + name:"Dantinéa" + }, + { + quote:"Chambre de Tal Kasha", + name:"Tal Kasha" + }, + { + quote:"Manoir des Katrepat", + name:"Anerice la Shushess" + }, + { + quote:"Belvédère d'Ilyzaelle", + name:"Ilyzaelle" + }, + { + quote:"Tour de Solar", + name:"Solar" + }, + { + quote:"Tour de Bethel", + name:"Bethel Akarna" + }, + { + quote:"Brasserie du roi Dazak", + name:"Dazak Martegel" + } + + ]; + + + $('#quoteButton').click(function(evt){ + //define the containers of the info we target + var quote = $('#quoteContainer p').text(); + var quoteGenius = $('#quoteGenius').text(); + //prevent browser's default action + evt.preventDefault(); + //getting a new random number to attach to a quote and setting a limit + var sourceLength = quoteSource.length; + var randomNumber= Math.floor(Math.random()*sourceLength); + //set a new quote + for(i=0;i<=sourceLength;i+=1){ + var newQuoteText = quoteSource[randomNumber].quote; + var newQuoteGenius = quoteSource[randomNumber].name; + //console.log(newQuoteText,newQuoteGenius); + var timeAnimation = 500; + var quoteContainer = $('#quoteContainer'); + //fade out animation with callback + quoteContainer.fadeOut(timeAnimation, function(){ + quoteContainer.html(''); + quoteContainer.append('

'+newQuoteText+'

'+'

'+'- '+newQuoteGenius+'

'); + + //fadein animation. + quoteContainer.fadeIn(timeAnimation); + }); + + break; + };//end for loop + + });//end quoteButton function + + +});//end document ready \ No newline at end of file diff --git a/README.txt b/README.txt new file mode 100644 index 0000000..a41f706 --- /dev/null +++ b/README.txt @@ -0,0 +1,3 @@ +A Pen created at CodePen.io. You can find this one at https://codepen.io/kkoutoup/pen/zxmGLE. + + This random quote generator is a short snippet that can be added to any blog or website. Visitors click on the button and get the quote of the day. Then click again for more quotes. HTML,CSS and jQuery. \ No newline at end of file diff --git a/css/style.css b/css/style.css new file mode 100644 index 0000000..ceb85f0 --- /dev/null +++ b/css/style.css @@ -0,0 +1,68 @@ +body{ + font-family: 'Roboto', sans-serif; + background: #c7bcad; +} + +a { + color: #045; +} + +#container{ + width:800px; + margin:50px auto; + padding: 20px; + width:50%; +} +#container h2{ + text-align:center; + color:#045; +} + +#quoteContainer{ + width:75%; + background: #c7bcad; + padding:10px; + margin:30px auto; + text-align: center; + height:70px; +} +#buttonContainer{ + width: 100%; + text-align: center; +} +#quoteButton{ + width:200px; + margin-top: 10px; + border:2px solid #46b8da; + color:#045; + font-family: inherit; + font-weight: bold; + padding:5px; + text-decoration: none; + text-align: center; +} + +#quoteButton:hover{ + cursor:pointer; + background:#09c; + color: #fff; +} +#quoteButton:active{ + cursor: pointer; +} +#quoteButton{ + display: inline-block; +} +#quoteGenius{ + font-style: italic; + font-weight: 600; + text-align: center; +} + + +/*MEDIA QUERIES*/ +@media screen and(max-width:760px){ + #quoteButton,#addNew{ + display: block; + } +} \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..6b907ec --- /dev/null +++ b/index.html @@ -0,0 +1,37 @@ + + + + + + Roulette à donjons + + + + + + + + Roulette à donjons + + + + +
+

Ce site vous permet de consulter les Dieux, afin de savoir quel donjon aller faire avec votre guilde.

+

Commencez par choisir la tranche de niveau qui vous correspond ci-dessous.

+ +

Cet outil a été réalisé par Esenjin, meneur de La Compagnie de Sufokia sur le serveur Pandore (anciennement Maimane). Vous pouvez retrouver plus de renseignements sur la page infos.

+ +
+ + + + + diff --git a/infos.html b/infos.html new file mode 100644 index 0000000..8f208e9 --- /dev/null +++ b/infos.html @@ -0,0 +1,47 @@ + + + + + + Informations + + + + + + + + Informations + + + + +
+

Informations générales

+

Cet outil a été réalisé par Esenjin, meneur de La Compagnie de Sufokia sur le serveur Pandore (anciennement Maimane).

+

En cas de soucis avec cet outil, ou si vous avez des améliorations à soumettre, merci de me contacter sur Twitter.

+

Statistiques

+

Nombre de donjons dans la base de donnés

+ +

Divers

+

Ils ont testés pour vous ! Découvrez sur cette page les avis de nos cobayes !

+

Vous pouvez aussi nous rejoindre pour papoter sur notre serveur Discord.

+

Notes de patch

+

v.1.0.0 - le 21/07/2018

+ +
+ + + + + + diff --git a/license.txt b/license.txt new file mode 100644 index 0000000..16449f7 --- /dev/null +++ b/license.txt @@ -0,0 +1,12 @@ + + + diff --git a/tests.html b/tests.html new file mode 100644 index 0000000..71b9d90 --- /dev/null +++ b/tests.html @@ -0,0 +1,36 @@ + + + + + + Informations + + + + + + + + Informations + + + + +
+

Retours de tests

+

Nous tenons à signaler qu'aucun membre de la guilde n'a été torturé pour donner les réponses qui suivent.

+ +
+ + + + + +