Create a browser detection script.

Fertiggestellt Veröffentlicht Oct 1, 2011 Bezahlt bei Lieferung
Fertiggestellt Bezahlt bei Lieferung

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

Projekt-ID: #1230681

Über das Projekt

6 Vorschläge Remote Projekt Aktiv Oct 4, 2011

Vergeben an:

evgendob

Please, check PM

$40 USD in 1 Tag
(191 Bewertungen)
7.1

6 Freelancer bieten im Durchschnitt $37 für diesen Job

jDevAndDesign

please check your pmb

$49 USD in 2 Tagen
(149 Bewertungen)
6.6
Linkbuild

Please have a look at PMB. Thank You

$100 USD in 3 Tagen
(29 Bewertungen)
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 Mehr

$30 USD in 1 Tag
(78 Bewertungen)
5.7
csanuragjain

hi can do it with javascript

$30 USD in 7 Tagen
(24 Bewertungen)
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 in 0 Tagen
(4 Bewertungen)
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 Mehr

$30 USD in 2 Tagen
(0 Bewertungen)
0.0