This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function iOSversion() { | |
if (/iP(hone|od|ad)/.test(navigator.platform)) { | |
var v = (navigator.appVersion).match(/OS (\d+)_(\d+)_?(\d+)?/); | |
return [parseInt(v[1], 10), parseInt(v[2], 10), parseInt(v[3] || 0, 10)]; | |
} | |
} | |
var ver = iOSversion(); | |
if (ver && ver[0] <= 5) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.checkbox { | |
background: url("../img/common/checkbox.png") no-repeat scroll 0 0 transparent; | |
cursor: pointer; | |
float: left; | |
height: 11px; | |
margin: 0 5px 0 0; | |
position: relative; | |
width: 11px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.radiobox { | |
background: url("../img/common/radiobox.png") no-repeat scroll 0 0 transparent; | |
cursor: pointer; | |
display: inline-block; | |
float: left; | |
height: 11px; | |
margin: 0 5px 0 0; | |
position: relative; | |
width: 11px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$("#search-txt").autocomplete({ | |
source: function (req, responseFn) { | |
$.ajax({ | |
url: "/search.json", | |
dataType: "json", | |
success: function(data) { | |
var re = $.ui.autocomplete.escapeRegex(req.term); | |
var matcher = new RegExp( "^" + re, "i" ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Bring back the browser object | |
jQuery.browser = {}; | |
//Rest all is self explanatory. | |
jQuery.browser.mozilla = /mozilla/.test(navigator.userAgent.toLowerCase()) | |
&& !/webkit/.test(navigator.userAgent.toLowerCase()); | |
jQuery.browser.webkit = /webkit/.test(navigator.userAgent.toLowerCase()); | |
jQuery.browser.opera = /opera/.test(navigator.userAgent.toLowerCase()); | |
jQuery.browser.msie = /msie/.test(navigator.userAgent.toLowerCase()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ||||||||||||||||||||||||||||||*/ | |
------------------------------ | |
/* == GLOBAL */ | |
------------------------------ | |
/* ||||||||||||||||||||||||||||||*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@font-face { | |
font-family: 'MyWebFont'; | |
src: url('webfont.eot'); /* IE9 Compat Modes */ | |
src: url('webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ | |
url('webfont.woff') format('woff'), /* Modern Browsers */ | |
url('webfont.ttf') format('truetype'), /* Safari, Android, iOS */ | |
url('webfont.svg#svgFontName') format('svg'); /* Legacy iOS */ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<!--[if IE 8 ]> <html lang="fr" class="ie8"> <![endif]--> | |
<!--[if IE 9 ]> <html lang="fr" class="ie9"> <![endif]--> | |
<!--[if IE 9 ]> <html lang="fr" class="no-js ie9"> <![endif]--> | |
<!--[if (gt IE 9)|!(IE)]><!--> <html> <!--<![endif]--> | |
<head> | |
<meta charset="utf-8"> | |
<title></title> | |
<meta name="description" content=""> | |
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"> |