PHP Classes

File: theme/fonts/icomoon/icomoon/demo-files/demo.js

Recommend this page to a friend!
  Classes of Abed Nego Ragil Putra   Giga CMS   theme/fonts/icomoon/icomoon/demo-files/demo.js   Download  
File: theme/fonts/icomoon/icomoon/demo-files/demo.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Giga CMS
Multi-user content management system
Author: By
Last change:
Date: 7 years ago
Size: 900 bytes
 

Contents

Class file image Download
if (!('boxShadow' in document.body.style)) { document.body.setAttribute('class', 'noBoxShadow'); } document.body.addEventListener("click", function(e) { var target = e.target; if (target.tagName === "INPUT" && target.getAttribute('class').indexOf('liga') === -1) { target.select(); } }); (function() { var fontSize = document.getElementById('fontSize'), testDrive = document.getElementById('testDrive'), testText = document.getElementById('testText'); function updateTest() { testDrive.innerHTML = testText.value || String.fromCharCode(160); if (window.icomoonLiga) { window.icomoonLiga(testDrive); } } function updateSize() { testDrive.style.fontSize = fontSize.value + 'px'; } fontSize.addEventListener('change', updateSize, false); testText.addEventListener('input', updateTest, false); testText.addEventListener('change', updateTest, false); updateSize(); }());