1window.console = window.console || (function() { 2 var c = {}; 3 c.log = c.warn = c.debug = c.info = c.error = c.time = c.dir = c.profile = c.clear = c.exception = c.trace = c.assert = function() {}; 4 return c; 5})(); 6jQuery(document).ready(function() { 7 var styleswitcherstr = ' \ 8 <div class="switcher-inner"> \ 9 <h2>Ø§ÙØªØµÙ ÙÙ <a href="#"></a></h2> \ 10 <div class="content"> \ 11 <div class="switcher-box"> \ 12 <ul class="color_schemes"> \ 13 <li><a id="lightx" class="styleswitchx"><span class="fa fa-sun-o"></span> Ø§ÙØ£Ø³Ø§Ø³Ù</a></li> \ 14 <li><a id="darkx" class="styleswitchx"><span class="fa fa-moon-o"></span> اÙÙÙÙÙ</a></li> \ 15 </ul> </div><!-- End switcher-box --> \ 16 </div><!-- End content --> \ 17 '; 18 // jQuery(".switcher").prepend(styleswitcherstr); 19}); 20jQuery(document).ready(function() { 21 var startClass = jQuery.cookie('FictionX-Style'); 22 jQuery("body").addClass("light"); 23 jQuery("#light").click(function() { 24 jQuery("body").removeClass('dark'); 25 jQuery.cookie('FictionX-Style', 'light'); 26 // $('#logo img').remove(); 27 // $("<img src='images/inner-logo.png' alt='Logo' />").prependTo('#logo a'); 28 }); 29 jQuery("#light").click(function() { 30 jQuery("body").removeClass('dark'); 31 jQuery.cookie('FictionX-Style', 'light'); 32 }); 33 jQuery("#dark").click(function() { 34 jQuery("body").removeClass('dark'); 35 jQuery.cookie('FictionX-Style', 'dark'); 36 }); 37 38 39 jQuery("#lightx").click(function() { 40 jQuery("body").removeClass('dark'); 41 jQuery.cookie('FictionX-Style', 'light'); 42 // $('#logo img').remove(); 43 // $("<img src='images/inner-logo.png' alt='Logo' />").prependTo('#logo a'); 44 }); 45 jQuery("#lightx").click(function() { 46 jQuery("body").removeClass('dark'); 47 jQuery.cookie('FictionX-Style', 'light'); 48 }); 49 jQuery("#darkx").click(function() { 50 jQuery("body").removeClass('dark'); 51 jQuery.cookie('FictionX-Style', 'dark'); 52 }); 53 54 55 56 if (jQuery.cookie('FictionX-Style')) { 57 jQuery('body').addClass(jQuery.cookie('FictionX-Style')); 58 } 59}); 60jQuery(document).ready(function() { 61 var cookieName = 'FictionX-Style'; 62 63 function changeLayout(layout) { 64 jQuery.cookie(cookieName, layout); 65 jQuery('head link[id=skins]').attr('href', 'templates/ona_exception/assets/css/' + layout + '/style.css'); 66 jQuery('head link[id=responsive]').attr('href', 'templates/ona_exception/assets/css/' + layout + '/responsive.css'); 67 jQuery('head link[id=defaultskins]').attr('href', 'templates/ona_exception/assets/css/' + layout + '/skins/default.css'); 68 jQuery('head link[id=rtlskins]').attr('href', 'templates/ona_exception/assets/css/' + layout + '/rtl.css'); 69 } 70 if (jQuery.cookie(cookieName)) { 71 changeLayout(jQuery.cookie(cookieName)); 72 } 73 jQuery("#light").click(function() { 74 changeLayout('light'); 75 }); 76 jQuery("#dark").click(function() { 77 changeLayout('dark'); 78 }); 79 80 jQuery("#lightx").click(function() { 81 changeLayout('light'); 82 }); 83 jQuery("#darkx").click(function() { 84 changeLayout('dark'); 85 }); 86}); 87jQuery(document).ready(function() { 88 jQuery('.switcher').animate({ 89 right: '-186px' 90 }); 91 jQuery('.switcher h2 a').click(function(e) { 92 e.preventDefault(); 93 var div = jQuery('.switcher'); 94 if (div.css('right') === '-170px') { 95 jQuery('.switcher').animate({ 96 right: '0px' 97 }); 98 } else { 99 jQuery('.switcher').animate({ 100 right: '-170px' 101 }); 102 } 103 }) 104});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.