![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlNOZcoaC9KfhyPgn-muVj4WoNZavRB-_-1sB1Mh5wrzrcvw4tjuRxWUKKnI2XSa413O-yT2120TfQ602tHRWRC24B3zOL4Nzy6KRdpkC2OxSE0Pkcf8YrLx7eo53aoMOQimNjMrzUtOc1/s320/wnv.png)
Here I mapped the spatial trends of WNV virus in the United States of America.
Check website - http://globalmonitoring.sdstate.edu/eastweb/maps/wnv1999_2011/
function removeElement(divNum) {
var d = document.getElementById('myDiv');
var olddiv = document.getElementById(divNum);
d.removeChild(olddiv);
}
<html>The php portion shows the example of "Passing Javascript variable into the PHP variable"
<head>
<script type="text/javascript" language="javascript">
function DetectBrowser(){
// Browser Detection Javascript
// copyright 1 February 2003, by Stephen Chapman, Felgall Pty Ltd
// You have permission to copy and use this javascript provided that
// the content of the script is not changed in any way.
var agt=navigator.userAgent.toLowerCase();
if (agt.indexOf("opera") != -1) return 'Opera';
if (agt.indexOf("staroffice") != -1) return 'Star Office';
if (agt.indexOf("webtv") != -1) return 'WebTV';
if (agt.indexOf("beonex") != -1) return 'Beonex';
if (agt.indexOf("chimera") != -1) return 'Chimera';
if (agt.indexOf("netpositive") != -1) return 'NetPositive';
if (agt.indexOf("chrome") != -1) return 'Chrome';
if (agt.indexOf("firefox") != -1) return 'Firefox';
if (agt.indexOf("safari") != -1) return 'Safari';
if (agt.indexOf("skipstone") != -1) return 'SkipStone';
if (agt.indexOf("msie") != -1) return 'Internet Explorer';
if (agt.indexOf("netscape") != -1) return 'Netscape';
if (agt.indexOf("mozilla/5.0") != -1) return 'Mozilla';
if (agt.indexOf('\/') != -1) {
if (agt.substr(0,agt.indexOf('\/')) != 'mozilla') {
return navigator.userAgent.substr(0,agt.indexOf('\/'));}
else return 'Netscape';} else if (agt.indexOf(' ') != -1)
return navigator.userAgent.substr(0,agt.indexOf(' '));
else return navigator.userAgent;
}
</script>
</head>
<title>
</title>
<body>
<?php
$browser= "<scriptlanguage=javascript>document.write(DetectBrowser());</script>";
echo $browser;
?>
</body>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd"> <html> <head> <title>Iframe Loading Notice - Demo</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style type="text/css"> #holder, #holder iframe { position:relative; width:500px; height:400px } #loading { height:50px; width:125px; padding:1ex; position:absolute; top:50%; left:50%; margin-top:-25px; margin-left:-63px; display:none; border:2px groove gray; background-color:#cccccc; color:#333333; } </style> <script type="text/javascript"> var loadit=function(){ var f=document.getElementById('myframe'), l=document.getElementById('loading').style; l.display='block'; if(f.onload==null){ f.onload=function(){l.display='none'}; if(window.attachEvent) f.attachEvent('onload', f.onload); } return true; } </script> </head> <body> <div id="holder"> <iframe id="myframe" name="myframe" src="about:blank" scrolling="auto" frameborder="1"></iframe> <div id="loading">Loading . . .</div> </div> <a href="http://www.google.com/" target="myframe" onclick="return loadit();">Google</a><br> <a href="http://www.dynamicdrive.com/" target="myframe" onclick="return loadit();">Dynamic Drive</a> </body> </html>