1// <![CDATA[ 2var kind; 3kind = 'HTML'; 4 5function get_header_html_text() { 6 var html_text=''; 7 if (kind == 'HTML') { 8 9 var sidePositionPanel = 'left', 10 elements_body = 'body', 11 elements_logo_style = '.logo, .logo a', 12 //elements_heading_font_style - token from //head_html_default_block.js 13 //elements_heading_font_style = '.logo, h1, h2', 14 elements_h1_style = 'h1, h1 a', 15 elements_h2_style = 'h2:not(.not_font_color):not(small), h2 span, h2 a', 16 elements_h3_style = 'h3, h3:not(small), h3 a span, h3 a', 17 elements_content_style = "body, code, input[type='text'], textarea", 18 elements_content_href_style = 'a:not(.menu_navigation)', 19 elements_background_style = '.body_pattern', 20 //logo_style 21 st_logo_font_color="#565656", 22 st_logo_font_size="30", 23 //headers_style 24 h1_font_color="#4e4d4d", 25 h1_font_size="14", 26 h2_font_color="#555555", 27 h2_font_size="12", 28 h3_font_color="#515050", 29 h3_font_size="14", 30 // global style 31 content_font_style="Arial", 32 content_font_size="13", 33 content_line_spacing='1.5', // em 34 content_font_color="#a1a0a0", 35 content_links_font_color="#629fd8", 36 //background style 37 background_color = "#ffffff", 38 background_img = "images/main_bg.png", 39 background_rep = "", 40 //background_Full_Image = "background:#FFF url('http://cdn.dcodes.net/backgrounds/u_background/bg_05.png');", 41 background_Full_Image = "", 42 background_Image_Size = "auto auto", 43 background_Image, 44 background_Other = true; // false 45 46 if (background_img == "") { 47 background_Image= "none"; 48 } else if (background_Full_Image != '') { 49 background_Image="http://cdn.dcodes.net/backgrounds/u_background/"+background_img; 50 } else if (background_Other) { 51 background_Image=background_img; 52 } else { 53 background_Image="box_setting/images/bg_images/"+background_img; 54 } 55 56 var box_options = { 57 // header style settings 58 sidePositionPanel: sidePositionPanel, 59 elements_heading_font_style: elements_heading_font_style, 60 elements_body: elements_body, 61 elements_logo_style: elements_logo_style, 62 elements_h1_style: elements_h1_style, 63 elements_h2_style: elements_h2_style, 64 elements_h3_style: elements_h3_style, 65 elements_content_style: elements_content_style, 66 elements_content_href_style: elements_content_href_style, 67 elements_background_style: elements_background_style, 68 header_google_font: header_google_font, 69 header_font_style: header_font_style, 70 st_logo_font_color: st_logo_font_color, 71 st_logo_font_size: st_logo_font_size, 72 h1_font_color: h1_font_color, 73 h1_font_size: h1_font_size, 74 h2_font_color: h2_font_color, 75 h2_font_size: h2_font_size, 76 h3_font_color: h3_font_color, 77 h3_font_size: h3_font_size, 78 content_font_style: content_font_style, 79 body_font_size: content_font_size, 80 body_line_spacing: content_line_spacing, // em 81 body_font_color: content_font_color, 82 body_links_font_color: content_links_font_color, 83 background_overlay: "0.0", 84 background_color: background_color, 85 background_Image: background_Image, 86 background_Full_Image: background_Full_Image, 87 background_Image_Size: background_Image_Size, 88 background_Image_Repeat: background_rep 89 //background_Image: "none" 90 } 91 92 var linkElement = document.createElement('link'); 93 linkElement.setAttribute('rel', 'stylesheet'); 94 linkElement.setAttribute('type', 'text/css'); 95 linkElement.setAttribute('href', 'box_setting/colorpicker/css/colorpicker.css'); 96 document.getElementsByTagName('head')[0].appendChild(linkElement); 97 var linkElement = document.createElement('link'); 98 linkElement.setAttribute('rel', 'stylesheet'); 99 linkElement.setAttribute('type', 'text/css'); 100 linkElement.setAttribute('href', 'box_setting/css/box-setting.css'); 101 document.getElementsByTagName('head')[0].appendChild(linkElement); 102 103 function loadScripts(array,callback){ 104 var loader = function(src,handler){ 105 var script = document.createElement("script"); 106 script.src = src; 107 script.onload = script.onreadystatechange = function(){ 108 script.onreadystatechange = script.onload = null; 109 if(/MSIE ([6-9]+\.\d+);/.test(navigator.userAgent))window.setTimeout(function(){handler();},10,this); 110 else handler(); 111 } 112 var head = document.getElementsByTagName("head")[0]; 113 (head || document.body).appendChild( script ); 114 }; 115 (function(){ 116 if(array.length!=0){ 117 loader(array.shift(),arguments.callee); 118 }else{ 119 callback && callback(); 120 } 121 })(); 122 } 123 // loaded necessary scripts 124 loadScripts([ // loading necessary files 125 "box_setting/js/jquery.cookies.2.2.0.min.js", 126 "box_setting/js/box-setting.js", 127 "box_setting/colorpicker/js/jquery.animate-colors-min.js", 128 "box_setting/colorpicker/js/colorpicker.js" 129 ],function(){ 130 $(function() { 131 $.boxSettings(box_options); // dynamic loading box settings 132 }); 133 }); 134 } 135} 136 137get_header_html_text();
138// ]]> 139
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.