Question about "what does this code do" in Google Maps
i have modified code (with permission from, http://universimmedia.pagesperso-orange.fr/geo/loc.htm) show longitude , latitude on web site. have general idea on of code there 1 section have no idea , wonder if of gurus can tell me. if.. sort of reporting script able have report me .
the owner when asked informed me had "borrowed" of code , had no trouble me using it. and.. not coder not advise on problems / questions had.
//<![cdata[
var gs_d=new date,dow=gs_d.getday();gs_d.setdate(gs_d.getdate()-(dow+6)%7+3);
var ms=gs_d.valueof();gs_d.setmonth(0);gs_d.setdate(4);
var gs_r=(math.round((ms-gs_d.valueof())/6048e5)+1)*gs_d.getfullyear();
var gs_p = (("https:" == document.location.protocol) ? "https://" : "http://");
document.write(unescape("%3cscript src='" + gs_p + "s.gstat.orange.fr/lib/gs.js?"+gs_r+"' type='text/javascript'%3e%3c/script%3e"));
//]]>
thank time,
ralph
evidently.. 1 person thinks.. leave @ that.
the code comes gstat project , used in generation ("prediction") of lat & long locations.
thanks 101 (to date) viewers "looked" did not recognize code, trying.
More discussions in Web design
adobe
Comments
Post a Comment