Create a browser detection script.

Completado Publicado Oct 1, 2011 Pagado a la entrega
Completado 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>

HTML HTML5 Java JavaScript WordPress

Nº del proyecto: #1230681

Sobre el proyecto

6 propuestas Proyecto remoto Activo Oct 4, 2011

Adjudicado a:

evgendob

Please, check PM

$40 USD en 1 día
(191 comentarios)
7.1

6 freelancers están ofertando un promedio de $37 por este trabajo

jDevAndDesign

please check your pmb

$49 USD en 2 días
(149 comentarios)
6.6
Linkbuild

Please have a look at PMB. Thank You

$100 USD en 3 días
(29 comentarios)
6.2
morff

I understand your project description, however i need more information to bid accordingly. I have over 10 years of experience with HTML&CSS, and JavaScript, also browsers detection isn't problem at all. If you have any Más

$30 USD en 1 día
(78 comentarios)
5.7
csanuragjain

hi can do it with javascript

$30 USD en 7 días
(24 comentarios)
5.2
alexthornton

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 :)

$40 USD en 0 días
(4 comentarios)
3.3
thomsetiabudi

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

$30 USD en 2 días
(0 comentarios)
0.0