?
Path : /home/admin/public_html/old/media/jui/js/ |
Current File : /home/admin/public_html/old/media/jui/js/icomoon-lte-ie7.js |
/* Load this script using conditional IE comments if you need to support IE 7 and IE 6. */ window.onload = function() { function addIcon(el, entity) { var html = el.innerHTML; el.innerHTML = '<span style="font-family: \'IcoMoon\'">' + entity + '</span>' + html; } var icons = { 'icon-joomla' : '', 'icon-chevron-up' : '', 'icon-uparrow' : '', 'icon-arrow-up' : '', 'icon-chevron-right' : '', 'icon-rightarrow' : '', 'icon-arrow-right' : '', 'icon-chevron-down' : '', 'icon-downarrow' : '', 'icon-arrow-down' : '', 'icon-chevron-left' : '', 'icon-leftarrow' : '', 'icon-arrow-left' : '', 'icon-arrow-first' : '', 'icon-arrow-last' : '', 'icon-arrow-up-2' : '', 'icon-arrow-right-2' : '', 'icon-arrow-down-2' : '', 'icon-arrow-left-2' : '', 'icon-arrow-up-3' : '', 'icon-arrow-right-3' : '', 'icon-arrow-down-3' : '', 'icon-arrow-left-3' : '', 'icon-menu-2' : '', 'icon-arrow-up-4' : '', 'icon-arrow-right-4' : '', 'icon-arrow-down-4' : '', 'icon-arrow-left-4' : '', 'icon-share' : ''', 'icon-redo' : ''', 'icon-undo' : '(', 'icon-forward-2' : '', 'icon-backward-2' : '', 'icon-reply' : '', 'icon-unblock' : 'l', 'icon-refresh' : 'l', 'icon-redo-2' : 'l', 'icon-undo-2' : '', 'icon-move' : 'z', 'icon-expand' : 'f', 'icon-contract' : 'g', 'icon-expand-2' : 'h', 'icon-contract-2' : 'i', 'icon-play' : '', 'icon-pause' : '', 'icon-stop' : '', 'icon-previous' : '|', 'icon-backward' : '|', 'icon-next' : '{', 'icon-forward' : '{', 'icon-first' : '}', 'icon-last' : '', 'icon-play-circle' : '', 'icon-pause-circle' : '', 'icon-stop-circle' : '', 'icon-backward-circle' : '', 'icon-forward-circle' : '', 'icon-loop' : '', 'icon-shuffle' : '', 'icon-search' : 'S', 'icon-zoom-in' : 'd', 'icon-zoom-out' : 'e', 'icon-apply' : '+', 'icon-edit' : '+', 'icon-pencil' : '+', 'icon-pencil-2' : ',', 'icon-brush' : ';', 'icon-save-new' : ']', 'icon-plus-2 ' : ']', 'icon-minus-sign' : '^', 'icon-minus-2' : '^', 'icon-delete' : 'I', 'icon-remove' : 'I', 'icon-cancel-2' : 'I', 'icon-publish' : 'G', 'icon-save' : 'G', 'icon-ok' : 'G', 'icon-checkmark' : 'G', 'icon-new' : '*', 'icon-plus' : '*', 'icon-plus-circle' : '', 'icon-minus' : 'K', 'icon-not-ok' : 'K', 'icon-ban-circle' : '', 'icon-minus-circle' : '', 'icon-unpublish' : 'J', 'icon-cancel' : 'J', 'icon-cancel-circle' : '', 'icon-checkmark-2' : '', 'icon-checkmark-circle' : '', 'icon-info' : '', 'icon-info-2' : '', 'icon-info-circle' : '', 'icon-question' : 'E', 'icon-question-sign' : 'E', 'icon-help' : 'E', 'icon-question-2' : '', 'icon-question-circle' : '', 'icon-notification' : '', 'icon-notification-2' : '', 'icon-notification-circle' : '', 'icon-pending' : 'H', 'icon-warning' : 'H', 'icon-warning-2' : '', 'icon-warning-circle' : '', 'icon-checkbox-unchecked' : '=', 'icon-checkin' : '>', 'icon-checkbox' : '>', 'icon-checkbox-checked' : '>', 'icon-checkbox-partial' : '?', 'icon-square' : '', 'icon-radio-unchecked' : '', 'icon-radio-checked' : '', 'icon-circle' : '', 'icon-signup' : '', 'icon-grid' : 'X', 'icon-grid-view' : 'X', 'icon-grid-2' : 'Y', 'icon-grid-view-2' : 'Y', 'icon-menu' : 'Z', 'icon-list' : '1', 'icon-list-view' : '1', 'icon-list-2' : '', 'icon-menu-3' : '', 'icon-folder-open' : '-', 'icon-folder' : '-', 'icon-folder-close' : '.', 'icon-folder-2' : '.', 'icon-folder-plus' : '', 'icon-folder-minus' : '', 'icon-folder-3' : '', 'icon-folder-plus-2' : '', 'icon-folder-remove' : '', 'icon-file' : '', 'icon-file-2' : '', 'icon-file-add' : ')', 'icon-file-plus' : ')', 'icon-file-minus' : '', 'icon-file-check' : '', 'icon-file-remove' : '', 'icon-save-copy' : '', 'icon-copy' : '', 'icon-stack' : '', 'icon-tree' : '', 'icon-tree-2' : '', 'icon-paragraph-left' : '', 'icon-paragraph-center' : '', 'icon-paragraph-right' : '', 'icon-paragraph-justify' : '', 'icon-screen' : '', 'icon-tablet' : '', 'icon-mobile' : '', 'icon-box-add' : 'Q', 'icon-box-remove' : 'R', 'icon-download' : '', 'icon-upload' : '', 'icon-home' : '!', 'icon-home-2' : '', 'icon-out-2' : '', 'icon-new-tab' : '', 'icon-out-3' : '', 'icon-new-tab-2' : '', 'icon-link' : '', 'icon-picture' : '/', 'icon-image' : '/', 'icon-pictures' : '0', 'icon-images' : '0', 'icon-palette' : '', 'icon-color-palette' : '', 'icon-camera' : 'U', 'icon-camera-2' : '', 'icon-video' : '', 'icon-play-2' : 'V', 'icon-video-2' : 'V', 'icon-youtube' : 'V', 'icon-music' : 'W', 'icon-user' : '"', 'icon-users' : '', 'icon-vcard' : 'm', 'icon-address' : 'p', 'icon-share-alt' : '&', 'icon-out' : '&', 'icon-enter' : '', 'icon-exit' : '', 'icon-comment' : '$', 'icon-comments' : '$', 'icon-comments-2' : '%', 'icon-quote' : '`', 'icon-quotes-left' : '`', 'icon-quote-2' : 'a', 'icon-quotes-right' : 'a', 'icon-quote-3' : '', 'icon-bubble-quote' : '', 'icon-phone' : '', 'icon-phone-2' : '', 'icon-envelope' : 'M', 'icon-mail' : 'M', 'icon-envelope-opened' : 'N', 'icon-mail-2' : 'N', 'icon-unarchive' : 'O', 'icon-drawer' : 'O', 'icon-archive' : 'P', 'icon-drawer-2' : 'P', 'icon-briefcase' : '', 'icon-tag' : '', 'icon-tag-2' : '', 'icon-tags' : '', 'icon-tags-2' : '', 'icon-options' : '8', 'icon-cog' : '8', 'icon-cogs' : '7', 'icon-screwdriver' : '6', 'icon-tools' : '6', 'icon-wrench' : ':', 'icon-equalizer' : '9', 'icon-dashboard' : 'x', 'icon-switch' : '', 'icon-filter' : 'T', 'icon-purge' : 'L', 'icon-trash' : 'L', 'icon-checkedout' : '#', 'icon-lock' : '#', 'icon-locked' : '#', 'icon-unlock' : '', 'icon-key' : '_', 'icon-support' : 'F', 'icon-database' : 'b', 'icon-scissors' : '', 'icon-health' : 'j', 'icon-wand' : 'k', 'icon-eye-open' : '<', 'icon-eye' : '<', 'icon-eye-close' : '', 'icon-eye-blocked' : '', 'icon-eye-2' : '', 'icon-clock' : 'n', 'icon-compass' : 'o', 'icon-broadcast' : '', 'icon-connection' : '', 'icon-wifi' : '', 'icon-book' : '', 'icon-lightning' : 'y', 'icon-flash' : 'y', 'icon-print' : '', 'icon-printer' : '', 'icon-feed' : 'q', 'icon-calendar' : 'C', 'icon-calendar-2' : 'D', 'icon-calendar-3' : '', 'icon-pie' : 'w', 'icon-bars' : 'v', 'icon-chart' : 'u', 'icon-power-cord' : '2', 'icon-cube' : '3', 'icon-puzzle' : '4', 'icon-attachment' : 'r', 'icon-paperclip' : 'r', 'icon-flag-2' : 'r', 'icon-lamp' : 't', 'icon-pin' : 's', 'icon-pushpin' : 's', 'icon-location' : 'c', 'icon-shield' : '', 'icon-flag' : '5', 'icon-flag-3' : '', 'icon-bookmark' : '', 'icon-bookmark-2' : '', 'icon-heart' : '', 'icon-heart-2' : '', 'icon-thumbs-up' : '[', 'icon-thumbs-down' : '\', 'icon-unfeatured' : '@', 'icon-asterisk' : '@', 'icon-star-empty' : '@', 'icon-star-2' : 'A', 'icon-featured' : 'B', 'icon-default' : 'B', 'icon-star' : 'B', 'icon-smiley' : '', 'icon-smiley-happy' : '', 'icon-smiley-2' : '', 'icon-smiley-happy-2' : '', 'icon-smiley-sad' : '', 'icon-smiley-sad-2' : '', 'icon-smiley-neutral' : '', 'icon-smiley-neutral-2' : '', 'icon-cart' : '', 'icon-basket' : '', 'icon-credit' : '', 'icon-credit-2' : '' }, els = document.getElementsByTagName('*'), i, attr, c, el; for (i = 0; ; i += 1) { el = els[i]; if(!el) { break; } attr = el.getAttribute('data-icon'); if (attr) { addIcon(el, attr); } c = el.className; c = c.match(/icon-[^\s'"]+/); if (c && icons[c[0]]) { addIcon(el, icons[c[0]]); } } };