This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
perso:gast [2021/08/29 17:15] rablof |
perso:gast [2021/09/20 06:18] (current) rablof |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Gast, Druide Gnome ====== | ====== Gast, Druide Gnome ====== | ||
- | < | + | * [[https:// |
+ | * [[: | ||
+ | * [[: | ||
- | < | + | {{ :perso:gast1.jpg?400 | Gast}} |
- | <!-- saved from url=(0051)https:// | + | |
- | <html class="">< | + | |
- | <link rel=" | + | |
- | <link rel=" | + | |
- | <meta name="viewport" | + | //"Chat échaudé craint l'eau froide."// |
- | <link href=" | + | ===== Résumé |
- | <link href=" | + | |
- | <link href=" | + | |
- | <!-- | + | |
- | To learn more about the conditional comments around the html tags at the top of the file: | + | |
- | paulirish.com/ | + | |
- | Do the following if you're using your customized build of modernizr (http://www.modernizr.com/): | + | //hashtag1, hashtag2// |
- | * insert the link to your js here | + | ==== Personnalité |
- | * remove the link below to the html5shiv | + | |
- | * add the " | + | |
- | * you can also remove the link to respond.min.js if you included the MQ Polyfill in your modernizr build | + | |
- | --> | + | |
- | <!--[if lt IE 9]> | + | |
- | <script src="// | + | |
- | < | + | |
- | <script async="" | + | |
- | < | + | |
- | (function(i, | + | |
- | (i[r].q=i[r].q||[]).push(arguments)}, | + | |
- | m=s.getElementsByTagName(o)[0]; | + | |
- | })(window, | + | |
- | ga(' | + | ==== Description physique ==== |
- | ga(' | + | |
- | </ | + | ==== Liens & affinités ==== |
- | <script type=" | + | |
+ | * [[: | ||
+ | * [[: | ||
+ | * [[: | ||
- | window.onload | + | ===== Biographie ===== |
- | if (isMobileBrowser()){ | + | |
- | startToggle(); | + | |
- | } else { | + | |
- | hideExtraLevelLabels(); | + | |
- | } | + | |
- | + | ||
- | resizeRows(); | + | |
- | toggleTable(' | + | |
- | toggleTable(' | + | |
- | + | ||
- | } | + | |
- | + | ||
- | + | ||
+ | ===== Portrait ===== | ||
- | function isMobileBrowser() { | ||
- | var a = navigator.userAgent||navigator.vendor||window.opera; | ||
- | |||
- | return (/ | ||
- | / | ||
- | } | ||
- | |||
- | | ||
- | |||
- | | ||
- | | ||
- | | ||
- | |||
- | |||
- | toggleTable(' | ||
- | toggleTable(' | ||
- | toggleTable(' | ||
- | |||
- | toggleTable(' | ||
- | toggleTable(' | ||
- | toggleTable(' | ||
- | |||
- | toggleTable(' | ||
- | |||
- | } | ||
- | |||
- | |||
- | function toggleTable(itemID) { | ||
- | // Toggle visibility between none and '' | ||
- | if ((document.getElementById(itemID).style.display == ' | ||
- | document.getElementById(itemID).style.display = '' | ||
- | event.preventDefault() | ||
- | } else { | ||
- | document.getElementById(itemID).style.display = ' | ||
- | event.preventDefault() | ||
- | } | ||
- | } | ||
- | |||
- | |||
- | function resizeRows(){ | ||
- | |||
- | var numLevels = document.getElementById(" | ||
- | |||
- | for (var i=0; i< | ||
- | |||
- | var maxRowHeight =0; | ||
- | var table_levels = document.getElementById(' | ||
- | if (table_levels[i].offsetHeight> | ||
- | maxRowHeight = table_levels[i].offsetHeight; | ||
- | } | ||
- | |||
- | var table_specials = document.getElementById(' | ||
- | if (table_specials[i].offsetHeight> | ||
- | maxRowHeight = table_specials[i].offsetHeight; | ||
- | } | ||
- | |||
- | var table_feats = document.getElementById(' | ||
- | if (table_feats[i].offsetHeight> | ||
- | maxRowHeight = table_feats[i].offsetHeight; | ||
- | } | ||
- | |||
- | |||
- | |||
- | table_levels[i].style.height = maxRowHeight+" | ||
- | table_specials[i].style.height = maxRowHeight+" | ||
- | table_feats[i].style.height = maxRowHeight+" | ||
- | |||
- | } | ||
- | |||
- | } | ||
- | |||
- | function hideExtraLevelLabels(){ | ||
- | var myClasses = document.querySelectorAll(' | ||
- | i = 0; | ||
- | l = myClasses.length; | ||
- | |||
- | for (i; i < l; i++) { | ||
- | myClasses[i].style.display = ' | ||
- | } | ||
- | |||
- | } | ||
- | |||
- | |||
- | function selectElementContents(element, | ||
- | // Copy textarea, pre, div, etc. | ||
- | toggleTable(divID); | ||
- | var el = document.getElementById(element) | ||
- | if (document.body.createTextRange) { | ||
- | // IE | ||
- | var textRange = document.body.createTextRange(); | ||
- | textRange.moveToElementText(el); | ||
- | textRange.select(); | ||
- | textRange.execCommand(" | ||
- | } | ||
- | else if (window.getSelection && document.createRange) { | ||
- | // non-IE | ||
- | var range = document.createRange(); | ||
- | range.selectNodeContents(el); | ||
- | var sel = window.getSelection(); | ||
- | sel.removeAllRanges(); | ||
- | sel.addRange(range); | ||
- | try { | ||
- | var successful = document.execCommand(' | ||
- | var msg = successful ? ' | ||
- | console.log(' | ||
- | } catch(err) { | ||
- | console.log(' | ||
- | } | ||
- | } | ||
- | toggleTable(divID); | ||
- | } // end function selectElementContents(el) | ||
- | |||
- | |||
- | |||
- | </ | ||
- | |||
- | |||
- | |||
- | < | ||
- | < | ||
- | |||
- | |||
- | |||
- | <div class=" | ||
- | |||
- | <div id=" | ||
- | <div class=" | ||
- | < | ||
- | <div class=" | ||
- | | <a href=" | ||
- | | <a href=" | ||
- | |||
- | </ | ||
- | |||
- | </ | ||
- | |||
- | | ||
- | <div class=" | ||
- | <a href=" | ||
- | |||
- | | ||
- | | ||
- | | ||
- | </ | ||
- | |||
- | |||
- | |||
- | |||
- | | ||
- | |||
- | |||
- | |||
- | <div id=" | ||
- | <div class=" | ||
- | Character</ | ||
- | <div class=" | ||
- | | ||
- | <span class=" | ||
- | | ||
- | </ | ||
- | <div id=" | ||
- | <div class=" | ||
- | | ||
- | |||
- | <div class=" | ||
- | |||
- | <div class=" | ||
- | | ||
- | </ | ||
- | | ||
- | <div id=" | ||
- | <div class=" | ||
- | | ||
- | |||
- | |||
- | <div class=" | ||
- | | ||
- | <span class=" | ||
- | | ||
- | </ | ||
- | <div id=" | ||
- | | ||
- | <div class=" | ||
- | | ||
- | |||
- | < | ||
- | |||
- | < | ||
- | |||
- | </ |