Tagged: ,

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #332587

    The Issue:

    Using the Enfold theme, I have an IFrame positioned about halfway down my sales page which I have inserted via the Code Block Content Element. When I load the page on my mobile device, Enfold automatically scrolls down to the location of the IFrame. I have confirmed that the IFrame is the cause by eliminating the IFrame from the page and reloading. When I do this, the page loads as expected with the headline at the top.

    What I’ve done:

    Aside from removing the IFrame to determine that it was the cause, I’ve checked the source code of the IFrame itself to see if there was anything that might be triggering the behavior. Nothing was immediately apparent but something is causing Enfold to behave in this way.

    What I need:

    I need the sales page to load as normal, with the headline at the top. I don’t want the page to auto scroll to the location of the IFrame.

    I’ve included that source below. Thanks for any help you can provide.

    <!DOCTYPE html>
    <!-- saved from url=(0013)about:internet -->
    <html>
        <head><meta content='IE=Edge' http-equiv='X-UA-Compatible'>
        <meta http-equiv='Content-Type' content='text/html;charset=UTF-8' />
        <meta name='GENERATOR' content='SpreadsheetConverter  version 7.8.6078.0)' />
    <!-- The parts of this webpage that is defined by the original spreadsheet have the same copyright as the original spreadsheet. -->
    <!-- The generic Excel-related parts of this page is Copyright © 2002-2013 Framtidsforum I&M AB, Sweden. -->
        <title>Invisalign Calculator</title>
        <link rel="stylesheet" href="assets/app.min.css" />
        <script type="text/javascript" src="assets/app.min.js"></script>
        <script type="text/javascript">
            $(function(){
                var calendar_dateFormats = {};
                var defaultDateFmt = 'm/d/yy';
                postcode();
                var tabWiz = $('#tab').tabs();
                var focusCtrl=$('input:not(":hidden,:button,[readonly=readonly],:disabled"),select,a.ui-slider-handle,textarea,a.ui-state-active');
    			                <!-- to prevent popup dialog to appear in page load.-->
    			                if(focusCtrl!= undefined && focusCtrl.filter(':first').hasClass('hasDatepicker')==false){
    				                focusCtrl.filter(':first').focus();
    			                }
            });
        </script>
        <link rel='stylesheet' type='text/css' href='' media='print' id='printallcss' />
        </head>
        <body onload='LoadFromQueryString();GetCookies();recalc_onclick("");' onunload='SetCookies();'>
            <noscript style='color:#F15623;'>
                The webpage is not working since JavaScript is not enabled. 
                Most likely, you are viewing using Dropbox website or another limited browser environment.
            </noscript>
    
            <form id='formc' name='formc' method='post' action='' target='_top'>
    		    <input type='hidden' id='xl_spreadsheet' name='xl_spreadsheet' value='Invisalign Calculator' />
                <input type='hidden' id='xl_client' name='xl_client' value='x7.8.6078.0' />
    			<div id='tab'>
                     <div id='sheet-1' style='padding: 1em 1.4em;'>
                        <table width= '817' cellspacing='0' cellpadding='0' style='border-spacing:0;' onkeydown='javascript:navigate(event);'>
    					<col width='162'/>
    					<col width='11'/>
    					<col width='113'/>
    					<col width='11'/>
    					<col width='520'/>
                        <tr style='height:13pt'>
    						<td class='ee100' style='height:13pt;'>
    							Cost of
      Treatment
    						</td>
    						<td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td>
    						<td class='ee106' style='height:13pt;'>
    
    						    <fieldset id='FS1$price' style='border:0;padding:0;'>
    							    <select name='price' id='price' class='ee108' style=' width:100% ' tabindex='1' onchange="recalc_onclick('price')" size='1' data-sheet='1' data-row='1' data-col='3'>
    									<option  data-value='n:0' selected > $            -   </option>
    									<option  data-value='n:2500' > $  2,500</option>
    									<option  data-value='n:3000' > $  3,000</option>
    									<option  data-value='n:3500' > $  3,500</option>
    									<option  data-value='n:4000' > $  4,000</option>
    									<option  data-value='n:4500' > $  4,500</option>
    							    </select>
    						    </fieldset>
    						</td>
    						<td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td>
    						<td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td>
                        </tr>
                        <tr style='height:13pt'>
    						<td class='ee109' style='height:13pt;' colspan = '5'>
    							Most
      Invisalign® cases will cost between $2,500 and $4,500
    						</td>
                        </tr>
                        <tr style='height:13pt'>
    						<td class='ee100' style='height:13pt;'>
    							Insurance Coverage
    						</td>
    						<td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td>
    						<td class='ee106' style='height:13pt;'>
    
    						    <fieldset id='FS1$insurance' style='border:0;padding:0;'>
    							    <select name='insurance' id='insurance' class='ee108' style=' width:100% ' tabindex='2' onchange="recalc_onclick('insurance')" size='1' data-sheet='1' data-row='3' data-col='3'>
    									<option  data-value='n:0' selected > $            -   </option>
    									<option  data-value='n:500' > $      500</option>
    									<option  data-value='n:1000' > $  1,000</option>
    									<option  data-value='n:1500' > $  1,500</option>
    									<option  data-value='n:2000' > $  2,000</option>
    									<option  data-value='n:2500' > $  2,500</option>
    									<option  data-value='n:3000' > $  3,000</option>
    									<option  data-value='n:3500' > $  3,500</option>
    							    </select>
    						    </fieldset>
    						</td>
    						<td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td>
    						<td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td>
                        </tr>
                        <tr style='height:13pt'>
    						<td class='ee109' style='height:13pt;' colspan = '5'>
    							Some
      insurance providers offer coverage up to $3,500
    						</td>
                        </tr>
                        <tr style='height:13pt'>
    						<td class='ee100' style='height:13pt;'>
    							FSA Contribution
    						</td>
    						<td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td>
    						<td class='ee106' style='height:13pt;'>
    
    						    <fieldset id='FS1$fsa' style='border:0;padding:0;'>
    							    <select name='fsa' id='fsa' class='ee108' style=' width:100% ' tabindex='3' onchange="recalc_onclick('fsa')" size='1' data-sheet='1' data-row='5' data-col='3'>
    									<option  data-value='n:0' selected > $            -   </option>
    									<option  data-value='n:500' > $      500</option>
    									<option  data-value='n:1000' > $  1,000</option>
    									<option  data-value='n:1500' > $  1,500</option>
    									<option  data-value='n:2000' > $  2,000</option>
    									<option  data-value='n:2500' > $  2,500</option>
    							    </select>
    						    </fieldset>
    						</td>
    						<td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td>
    						<td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td>
                        </tr>
                        <tr style='height:13pt'>
    						<td class='ee109' style='height:13pt;' colspan = '5'>
    							With
      a Flexible Spending Account (FSA), you can put up to $2,500 towards treatment
    						</td>
                        </tr>
                        <tr style='height:13pt'>
    						<td class='ee100' style='height:13pt;'>
    							Your Down Payment
    						</td>
    						<td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td>
    						<td class='ee106' style='height:13pt;'>
    
    						    <fieldset id='FS1$down' style='border:0;padding:0;'>
    							    <select name='down' id='down' class='ee108' style=' width:100% ' tabindex='4' onchange="recalc_onclick('down')" size='1' data-sheet='1' data-row='7' data-col='3'>
    									<option  data-value='n:0' selected > $            -   </option>
    									<option  data-value='n:250' > $      250</option>
    									<option  data-value='n:500' > $      500</option>
    									<option  data-value='n:1000' > $  1,000</option>
    									<option  data-value='n:1500' > $  1,500</option>
    									<option  data-value='n:2000' > $  2,000</option>
    									<option  data-value='n:2500' > $  2,500</option>
    									<option  data-value='n:3000' > $  3,000</option>
    									<option  data-value='n:3500' > $  3,500</option>
    									<option  data-value='n:4000' > $  4,000</option>
    									<option  data-value='n:4500' > $  4,500</option>
    							    </select>
    						    </fieldset>
    						</td>
    						<td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td>
    						<td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td>
                        </tr>
                        <tr style='height:13pt'>
    						<td class='ee109' style='height:13pt;' colspan = '5'>
    							Making
      a down payment can reduce your montly costs
    						</td>
                        </tr>
                        <tr style='height:13pt'>
    						<td class='ee100' style='height:13pt;'>
    							Your Total Out of Pocket
    						</td>
    						<td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td>
    						<td class='ee121' style='height:13pt;'>
    						<input id='XLEW_1_9_3' type='text' readonly='readonly' value='-' class='ee121' style='overflow:hidden; border:0px solid #000000; width:100% ' name='XLEW_1_9_3' tabindex='-1' />
    						</td>
    						<td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td>
    						<td class='ee109' style='height:13pt;'><div style='overflow:hidden'></div></td>
                        </tr>
                        <tr style='height:13pt'>
    						<td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td>
    						<td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td>
    						<td class='ee123' style='height:13pt;'><div style='overflow:hidden'></div></td>
    						<td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td>
    						<td class='ee109' style='height:13pt;'><div style='overflow:hidden'></div></td>
                        </tr>
                        <tr style='height:13pt'>
    						<td class='ee124' style='height:13pt;' colspan = '5'>
    							Complete
      the fields below to estimate your monthly payment if you are financing your
      treatment.
    						</td>
                        </tr>
                        <tr style='height:13pt'>
    						<td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td>
    						<td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td>
    						<td class='ee123' style='height:13pt;'><div style='overflow:hidden'></div></td>
    						<td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td>
    						<td class='ee109' style='height:13pt;'><div style='overflow:hidden'></div></td>
                        </tr>
                        <tr style='height:13pt'>
    						<td class='ee100' style='height:13pt;'>
    							Monthly Payment
    						</td>
    						<td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td>
    						<td class='ee126' style='height:13pt;'>
    						<input id='XLEW_1_13_3' type='text' readonly='readonly' value='-' class='ee126' style='overflow:hidden; border:0px solid #000000; width:100% ' name='XLEW_1_13_3' tabindex='-1' />
    						</td>
    						<td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td>
    						<td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td>
                        </tr>
                        <tr style='height:13pt'>
    						<td class='ee109' style='height:13pt;' colspan = '2'>
    							Estimated
      monthly payment
    						</td>
    						<td class='ee109' style='height:13pt;'><div style='overflow:hidden'></div></td>
    						<td class='ee109' style='height:13pt;'><div style='overflow:hidden'></div></td>
    						<td class='ee109' style='height:13pt;'><div style='overflow:hidden'></div></td>
                        </tr>
                        <tr style='height:13pt'>
    						<td class='ee100' style='height:13pt;'>
    							Payment Periods
    						</td>
    						<td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td>
    						<td class='ee106' style='height:13pt;'>
    
    						    <fieldset id='FS1$Period' style='border:0;padding:0;'>
    							    <select name='Period' id='Period' class='ee108' style=' width:100% ' tabindex='5' onchange="recalc_onclick('Period')" size='1' data-sheet='1' data-row='15' data-col='3'>
    									<option  data-value='n:12' selected >12</option>
    									<option  data-value='n:18' >18</option>
    									<option  data-value='n:24' >24</option>
    							    </select>
    						    </fieldset>
    						</td>
    						<td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td>
    						<td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td>
                        </tr>
                        <tr style='height:13pt'>
    						<td class='ee109' style='height:13pt;' colspan = '3'>
    							Choose
      between 12, 18 or 24 month financing
    						</td>
    						<td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td>
    						<td class='ee109' style='height:13pt;'><div style='overflow:hidden'></div></td>
                        </tr>
                        <tr style='height:13pt'>
    						<td class='ee100' style='height:13pt;'>
    							Est. Interest Rate
    						</td>
    						<td class='ee123' style='height:13pt;'><div style='overflow:hidden'></div></td>
    						<td class='ee106' style='height:13pt;'>
    
    						    <fieldset id='FS1$interest' style='border:0;padding:0;'>
    							    <select name='interest' id='interest' class='ee108' style=' width:100% ' tabindex='6' onchange="recalc_onclick('interest')" size='1' data-sheet='1' data-row='17' data-col='3'>
    									<option  data-value='s:.00' selected >.00</option>
    									<option  data-value='s:.01' >.01</option>
    									<option  data-value='s:.02' >.02</option>
    									<option  data-value='s:.03' >.03</option>
    									<option  data-value='s:.04' >.04</option>
    									<option  data-value='s:.05' >.05</option>
    									<option  data-value='s:.06' >.06</option>
    									<option  data-value='s:.07' >.07</option>
    									<option  data-value='s:.08' >.08</option>
    									<option  data-value='s:.09' >.09</option>
    									<option  data-value='s:.10' >.10</option>
    							    </select>
    						    </fieldset>
    						</td>
    						<td class='ee123' style='height:13pt;'><div style='overflow:hidden'></div></td>
    						<td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td>
                        </tr>
                        <tr style='height:13pt'>
    						<td class='ee109' style='height:13pt;' colspan = '5'>
    							Choose
      your estimated interest rate (0% financing is available)
    						</td>
                        </tr>
                    </table>
                    </div>
                </div>
            </form>
    
    	     </body>
        <script type="text/javascript">
    var co = new Object;
    function recalc_onclick(ctl) {
      if (true) {
    
    co['price']=eegetdropdownvalue(document.getElementsByName('price'));co['insurance']=eegetdropdownvalue(document.getElementsByName('insurance'));co['fsa']=eegetdropdownvalue(document.getElementsByName('fsa'));co['down']=eegetdropdownvalue(document.getElementsByName('down'));co['Period']=eegetdropdownvalue(document.getElementsByName('Period'));co['interest']=eegetdropdownvalue(document.getElementsByName('interest'));calc(co);if(typeof ls_ !== 'undefined'){ssc.liveshare.coUpdate(co,ctl);}document.getElementById('XLEW_1_9_3').value=eedatefmt(fmtdate1,co['XLEW_1_9_3']);document.getElementById('XLEW_1_13_3').value=eedatefmt(fmtdate1,co['XLEW_1_13_3']);
    };};
    var arr1xC3C7=new Array(5);for(var ii=0;ii<5;ii++){arr1xC3C7[ii]=new Array(1);for(var jj=0;jj<1;jj++){arr1xC3C7[ii][jj]=0}};var eecm1=new Array(new Array(arr1xC3C7,4,0,4,0),new Array(arr1xC3C7,2,0,2,0),new Array(arr1xC3C7,0,0,0,0));function calc(data){var c1C17=data['interest'];var c1C15=data['Period'];arr1xC3C7[4][0]=data['down'];arr1xC3C7[2][0]=data['fsa'];arr1xC3C7[0][0]=data['insurance'];var c1C1=data['price'];arr1xC3C7[1][0]=(0);arr1xC3C7[3][0]=(0);var c1C9=(((c1C1)-(sumgeneral(3,0,0,eecm1))));var c1C13=(((pmt((v2n(c1C17)),(c1C15),(c1C9),(0),(0)))*(-1)));data['XLEW_1_13_3']=c1C13;data['XLEW_1_9_3']=c1C9;};
    function postcode() {
    };
    function TriggerOnchange(hiddenId)
    {
        var e = jQuery.Event('change');
        $('#'+hiddenId).trigger(e);
    }
    var eeisus=1;var eetrue="TRUE";var eefalse="FALSE";var eedec=".";var eeth=",";var eedecreg=new RegExp("\\.","g");var eethreg=new RegExp(",","g");var eecurrencyreg=new RegExp("[$]","g");var eepercentreg=new RegExp("%","g"); var fmtdaynamesshort=new Array("Sun","Mon","Tue","Wed","Thu","Fri","Sat"); var fmtdaynameslong=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"); var fmtmonthnamesshort=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"); var fmtmonthnameslong=new Array("January","February","March","April","May","June","July","August","September","October","November","December"); var fmtstrings=new Array("$"); var fmtdate1=[32,25,0];
    function eegetdropdownvalue(ctl) {
                                        var control = $(ctl);
                                        var tag = control.get(0).tagName;
                                        var val;
                                        if (tag == 'INPUT') {
                                            val = $('input[name=' + control.attr('name') + ']:checked').attr('data-value');
                                        } 
                                        else if( tag == 'SELECT'){
                                            val = control.find(':selected').attr('data-value'); /* data-value contains type and value, eg. n:100 (number), b:true (bool), s:ram (string) */
                                        }   
                                        else {
                                            val = control.val();
                                        }
                                        return (val == undefined) ? 0 : eeunpackdropdownvalue(val);
                                    }
    
    function myIsNaN(x){return(isNaN(x)||(typeof x=='number'&&!isFinite(x)));};
    
    function mod(n,d){return n-d*Math.floor(n/d);};
    
    function round(n,nd){if(isFinite(n)&&isFinite(nd)){var sign_n=(n<0)?-1:1;var abs_n=Math.abs(n);var factor=Math.pow(10,nd);return sign_n*Math.round(abs_n*factor)/factor;}else{return NaN;}};
    
    function sum2(arr,rt,rb){var sum=0;for(var ii=rt;ii<=rb;ii++){sum+=arr[ii]};return sum};function sum3(arr,rt,ct,rb,cb){var sum=0;for(var ii=rt;ii<=rb;ii++){for(var jj=ct;jj<=cb;jj++){sum+=arr[ii][jj]}};return sum};
    
    function sumgeneral(cnt,vsum,vcnt,x){var sum=vsum;for(var ii=0;ii<x.length;ii++){sum+=sum3(x[ii][0],x[ii][1],x[ii][2],x[ii][3],x[ii][4]);};return sum;};
    
    function s2n(str){str=String(str).replace(eedecreg,".");str=str.replace(eethreg,"");str=str.replace(eecurrencyreg,"");var res=parseFloat(str);if(myIsNaN(res))res=0;if(str.search(eepercentreg)>=0)res=res/100;return res;}
    
    function v2n(v){switch(typeof v){case "number":return v;case "string":return s2n(v);case "boolean":return v?1:0;case "object":if(v.constructor==Number){return v;};if(v.constructor==String){return s2n(v);};if(v.constructor==Boolean){return v?1:0;};return Number.NaN;default:return Number.NaN;}};
    
    var near0RegExp=new RegExp("[.](.*0000000|.*9999999)");function eedisplayFloat(x){if(myIsNaN(x)){return Number.NaN;}else{var str=String(x);if(near0RegExp.test(str)){x=round(x,8);str=String(x);}return str.replace(/\./g,eedec);}};
    
    function eedisplayScientific(x,nd){if(myIsNaN(x)){return Number.NaN;}else{var str=String(x.toExponential(nd));return str.replace(/\./g,eedec);}};
    
    function eedisplayFloatND(x,nd){if(myIsNaN(x)){return Number.NaN;}else{var res=round(x,nd);if(nd>0){var str=String(res);if(str.indexOf('e')!=-1)return str;if(str.indexOf('E')!=-1)return str;var parts=str.split('.');if(parts.length<2){var decimals=('00000000000000').substring(0,nd);return(parts[0]).toString()+eedec+decimals;}else{var decimals=((parts[1]).toString()+'00000000000000').substring(0,nd);return(parts[0]).toString()+eedec+decimals;}}else{return res;}}};
    
    function eedisplayPercent(x){if(myIsNaN(x)){return Number.NaN;}else{return eedisplayFloat(x*100)+'%';}};
    
    function eedisplayPercentND(x,nd){if(myIsNaN(x)){return Number.NaN;}else{return eedisplayFloatND(x*100,nd)+'%';}}
    
    function eedisplayFloatNDTh(x,nd){if(myIsNaN(x)){return Number.NaN;}else{var res=round(x,nd);if(nd>0){var str=String(res);if(str.indexOf('e')!=-1)return str;if(str.indexOf('E')!=-1)return str;var parts=str.split('.');var res2=eeinsertThousand(parts[0].toString());if(parts.length<2){var decimals=('00000000000000').substring(0,nd);return(res2+eedec+decimals);}else{var decimals=((parts[1]).toString()+'00000000000000').substring(0,nd);return(res2+eedec+decimals);}}else{return(eeinsertThousand(res.toString()));}}};
    
    function eedisplayPercentNDTh(x,nd){if(myIsNaN(x)){return Number.NaN;}else{return eedisplayFloatNDTh(x*100,nd)+'%';}}
    
    function eeinsertThousand(whole){if(whole==""||whole.indexOf("e")>=0){return whole;}else{var minus_sign="";if(whole.charAt(0)=="-"){minus_sign="-";whole=whole.substring(1);};var res="";var str_length=whole.length-1;for(var ii=0;ii<=str_length;ii++){if(ii>0&&ii%3==0){res=eeth+res;};res=whole.charAt(str_length-ii)+res;};return minus_sign+res;}};
    
     function eedatefmt(fmt,x){if(!isFinite(x))return Number.NaN;var padding=0;var tmp=0;var res="";var len=fmt.length;for(var ii=0;ii<len;ii++){if(fmt[ii]>31){res+=fmtstrings[fmt[ii]-32];}else{switch(fmt[ii]){case 2:res+=eemonth(x);break;case 3:tmp=eemonth(x);if(tmp<10){res+="0";};res+=tmp;break;case 4:res+=fmtmonthnamesshort[eemonth(x)-1];break;case 5:res+=fmtmonthnameslong[eemonth(x)-1];break;case 6:res+=eeday(x);break;case 7:tmp=eeday(x);if(tmp<10){res+="0";};res+=tmp;break;case 8:res+=fmtdaynamesshort[weekday(x,1)-1];break;case 9:res+=fmtdaynameslong[weekday(x,1)-1];break;case 10:tmp=year(x)%100;if(tmp<10){res+="0";};res+=tmp;break;case 11:res+=year(x);break;case 12:res+=hour(x);break;case 13:tmp=hour(x);if(tmp<10){res+="0";};res+=tmp;break;case 14:tmp=hour(x)%12;if(tmp==0){res+="12";}else{res+=tmp%12;};break;case 15:tmp=hour(x)%12;if(tmp==0){res+="12";}else{if(tmp<10){res+="0";};res+=tmp;};break;case 16:res+=minute(x);break;case 17:tmp=minute(x);if(tmp<10){res+="0";};res+=tmp;break;case 18:res+=second(x);break;case 19:tmp=second(x);
     if(tmp<10){res+="0";};res+=tmp;break;case 21:case 22:if(hour(x)<12){res+="AM";}else{res+="PM";};break;case 23:res+=eedisplayFloat(x);break;case 24:tmp=fmt[++ii];res+=eedisplayFloatND(x,tmp);break;case 25:tmp=fmt[++ii];res+=eedisplayFloatNDTh(x,tmp);break;case 26:res+=eedisplayPercent(x);break;case 27:tmp=fmt[++ii];res+=eedisplayPercentND(x,tmp);break;case 28:tmp=fmt[++ii];res+=eedisplayPercentNDTh(x,tmp);break;case 29:tmp=fmt[++ii];res+=eedisplayScientific(x,tmp);break;case 30:padding=fmt[++ii];tmp=hour(x)+Math.floor(x)*24;tmp=tmp.toString();if(tmp.length<padding){res+=('00000000000000').substring(0,padding-tmp.length);}res+=tmp;break;};};};return res;};
    
    function eeunpackdropdownvalue(val) {if (val.length<2) return val;var typ = val.substring(0, 2);var data = val.substring(2);if (typ == 'b:') return data.toLowerCase() == 'true';if (typ == 'n:') return parseFloat(data);if (typ == 's:') return data;return val;  };
    
     function leap_gregorian(year){return((year%4)==0)&&(!(((year%100)==0)&&((year%400)!=0)));}var GREGORIAN_EPOCH=1721425;function gregorian_to_jd(year,month,day){return(GREGORIAN_EPOCH-0)+(365*(year-1))+Math.floor((year-1)/4)+(-Math.floor((year-1)/100))+Math.floor((year-1)/400)+Math.floor((((367*month)-362)/12)+((month<=2)?0:(leap_gregorian(year)?-1:-2))+day);}function jd_to_gregorian(jd){var wjd,depoch,quadricent,dqc,cent,dcent,quad,dquad,yindex,year,yearday,leapadj;wjd=Math.floor(jd);depoch=wjd-GREGORIAN_EPOCH-1;quadricent=Math.floor(depoch/146097);dqc=mod(depoch,146097);cent=Math.floor(dqc/36524);dcent=mod(dqc,36524);quad=Math.floor(dcent/1461);dquad=mod(dcent,1461);yindex=Math.floor(dquad/365);year=(quadricent*400)+(cent*100)+(quad*4)+yindex;if(!((cent==4)||(yindex==4))){year++;}yearday=wjd-gregorian_to_jd(year,1,1);leapadj=((wjd<gregorian_to_jd(year,3,1))?0:(leap_gregorian(year)?1:2));var month=Math.floor((((yearday+leapadj)*12)+373)/367);var day=(wjd-gregorian_to_jd(year,month,1))+1;
     return new Array(year,month,day);}
    
    function eeday(serial_number){if(!isFinite(serial_number))return Number.NaN;if(serial_number<1){return 0;}if(serial_number>60)serial_number--;var res=jd_to_gregorian(serial_number+2415020);return res[2];};
    
    function hour(serial_number){if(!isFinite(serial_number))return Number.NaN;var res=Math.floor((serial_number-Math.floor(serial_number))*86400+0.5);return Math.floor(res/3600);}
    
    function minute(serial_number){if(!isFinite(serial_number))return Number.NaN;var res=Math.floor((serial_number-Math.floor(serial_number))*86400+0.5);return Math.floor(res/60)%60;};
    
    function eemonth(serial_number){if(!isFinite(serial_number))return Number.NaN;if(serial_number<1){return 1;}if(serial_number>60)serial_number--;var res=jd_to_gregorian(serial_number+2415020);return res[1];};
    
    function second(serial_number){if(!isFinite(serial_number))return Number.NaN;var res=Math.floor((serial_number-Math.floor(serial_number))*86400+0.5);return res%60;};
    
     function weekday(serial_number,return_type){if(!isFinite(return_type)||!isFinite(serial_number))return Number.NaN;if(return_type<1||return_type>3)return Number.NaN;var res=Math.floor(serial_number+6)%7;switch(Math.floor(return_type)){case 1:return res+1;case 2:return(res+6)%7+1;case 3:return(res+6)%7;};return "hej";};
    
    function year(serial_number){if(!isFinite(serial_number))return Number.NaN;if(serial_number<1){return 1900;}if(serial_number>60)serial_number--;var res=jd_to_gregorian(serial_number+2415020);return res[0];};
    
     function pmt(rate,nper,pv,fv,type){if(rate==0){return-pv/nper;}else{var pvif=Math.pow(1+rate,nper);var fvifa=(Math.pow(1+rate,nper)-1)/rate;var type1=(type!=0)?1:0;return((-pv*pvif-fv)/((1+rate*type1)*fvifa));}};
    function eequerystring(){
        var variable,key,value,ii,querystring,variables;querystring=document.location.search;
        if(querystring.length>0){
            variables=querystring.substring(1).split('&');
            for(ii=0;ii<variables.length;ii++){
                variable=variables[ii].split('=');
                key=unescape(variable[0])
                value=unescape(variable[1]);
                if(document.formc[key]!=null)
                    document.formc[key].value=value;
            }
        }
    }
          function LoadFromQueryString(){
        eequerystring();
            };
    function navigate(e){var t=e.keyCode|e.which;if(t!=13&&t!=40&&t!=38)return;var n=$(e.target||e.srcElement);if(n.is("textarea"))return;if(n.is("select")&&(t==38||t==40))return;var r=parseInt(n.attr("data-sheet"),10);var i=parseInt(n.attr("data-row"),10);var s=parseInt(n.attr("data-col"),10);var o=false;var u=$("#sheet-"+r+"");var a='input:not(":hidden,:button,[readonly=readonly],:disabled"),select,a.ui-slider-handle,textarea';var f=i+1;var l=i-1;var c=f;var h=l;while(t==40&&f<=c||t==38&&l>=h){var p=u.find(a).filter("[data-sheet="+r+"][data-row="+(t==38?l:f)+"][data-col="+s+"]");if(p.length>0){p.focus();if(p.is("input:text, textarea"))p.select();o=true;break}else{var d;if(u.data("col"+s)==undefined){d=u.find(a).filter("[data-sheet="+r+"][data-col="+s+"]").map(function(){return parseInt($(this).attr("data-row"),10)}).toArray();u.data("col"+s,d)}else{d=u.data("col"+s)}c=d[d.length-1];h=d[0];var v="indexOf"in Array.prototype?d.indexOf(i):$.inArray(i,d);if(t==40&&i<c){f=d[v+1]}else if(t==38&&i>h){l=d[v-1]}else{break}}}if(!o){var m;if(t==38)m=parseInt(n.attr("tabindex"),10)-1;else m=parseInt(n.attr("tabindex"),10)+1;var g=u.find(a).filter("[data-sheet][data-row][data-col][tabindex="+m+"]");if(g.length>0){if(g.is(":radio"))g=g.filter(":checked");if(g.length>0){g.focus();if(g.is("input:text, textarea"))g.select()}}else{var y=u.find(a).filter("[data-sheet][data-row][data-col][tabindex]:first");y.focus();if(y.is("input:text, textarea"))y.select()}}e.preventDefault?e.preventDefault():e.returnValue=false}
    var ssccf1n = function(op,id,css,data1){	
    	                switch(op)
    	                {
                            						case 'image':                               
                                $('#' + id).attr('src',$('#'+data1).attr('src'));
                            break;
          		
    	                }
                    }; 
                    var ssccf4n = function(op,id,colors,data1,data2,data3,data4){
                        switch(op)
                        {
                               
                        }
                    };
    
      </script>
    </html>
    
    #332919

    Hey wafflecone!

    Thank you for using Enfold.

    Please create a test page with exact same settings and this iframe. We would like to check it.

    Cheers!
    Ismael

    #332933
    This reply has been marked as private.
    #333523

    Quick update:

    This problem is also occurring in all desktop browsers (Firefox, Chrome, Internet Explorer and Safari). I’m not sure why I didn’t notice it before but just wanted to make sure you knew it.

    Thanks.

    #334030

    Any progress here?

    #334335

    I logged a visitor from you guys in the past day or so. Any updates on this issue? I’ve upgraded the theme to 3.0 but it’s still happening. I’d appreciate some feedback.

    Thanks.

    #334759
    This reply has been marked as private.
    #334760

    Hey!

    I checked the site on mobile and desktop but it doesn’t autoscroll on the iframe section. Have you tried linking the iframe to another html site without the added scripts? I’m sorry but we don’t provide support for third party scripts. Maybe there’s a conflict between the theme and the external document which will be difficult to trace. Please hire a freelance developer to investigate the external document closely.

    Cheers!
    Ismael

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.