7

#rev_slider_9_2, #rev_slider_9_2_wrapper { width:600px; height:300px;}

@media only screen and (min-width: 940px) {
#rev_slider_9_2, #rev_slider_9_2_wrapper { width:600px; height:300px;}
}


@media only screen and (min-width: 780px) and (max-width: 939px) {
#rev_slider_9_2, #rev_slider_9_2_wrapper { width:770px; height:385px;}
}


@media only screen and (min-width: 510px) and (max-width: 779px) {
#rev_slider_9_2, #rev_slider_9_2_wrapper { width:500px; height:250px;}
}


@media only screen and (min-width: 0px) and (max-width: 509px) {
#rev_slider_9_2, #rev_slider_9_2_wrapper { width:310px; height:155px;}
}

































/******************************************
- PREPARE PLACEHOLDER FOR SLIDER -
******************************************/


var setREVStartSize = function() {
var tpopt = new Object();
tpopt.startwidth = 600;
tpopt.startheight = 300;
tpopt.container = jQuery('#rev_slider_9_2');
tpopt.fullScreen = "off";
tpopt.forceFullWidth="off";

tpopt.container.closest(".rev_slider_wrapper").css({height:tpopt.container.height()});tpopt.width=parseInt(tpopt.container.width(),0);tpopt.height=parseInt(tpopt.container.height(),0);tpopt.bw=tpopt.width/tpopt.startwidth;tpopt.bh=tpopt.height/tpopt.startheight;if(tpopt.bh>tpopt.bw)tpopt.bh=tpopt.bw;if(tpopt.bh1){tpopt.bw=1;tpopt.bh=1}tpopt.height=Math.round(tpopt.startheight*(tpopt.width/tpopt.startwidth));if(tpopt.height>tpopt.startheight&&tpopt.autoHeight!="on")tpopt.height=tpopt.startheight;if(tpopt.fullScreen=="on"){tpopt.height=tpopt.bw*tpopt.startheight;var cow=tpopt.container.parent().width();var coh=jQuery(window).height();if(tpopt.fullScreenOffsetContainer!=undefined){try{var offcontainers=tpopt.fullScreenOffsetContainer.split(",");jQuery.each(offcontainers,function(e,t){coh=coh-jQuery(t).outerHeight(true);if(coh

Comments

Who Upvoted this Story

What is Kahuk?

Kahuk is an open source content management system that lets you easily create your own user-powered website.