Faco : Solar Water Heater Singapore, Water Heater SingaporeFacoFaco | Solar Water Heater Singapore, Water Heater Singapore
var ajaxURL = "http://faco.com.sg/wp-admin/admin-ajax.php";
var siteURL = "http://faco.com.sg";
var themePath = "http://faco.com.sg/wp-content/themes/crystal-wp";
.tp-caption a{color:#ff7302;text-shadow:none;-webkit-transition:all 0.2s ease-out;-moz-transition:all 0.2s ease-out;-o-transition:all 0.2s ease-out;-ms-transition:all 0.2s ease-out}.tp-caption a:hover{color:#ffa902}
.ewf-boxed-layout #wrap,
.ewf-boxed-layout #header { max-width:1170px;}
.ewf-debug-message { background-color: #FCFCFC;border-left: 4px solid #7ad03a;box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);padding:12px;margin:20px;color:#555; }
body {
background-color:#fff;
background-repeat:repeat-all;
background-position:center center;
background-attachment:scroll;}
/* ### EWF Custom Typography */
body {
font-family:'ABeeZee', Arial, sans-serif;
font-weight:400;font-size:13px;
line-height:24px;
}h1 {
font-family:'Open sans', Arial, sans-serif;
font-weight:400;font-size:32px;
line-height:50px;
margin-bottom:14px;
}
h2 {
font-family:'Open sans', Arial, sans-serif;
font-weight:400;font-size:24px;
line-height:40px;
margin-bottom:10px;
}
h3 {
font-family:'Open sans', Arial, sans-serif;
font-weight:400;font-size:18px;
line-height:24px;
margin-bottom:8px;
}
h4 {
font-family:'Open sans', Arial, sans-serif;
font-weight:400;font-size:16px;
line-height:30px;
margin-bottom:4px;
}
h5 {
font-family:'Open sans', Arial, sans-serif;
font-weight:400;font-size:14px;
line-height:24px;
margin-bottom:0px;
}
h6 {
font-family:'Open sans', Arial, sans-serif;
font-weight:400;font-size:12px;
line-height:21px;
margin-bottom:0px;
}
/* */
jQuery(document).ready(function() {
// CUSTOM AJAX CONTENT LOADING FUNCTION
var ajaxRevslider = function(obj) {
// obj.type : Post Type
// obj.id : ID of Content to Load
// obj.aspectratio : The Aspect Ratio of the Container / Media
// obj.selector : The Container Selector where the Content of Ajax will be injected. It is done via the Essential Grid on Return of Content
var content = "THIS IS SOME TITLE";
content += "Type:"+obj.type+"";
content += "ID:"+obj.id+"";
content += "Aspect Ratio:"+obj.aspectratio+"";
data = {};
data.action = 'revslider_ajax_call_front';
data.client_action = 'get_slider_html';
data.token = '3d7adcc3af';
data.type = obj.type;
data.id = obj.id;
data.aspectratio = obj.aspectratio;
// SYNC AJAX REQUEST
jQuery.ajax({
type:"post",
url:"http://faco.com.sg/wp-admin/admin-ajax.php",
dataType: 'json',
data:data,
async:false,
success: function(ret, textStatus, XMLHttpRequest) {
if(ret.success == true)
content = ret.data;
},
error: function(e) {
console.log(e);
}
});
// FIRST RETURN THE CONTENT WHEN IT IS LOADED !!
return content;
};
// CUSTOM AJAX FUNCTION TO REMOVE THE SLIDER
var ajaxRemoveRevslider = function(obj) {
return jQuery(obj.selector+" .rev_slider").revkill();
}
// EXTEND THE AJAX CONTENT LOADING TYPES WITH TYPE AND FUNCTION
var extendessential = setInterval(function() {
if (jQuery.fn.tpessential != undefined) {
clearInterval(extendessential);
if(typeof(jQuery.fn.tpessential.defaults) !== 'undefined')
jQuery.fn.tpessential.defaults.ajaxTypes.push({type:"revslider",func:ajaxRevslider,killfunc:ajaxRemoveRevslider,openAnimationSpeed:0.3});
// type: Name of the Post to load via Ajax into the Essential Grid Ajax Container
// func: the Function Name which is Called once the Item with the Post Type has been clicked
// killfunc: function to kill in case the Ajax Window going to be removed (before Remove function !
// openAnimationSpeed: how quick the Ajax Content window should be animated (default is 0.3)
}
},30);
});
.wc_email_inquiry_custom_form_container {
position:relative !important;
}
@charset "UTF-8";
/* CSS Document */
/* Email Inquiry Button Style */
.wc_email_inquiry_button_container {
margin-bottom: 5px !important;
margin-top: 5px !important;
margin-left: 0px !important;
margin-right: 0px !important;
}
body .wc_email_inquiry_button_container .wc_email_inquiry_button, body .wc_email_inquiry_button_container .wc_email_inquiry_popup_button, body .wc_email_inquiry_button_container .wc_email_inquiry_button_3rd {
position: relative !important;
cursor:pointer;
display: inline-block !important;
line-height: 1 !important;
}
body .wc_email_inquiry_button_container .wc_email_inquiry_email_button {
padding: 5px 5px !important;
margin:0;
/*Background*/
background-color: #EE2B2B !important;
background: -webkit-gradient(
linear,
left top,
left bottom,
color-stop(.2, #FBCACA),
color-stop(1, #EE2B2B)
) !important;;
background: -moz-linear-gradient(
center top,
#FBCACA 20%,
#EE2B2B 100%
) !important;;
/*Border*/
border: 1px solid #EE2B2B !important;border-radius: 3px 3px 3px 3px !important;-moz-border-radius: 3px 3px 3px 3px !important;-webkit-border-radius: 3px 3px 3px 3px !important;
/* Shadow */
box-shadow: none !important ;-moz-box-shadow: none !important ;-webkit-box-shadow: none !important ;
/* Font */
font:bold 12px Arial, sans-serif !important; color:#FFFFFF !important;
text-align: center !important;
text-shadow: 0 -1px 0 hsla(0,0%,0%,.3);
text-decoration: none !important;
}
body .wc_email_inquiry_button_container .wc_email_inquiry_hyperlink_text {
/* Font */
font:bold 12px Arial, sans-serif !important; color:#000000 !important;}
body .wc_email_inquiry_button_container .wc_email_inquiry_hyperlink_text:hover {
color: #999999 !important;
}
/* Email Inquiry Form Style */
.wc_email_inquiry_form * {
box-sizing:content-box !important;
-moz-box-sizing:content-box !important;
-webkit-box-sizing:content-box !important;
}
.email_inquiry_cb #cboxLoadedContent, .wc_email_inquiry_form, #fancybox-content > div {
background-color: #FFFFFF !important;
}
body .wc_email_inquiry_form, .wc_email_inquiry_form, .wc_email_inquiry_form .wc_email_inquiry_field {
/* Font */
font:normal 12px Arial, sans-serif !important; color:#000000 !important;}
.wc_email_inquiry_custom_form_product_heading {
/* Font */
font:normal 26px Arial, sans-serif !important; color:#29577F !important;
clear:none !important;
margin-top:5px !important;
padding-top:0 !important;
}
a.wc_email_inquiry_custom_form_product_url {
/* Font */
font:normal 12px Arial, sans-serif !important; color:#29577F !important;}
.wc_email_inquiry_subject {
/* Font */
font:normal 12px Arial, sans-serif !important; color:#000000 !important;}
.wc_email_inquiry_field input, .wc_email_inquiry_field textarea{
/*Border*/
border: 1px solid #CCCCCC !important;border-radius: 0px !important;-moz-border-radius: 0px !important;-webkit-border-radius: 0px !important;
/*Background*/
background-color: #FAFAFA !important;
/* Font */
color: #000000 !important;
}
/* Email Inquiry Form Button Style */
body .wc_email_inquiry_form_button, .wc_email_inquiry_form_button {
position: relative !important;
cursor:pointer;
display: inline-block !important;
line-height: 1 !important;
}
body .wc_email_inquiry_form_button, .wc_email_inquiry_form_button {
padding: 7px 10px !important;
margin:0;
/*Background*/
background-color: #EE2B2B !important;
background: -webkit-gradient(
linear,
left top,
left bottom,
color-stop(.2, #FBCACA),
color-stop(1, #EE2B2B)
) !important;;
background: -moz-linear-gradient(
center top,
#FBCACA 20%,
#EE2B2B 100%
) !important;;
/*Border*/
border: 1px solid #EE2B2B !important;border-radius: 3px 3px 3px 3px !important;-moz-border-radius: 3px 3px 3px 3px !important;-webkit-border-radius: 3px 3px 3px 3px !important;
/* Shadow */
box-shadow: none !important ;-moz-box-shadow: none !important ;-webkit-box-shadow: none !important ;
/* Font */
font:normal 12px Arial, sans-serif !important; color:#FFFFFF !important;
text-align: center !important;
text-shadow: 0 -1px 0 hsla(0,0%,0%,.3);
text-decoration: none !important;
}
/* Contact Form Heading */
h1.wc_email_inquiry_result_heading {
font:normal 18px Arial, sans-serif !important; color:#000000 !important;}
/* Colorbox Background */
#cboxOverlay.email_inquiry_cb{
background:#666666 !important;
}
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-60945550-1', 'auto');
ga('send', 'pageview');
jQuery(document).ready(function(){
jQuery("title").html("Faco: Solar Water Heater Singapore, Water Heater Singapore");
});