1// Mobile Menu JS ---------- 2$(document).ready(function() { 3 $(".slicknav_item").find("a:first").attr("href", "javascript:void(0);").addClass("menu-parent"); 4}); 5 6//Banner Resposnsive------------------------ 7 8$(document).ready(function() { 9 10 resize(); 11 12 $(window).resize(function() { 13 14 resize(); 15 16 }); 17 18}); 19 20function resize() { 21 22 var win = $(window).width(); 23 24 var temp_width = 960; 25 26 var temp_height = 426; 27 28 var temp_result = (temp_height/temp_width) * win; 29 30 if(win < temp_width) { 31 32 if(win >= 641) { 33 34 $('#Intra-Container #Intractivity, #Intra-Container .rslides').css("height", temp_result); 35 36 } else { 37 38 $('#Intra-Container #Intractivity, #Intra-Container .rslides').css("height", 240); 39 40 } 41 42 } else { 43 44 $('#Intra-Container #Intractivity, #Intra-Container .rslides').css("height", temp_height); 45 46 } 47 48} 49 50 51 52// Scrolling JS ---------- 53 54$(window).load(function() { 55 56 $("#flexiselDemo1").flexisel({ 57 58 visibleItems: 3, 59 60 animationSpeed: 1500, 61 62 autoPlay: true, 63 64 autoPlaySpeed: 5500, 65 66 pauseOnHover: true, 67 68 enableResponsiveBreakpoints: true, 69 70 responsiveBreakpoints: { 71 72 portrait: { 73 74 changePoint:480, 75 76 visibleItems: 1 77 78 }, 79 80 landscape: { 81 82 changePoint:640, 83 84 visibleItems: 2 85 86 }, 87 88 tablet: { 89 90 changePoint:800, 91 92 visibleItems: 3 93 94 } 95 96 } 97 98 }); 99 100 $("#flexiselDemo2").flexisel({ 101 102 visibleItems: 3, 103 104 animationSpeed: 1500, 105 106 autoPlay: true, 107 108 autoPlaySpeed: 5000, 109 110 pauseOnHover: true, 111 112 enableResponsiveBreakpoints: true, 113 114 responsiveBreakpoints: { 115 116 portrait: { 117 118 changePoint:480, 119 120 visibleItems: 1 121 122 }, 123 124 landscape: { 125 126 changePoint:640, 127 128 visibleItems: 2 129 130 }, 131 132 tablet: { 133 134 changePoint:800, 135 136 visibleItems: 3 137 138 } 139 140 } 141 142 }); 143 144 $("#flexiselDemo3").flexisel({ 145 146 visibleItems: 5, 147 148 animationSpeed: 1500, 149 150 autoPlay: true, 151 152 autoPlaySpeed: 6000, 153 154 pauseOnHover: true, 155 156 enableResponsiveBreakpoints: true, 157 158 responsiveBreakpoints: { 159 160 portrait: { 161 162 changePoint:480, 163 164 visibleItems: 1 165 166 }, 167 168 landscape: { 169 170 changePoint:640, 171 172 visibleItems: 2 173 174 }, 175 176 tablet: { 177 178 changePoint:800, 179 180 visibleItems: 3 181 182 } 183 184 } 185 186 }); 187 188 $("#flexiselDemo4").flexisel({ 189 190 clone:false 191 192 }); 193 194}); 195 196// Resposnsive JS ---------- 197 198$(window).load(function() { 199 200 $("#Slider1").responsiveSlides({ 201 202 auto: true, 203 204 pause: true, 205 206 speed: 500, 207 208 timeout: 4000, 209 210 namespace: 'Banner', 211 212 manualControls: '#Slider1-Tabs' 213 214 }); 215 216 $("#Slider2").responsiveSlides({ 217 218 auto: true, 219 220 pause: true, 221 222 speed: 500, 223 224 timeout: 6000, 225 226 namespace: 'Service', 227 228 manualControls: '#Slider2-Tabs' 229 230 }); 231 232}); 233 234// ScrollTop JS ---------- 235 236$(document).ready(function() { 237 238 $('body').append('<div id="backtotop" class="backtotop"><a href="javascript:void(0);">Top</a></div>'); 239 240 $(window).scroll(function() { 241 242 if($(this).scrollTop() != 0) { 243 244 $('#backtotop').fadeIn('slow'); 245 246 } else { 247 248 $('#backtotop').fadeOut('fast'); 249 250 } 251 252 }); 253 254 $('#backtotop').click(function() { 255 256 $('body,html').animate({scrollTop:0},900); 257 258 }); 259 260}); 261 262function askdoc() { 263 var a = document.forms["cuForm"]["yorName"].value; 264 if (a == null || a == "") { 265 alert("Name must be filled out"); 266 return false; 267 } 268 269 var b = document.forms["cuForm"]["yorEmail"].value; 270 271 if (b == '') 272 { 273 alert("Please enter E-mail Id"); 274 275 return false; 276 } 277 else if (b.indexOf("@")==-1 || b.indexOf(".")==-1){ 278 alert("Invalid E-mail ID") 279 280 return false; 281 } 282 283 var c = document.forms["cuForm"]["yorPhone"].value; 284 if (c == null || c == "") { 285 alert("Please add your Phone Number"); 286 return false; 287 } 288 289 var d = document.forms["cuForm"]["yorMessage"].value; 290 if (d == null || d == "") { 291 alert("Please add your comments"); 292 return false; 293 } 294 295 var e = document.forms["cuForm"]["uword"].value; 296 if ( e =="" ) 297 { 298 alert('Enter the code as it is shown'); 299 300 return false; 301 } 302 return jcap(); 303 304 305} 306 307 308
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.