How can I change offset jquery option on Slider Revolution depending on width screen
<p>The problem I’m facing, I need to set a vertical offset (this can be set in the panel of the plugin), but I want it only on certain screen sizes, because my header is vertical on large screen an horizontal when small size, so the offset is needed only on small sizes.</p>

<p>On bigger width than 1100px I need and offet of 0px, but on smaller i need an offset of 125px;</p>

<p>Here is the script that initiate the plugin with the desire options, and the one that I need in order to change the offset is this one <strong>fullScreenOffset</strong></p>

<pre><code>&lt;script type="text/javascript"&gt;
                /******************************************
        -   PREPARE PLACEHOLDER FOR SLIDER  -
    ******************************************/

    var setREVStartSize=function(){
        try{var e=new Object,i=jQuery(window).width(),t=9999,r=0,n=0,l=0,f=0,s=0,h=0;
            e.c = jQuery('#rev_slider_2_1');
            e.responsiveLevels = [1240,1024,778,480];
            e.gridwidth = [1400,1240,778,480];
            e.gridheight = [868,768,960,720];

            e.sliderLayout = "fullscreen";
            e.fullScreenAutoWidth='on';
            e.fullScreenAlignForce='off';
            e.fullScreenOffsetContainer= '';
            e.fullScreenOffset='';
            if(e.responsiveLevels&amp;&amp;(jQuery.each(e.responsiveLevels,function(e,f){f&gt;i&amp;&amp;(t=r=f,l=e),i&gt;f&amp;&amp;f&gt;r&amp;&amp;(r=f,n=e)}),t&gt;r&amp;&amp;(l=n)),f=e.gridheight[l]||e.gridheight[0]||e.gridheight,s=e.gridwidth[l]||e.gridwidth[0]||e.gridwidth,h=i/s,h=h&gt;1?1:h,f=Math.round(h*f),"fullscreen"==e.sliderLayout){var u=(e.c.width(),jQuery(window).height());if(void 0!=e.fullScreenOffsetContainer){var c=e.fullScreenOffsetContainer.split(",");if (c) jQuery.each(c,function(e,i){u=jQuery(i).length&gt;0?u-jQuery(i).outerHeight(!0):u}),e.fullScreenOffset.split("%").length&gt;1&amp;&amp;void 0!=e.fullScreenOffset&amp;&amp;e.fullScreenOffset.length&gt;0?u-=jQuery(window).height()*parseInt(e.fullScreenOffset,0)/100:void 0!=e.fullScreenOffset&amp;&amp;e.fullScreenOffset.length&gt;0&amp;&amp;(u-=parseInt(e.fullScreenOffset,0))}f=u}else void 0!=e.minHeight&amp;&amp;f&lt;e.minHeight&amp;&amp;(f=e.minHeight);e.c.closest(".rev_slider_wrapper").css({height:f})

        }catch(d){console.log("Failure at Presize of Slider:"+d)}
    };

    setREVStartSize();

                var tpj=jQuery;

    var revapi2;
    tpj(document).ready(function() {
        if(tpj("#rev_slider_2_1").revolution == undefined){
            revslider_showDoubleJqueryError("#rev_slider_2_1");
        }else{
            revapi2 = tpj("#rev_slider_2_1").show().revolution({
                sliderType:"standard",
                sliderLayout:"fullscreen",
                dottedOverlay:"none",
                delay:9000,
                navigation: {
                    keyboardNavigation:"on",
                    keyboard_direction: "vertical",
                    mouseScrollNavigation:"on",
                        mouseScrollReverse:"default",
                    onHoverStop:"off",
                    touch:{
                        touchenabled:"on",
                        swipe_threshold: 75,
                        swipe_min_touches: 1,
                        swipe_direction: "vertical",
                        drag_block_vertical: false
                    }
                    ,
                    bullets: {
                        enable:true,
                        hide_onmobile:true,
                        hide_under:1024,
                        style:"zeus",
                        hide_onleave:false,
                        direction:"vertical",
                        h_align:"right",
                        v_align:"center",
                        h_offset:30,
                        v_offset:0,
                        space:5,
                        tmp:'&lt;span class="tp-bullet-image"&gt;&lt;/span&gt;&lt;span class="tp-bullet-imageoverlay"&gt;&lt;/span&gt;&lt;span class="tp-bullet-title"&gt;{{title}}&lt;/span&gt;'
                    }
                },
                responsiveLevels:[1240,1024,778,480],
                visibilityLevels:[1240,1024,778,480],
                gridwidth:[1400,1240,778,480],
                gridheight:[868,768,960,720],
                lazyType:"none",
                shadow:0,
                spinner:"spinner2",
                stopLoop:"on",
                stopAfterLoops:0,
                stopAtSlide:1,
                shuffle:"off",
                autoHeight:"off",
                fullScreenAutoWidth:"on",
                fullScreenAlignForce:"off",
                fullScreenOffsetContainer: "",
                fullScreenOffset: "",
                disableProgressBar:"on",
                hideThumbsOnMobile:"off",
                hideSliderAtLimit:0,
                hideCaptionAtLimit:0,
                hideAllCaptionAtLilmit:0,
                debugMode:false,
                fallbacks: {
                    simplifyAll:"off",
                    nextSlideOnWindowFocus:"off",
                    disableFocusListener:false,
                }
            });
        }
    }); /*ready*/
&lt;/script&gt;
</code></pre>

<p>I have search and didn’t find a proper answer. I know using resize() function but I don't know how to change the value in the script.</p>

<p>Thanks in advance.</p>