Earthquake in the greater Gaborone region, Botswana – August 12, 2017

0

On April 3, the same area was hit by a very strong earthquake of M6.7. This earthquake is probably an aftershock of the mainshock.

Screen Shot 2017-08-12 at 10.24.31

Based on the present earthquake parameters (Magnitude, Depth, Population, etc) and our experience with earthquake damage impact, earthquake-Report.com does not expect any serious damage from this earthquake

Screen Shot 2017-08-12 at 09.39.50

Screen Shot 2017-08-12 at 09.54.02

Botlhapatlou, Botswana, 56.3 km (35.0 mi) NNEPopulation: 1,013
Molepolole, Botswana, 95.8 km (59.6 mi) NNEPopulation: 63,248
Mochudi, Botswana, 103.2 km (64.1 mi) NNWPopulation: 36,962
Mogoditshane, Botswana, 118.0 km (73.3 mi) NPopulation: 43,394
Gaborone, Botswana, 121.6 km (75.6 mi) NPopulation: 208,411

Most important Earthquake Data:

Magnitude : 4.8

Local Time (conversion only below land) : 2017-08-12 04:37:47

GMT/UTC Time : 2017-08-12 02:37:47

Depth (Hypocenter) : 10 km

Depth and Magnitude updates in the list below.

Donation - long - San Francisco

Share your earthquake experience (I Have Felt It) with our readers.
Click on the “I Felt It” button behind the corresponding earthquake. Your earthquake experience is not only important for science, but also for people in the area as well as our global readership.

#map_canvas img { max-width: none; }

var map;

jQuery(document).ready(function() {
initialize();
});

function initialize() {
var mapOptions = {
zoom: 9,
center: new google.maps.LatLng(-23.57, 25.73),
mapTypeId: google.maps.MapTypeId.HYBRID
};

map = new google.maps.Map(document.getElementById(‘map_canvas’),
mapOptions);

var results = [[“-23.5687″,”25.7305″,”4.8″,”M 4.8 Botswana”,”10″,”1502505467″,”USGS”,”58246784″,”12-08-2017 02:37:47″,”0.15316506271958633″],[“-23.57″,”25.73″,”4.8″,”mb 4.8 BOTSWANA”,”10″,”1502505467″,”EMSC”,”58246714″,”12-08-2017 02:37:47″,”0″]];
var result = [[“-24.5666331″,”25.9881867″,”-30 seconds of shacking. The windows were making a noise which woke me up MMI IV”,”2017-08-12 03:51:12″,”IV”],[“-23.1078010″,”26.8321332″,”-Lasted for about 30 seconds. Luckily we woke up quickly and could prepare ourselves just in case. MMI IV”,”2017-08-12 05:12:46″,”IV”],[“-24.6282079″,”25.9231471″,”-Its just took 15 seconds and i just heared some noise from rafters and dogs were budging outside.No damage done by earthquake but what i was waiting for was just the crystals from the moon but i dint see that as we were expecting . MMI Vn -Moderate shaking MMI Vn -Light shaking MMI IVn -Light shaking MMI IVn -Felt tremor for two to three seconds MMI IIn -Estaba dormida y me desperto el ruido de las ventanas y puertas era como si sacudieran toda la casa I was sleeping and wakeup for the noises of the windows and doors was like somebody shaking the house MMI V”,”2017-08-12 07:53:34″,”V”],[“-24.6713249″,”25.8934342″,”-The bed was shaking ,windows rattling MMI V”,”2017-08-12 05:32:14″,”V”],[“-24.6650217″,”25.9106755″,”-It lasted for 40 seconds….. The roofing was shaking I couldnu0027t sleep after that because of troma MMI VI”,”2017-08-12 05:32:56″,”VI”],[“-23.1085123″,”26.8344514″,”-Moderate shaking MMI V”,”2017-08-12 05:59:31″,”V”],[“-24.6193257″,”25.8965353″,”-About 30 seconds. Roof rattled slightly. MMI II”,”2017-08-12 06:28:15″,”II”],[“-24.5685435″,”25.8728782″,”-Woke up thinking it was thieves but our glass doors were shaking and we thought they would break. It lasted a good 45 seconds in our estimation. Our dogs were barking outside; and yes it was a bit rattling as we struggled to sleep afterwards. MMI VI”,”2017-08-12 07:01:49″,”VI”],[“-24.3965818″,”25.4970466″,”-No damage. About 3 or so seconds of vibrations in the house. MMI IV”,”2017-08-12 07:24:57″,”IV”]];

var originLatLng = ‘-23.57, 25.73’;

for (var i = 0; i < results.length; i++) {
var earthquake = results[i];
var latLng = new google.maps.LatLng(results[i][0], results[i][1]);

var marker = new google.maps.Marker({
position: latLng,
map: map,
title: results[i][3] + ' – Depth: ' + results[i][4] + 'KM' + ' – Date: ' + results[i][8] + ' – Source: ' + results[i][6],
});

}

function getCircle1(magnitude) {
return {
path: google.maps.SymbolPath.CIRCLE,
fillColor: '#00BFFA',
fillOpacity: .5,
scale: Math.pow(2.2, magnitude) / Math.PI,
strokeColor: 'white',
strokeWeight: .5
};

}
if(result){
for (var j = 0; j < result.length; j++) {

var earthquake = result[j];
var latLngs = new google.maps.LatLng(result[j][0], result[j][1]);
var marker = new google.maps.Marker({
position: latLngs,
map: map,
title: result[j][2],
icon: getCircle1(4.5),
});
}
}

}

var i_8615e43d39e615c3700b6c73fd2d3a74=0;

–>
I Felt It

–>
I Felt It

INFO

SRC Location UTC Date/time M D INFO
USGS Botswana Aug 12 02:37 4.8 10 MAP
<!–

MAP
  • gaborone – Lasted about 15 seconds
  • Gaborone – Moderate shaking
  • Gaborone – Less than 30seconds. Felt like a fast train going past. None of my property was damaged
  • Gaborone – lasted 15 or so minutes. ..roof tiles and windows rattled…
  • Gaborone – 30 seconds of shacking. The windows were making a noise which woke me up
  • Gaborone – Its just took 15 seconds and i just heared some noise from rafters and dogs were budging outside.No damage done by earthquake but what i was waiting for was just the crystals from the moon but i dint see that as we were expecting .
  • GABORONE – Moderate shaking
  • Gaborone – The bed was shaking ,windows rattling
  • Gaborone – It lasted for 40 seconds….. The roofing was shaking
    I couldn’t sleep after that because of troma
  • Gaborone – About 30 seconds. Roof rattled slightly.
  • Gaborone – Light shaking
  • gaborone – Light shaking
  • Gaborone – Felt tremor for two to three seconds
  • Mmopane – Woke up thinking it was thieves but our glass doors were shaking and we thought they would break. It lasted a good 45 seconds in our estimation. Our dogs were barking outside; and yes it was a bit rattling as we struggled to sleep afterwards.
  • Johannesburg – Short 8 second shaking at 4:20am
  • molepolole – No damage. About 3 or so seconds of vibrations in the house.
  • Gaborone – Estaba dormida y me desperto el ruido de las ventanas y puertas era como si sacudieran toda la casa
    I was sleeping and wakeup for the noises of the windows and doors was like somebody shaking the house
  • EMSC Botswana Aug 12 02:37 4.8 10 MAP
    <!–

    MAP
  • Gaborone – Light shaking for about 15 seconds at 2:37 No damage
  • Gaborone – Awakened by bed vibrating, can’t rally say how long it had been. Nothing damaged inside or outside the house
  • Mahalapye – Lasted for about 30 seconds. Luckily we woke up quickly and could prepare ourselves just in case.
  • MAHALAPYE – Moderate shaking

  • REAL TIME EARTHQUAKE LISTS – WORLD – REGIONS – COUNTRIES – STATE

    Our Fast Earthquake and Tsunami Twitter Accounts : M4+ALLM5+M6+CHILICANADABRITISH COLUMBIACALIFORNIAOREGONWASHINGTONHAWAIITEXASOKLAHOMA


     

    Other earthquakes in the greater epicenter area

    Strongest earthquakes (since 1900) within a 150 km radius from this earthquake

    zTime goes here

    Yes, I want to receive e-mail earthquake alerts based on the list/area below

    [+] Read before you subscribe – click here

    • The selection of a weak Magnitude, a 24 hour delivery on a worldwide list would result in an avalanche of emails (each earthquake will generate an E-mail). A more selective Magnitude, delivery option and area of your interest will give the best result.
    • As we have decided not to use a control panel or password, the parameters of your subscription can only be changed by canceling your subscription (link in each Email we send). To fine-tune your options, simply generate a new subscription.
    • We will not share your E-mail with anyone else, it will be used only for earthquake alerts.
    • Please make sure that you are white listing our emails as otherwise they may be deviated to your spam folder.
    Delivery frequency

    Immediately
    Every 60 minutes
    Once a day

    E-mails start at Magnitude

    2.5
    3
    3.5
    4
    4.5
    5
    5.5
    6

    Enter your email address:

    var LAST_MAP_URL=””;
    var LAST_SUB_LINK=””;

    var ssid = “t9ftv666dt6f0qrnfqn919hvd2”;
    intvs = new Object;

    jQuery(document).ready(function( $ ) {

    jQuery.fn.center = function ()
    {
    //this.css(“position”,”absolute”);
    this.css(“top”, ((jQuery(window).height() – this.outerHeight()) / 2) + jQuery(window).scrollTop() + “px”);
    this.css(“left”, ((jQuery(window).width() – this.outerWidth()) / 2) + jQuery(window).scrollLeft() + “px”);
    return this;
    }
    jQuery.fn.hcenter = function ()
    {
    //this.css(“position”,”absolute”);
    //this.css(“top”, ((jQuery(window).height() – this.outerHeight()) / 2) + jQuery(window).scrollTop() + “px”);
    this.css(“left”, ((jQuery(window).width() – this.outerWidth()) / 2) + jQuery(window).scrollLeft() + “px”);
    return this;
    }
    jQuery(“#quake_warning_link”).click( function(e)
    {
    e.preventDefault();
    jQuery(“#quake_warning_link span”).html(
    jQuery(“#quake_warning_link span”).text() == “[+]”
    ? “[-]”
    : “[+]”
    )
    jQuery(“#quake_warning_box”).fadeToggle(500);
    })
    jQuery(“.quake_get_id”).live(“click”, function(e)
    {
    e.preventDefault();
    var qid = jQuery(this).attr(“qid”);
    var txt = jQuery(this).text();

    //alert(txt);
    newbox = jQuery(“”);
    newbox
    .val(qid)
    .attr(“txt”, txt)

    jQuery(this).html(
    newbox
    );
    newbox
    .focus()
    .select()
    .blur(function(e) {
    var txt = jQuery(this).attr(“txt”)
    jQuery(this).parent().html(txt);
    jQuery(this).remove();
    })
    }).css(“cursor”, “pointer”)

    jQuery(“#subs_data form”).live(“submit”, function(e)
    {
    e.preventDefault();
    var FORM = this;
    var FORM_DATA = jQuery(this).serialize();
    var xurl2 = “https://earthquake-report.com/wp-content/plugins/quakesos/subscribe.php”;

    jQuery.post
    (
    xurl2,
    FORM_DATA,
    function(data)
    {
    if (data != “OK”)
    msg = “
    “+data+”
    “;
    else
    msg = “
    Successfully subscribed to following feed! Please check your email to activate the subscription.
    “;

    jQuery(“#subs_overlay”).fadeOut();
    msg = jQuery(msg);
    LAST_SUB_LINK
    .after(msg)
    msg.fadeIn(1000, function() { msg.fadeOut(7000, function(){msg.remove();})});

    }
    );

    });
    jQuery(“.quake_subs_link”).live(“click”, function(e)
    {
    e.preventDefault();
    var conditions = jQuery(this).attr(“c”);
    //alert(conditions);
    var ifr = jQuery(”);
    ifr
    .css(“width”, jQuery(“#subs_overlay”).width() + “px”)
    .attr(“src”, “https://localhost”)

    jQuery(“#subs_overlay”)
    .css(“z-index”, 2000)
    jQuery(“#subs_data form input[name=”c”]”)
    .val(conditions)

    jQuery(“#subs_overlay”)
    .hcenter()
    .fadeIn(1000, function() { jQuery(“#subs_data form input[name=”email”]”).focus() })
    LAST_SUB_LINK = jQuery(this);
    })
    .css(“cursor”, “pointer”)
    jQuery(“#subs_data form input[type=”button”]”).live(“click”, function(e)
    {
    jQuery(“#subs_overlay”).fadeOut();
    })
    jQuery(“.map_link”).live(“click”, function(e)
    {
    e.preventDefault();
    var url = jQuery(this).attr(“href”);
    var loc = jQuery(this).attr(“location”);
    var mag = jQuery(this).attr(“magnitude”);
    var lat = jQuery(this).attr(“lat”);
    var long = jQuery(this).attr(“long”);
    jQuery(“#map_title”).html(“” + loc + ” (magnitude: ” + mag + “) GEO: “+lat +”, “+long);

    /*if (LAST_MAP_URL == url)
    {
    jQuery(“#map_overlay”)
    .fadeIn(1000)
    return;
    }*/
    LAST_MAP_URL = url;

    var ifr = jQuery(”);
    ifr
    .css(“width”, jQuery(“#map_overlay”).width() + “px”)
    //.css(“height”, (jQuery(“#map_overlay”).height()-70) + “px”)
    .attr(“src”, “https://maps.google.com/maps?f=q&hl=en&q=”+loc+”, Region@”+lat+”,”+long+”&z=8&output=embed&t=h&iwloc=near&ev=kh&view=map&ie=UTF8&oe=UTF8″)

    jQuery(“#map_overlay”)
    .css(“z-index”, 2000)
    .find(“#map_data”)
    .html(ifr)
    jQuery(“#map_overlay”)
    .hcenter()
    .fadeIn(1000)

    });
    jQuery(“#map_close”).click(function(e)
    {
    jQuery(“#map_overlay”)
    .fadeOut(1000);
    }).css(“cursor”, “pointer”)
    jQuery(“#subs_close”).click(function(e)
    {
    jQuery(“#subs_overlay”)
    .fadeOut(1000);
    }).css(“cursor”, “pointer”)

    });

    //refreshcode

    function quake_auto_refresh(tid,max)
    {
    var iid = tid;//jQuery(“table [iid=”+tid+”]”).attr(“iid”);
    jQuery.get(
    “https://earthquake-report.com/wp-content/plugins/quakesos/latest.php?iid=”+iid+”&mx=”+max,
    function(data)
    {
    if (data == “”)
    return;
    data = data.split(ssid);
    if (data[1] == “” || data[1] == undefined)
    return;
    var newmax = parseInt(data[1]);
    var obj = jQuery(data[0]);
    obj.css(“opacity”, 0.1);
    jQuery(“table[iid=”+iid+”]”)
    .find(“tr”)
    .first()
    .after(obj)
    obj.animate({opacity:1}, 1000);

    clearInterval(intvs[tid].interval);
    intvs[tid].interval = setInterval(“quake_auto_refresh(‘”+tid+”‘, “+newmax+”)”,intvs[tid].time);
    }
    );

    }

    .MMI_help {
    background-color:#eeeeee;
    color:gray;
    text-decoration:none;
    font-size:11px;
    padding:4px;
    }
    .MMI_note {
    display:none;
    font-size:12px;
    padding:15px;
    border:1px dotted gray;
    background-color:#eeeeee;
    }

    SHARE YOUR EARTHQUAKE EXPERIENCE WITH US
    Please enable javascript in your browser in order to submit this form.



    <!–

    –>

    Enter Email (not compulsory)
    Country where you felt the earthquake * Afghanistanaland IslandsAlbaniaAlgeriaAmerican SamoaAndorraAngolaAnguillaAntarcticaAntigua and BarbudaArgentinaArmeniaArubaAustraliaAustriaAzerbaijanBahamasBahrainBangladeshBarbadosBelarusBelgiumBelizeBeninBermudaBhutanBoliviaBosnia and HerzegovinaBotswanaBouvet IslandBrazilBritish Antarctic TerritoryBritish Indian Ocean TerritoryBritish Virgin IslandsBruneiBulgariaBurkina FasoBurundiCambodiaCameroonCanadaCanton and Enderbury IslandsCape VerdeCayman IslandsCentral African RepublicChadChileChinaChristmas IslandCocos [Keeling] IslandsColombiaComorosCongo – BrazzavilleCongo – KinshasaCook IslandsCosta RicaC?te d?IvoireCroatiaCubaCyprusCzech RepublicDenmarkDjiboutiDominicaDominican RepublicDronning Maud LandEast GermanyEcuadorEgyptEl SalvadorEquatorial GuineaEritreaEstoniaEthiopiaFalkland IslandsFaroe IslandsFijiFinlandFranceFrench GuianaFrench PolynesiaFrench Southern and Antarctic TerritoriesFrench Southern TerritoriesGabonGambiaGeorgiaGermanyGhanaGibraltarGreeceGreenlandGrenadaGuadeloupeGuamGuatemalaGuernseyGuineaGuinea-BissauGuyanaHaitiHeard Island and McDonald IslandsHondurasHong Kong SAR ChinaHungaryIcelandIndiaIndonesiaIranIraqIrelandIsle of ManIsraelItalyJamaicaJapanJerseyJohnston IslandJordanKazakhstanKenyaKiribatiKuwaitKyrgyzstanLaosLatviaLebanonLesothoLiberiaLibyaLiechtensteinLithuaniaLuxembourgMacau SAR ChinaMacedoniaMadagascarMalawiMalaysiaMaldivesMaliMaltaMarshall IslandsMartiniqueMauritaniaMauritiusMayotteMetropolitan FranceMexicoMicronesiaMidway IslandsMoldovaMonacoMongoliaMontenegroMontserratMoroccoMozambiqueMyanmar [Burma]NamibiaNauruNepalNetherlandsNetherlands AntillesNeutral ZoneNew CaledoniaNew ZealandNicaraguaNigerNigeriaNiueNorfolk IslandNorth KoreaNorth VietnamNorthern Mariana IslandsNorwayOmanPacific Islands Trust TerritoryPakistanPalauPalestinian TerritoriesPanamaPanama Canal ZonePapua New GuineaParaguayPeople’s Democratic Republic of YemenPeruPhilippinesPitcairn IslandsPolandPortugalPuerto RicoQatarR?unionRomaniaRussiaRwandaSaint Barth?lemySaint HelenaSaint Kitts and NevisSaint LuciaSaint MartinSaint Pierre and MiquelonSaint Vincent and the GrenadinesSamoaSan MarinoS?o Tom? and Pr?ncipeSaudi ArabiaSenegalSerbiaSerbia and MontenegroSeychellesSierra LeoneSingaporeSlovakiaSloveniaSolomon IslandsSomaliaSouth AfricaSouth Georgia and the South Sandwich IslandsSouth KoreaSpainSri LankaSudanSurinameSvalbard and Jan MayenSwazilandSwedenSwitzerlandSyriaTaiwanTajikistanTanzaniaThailandTimor-LesteTogoTokelauTongaTrinidad and TobagoTunisiaTurkeyTurkmenistanTurks and Caicos IslandsTuvaluU.S. Minor Outlying IslandsU.S. Miscellaneous Pacific IslandsU.S. Virgin IslandsUgandaUkraineUnion of Soviet Socialist RepublicsUnited Arab EmiratesUnited KingdomUnited StatesUnknown or Invalid RegionUruguayUzbekistanVanuatuVatican CityVenezuelaVietnamWake IslandWallis and FutunaWestern SaharaYemenZambiaZimbabwe
    City/Village where you felt the earthquake *
    Street or suburb (area) where you felt the earthquake
    Latitude (area) where you felt the earthquake
    Longitude (area) where you felt the earthquake
    Time that you felt the earthquake (local time)
    Shaking Strength *
    MMI II (Very weak shaking) ?

    People :
    Felt by persons at rest, on upper floors or favorably placed.
    MMI III (Weak shaking) ?

    People :
    Felt indoors; hanging objects may swing, vibration similar to passing of light trucks, duration may be estimated, may not be recognized as an earthquake.
    MMI IV (Light shaking) ?

    People :
    Generally noticed indoors but not outside. Light sleepers may be awakened. Vibration may be likened to the passing of heavy traffic, or to the jolt of a heavy object falling or striking the building.
    Fittings :
    Doors and windows rattle. Glassware and crockery rattle. Liquids in open vessels may be slightly disturbed. Standing motorcars may rock.
    Structures :
    Walls and frames of buildings, and partitions and suspended ceilings in commercial buildings, may be heard to creak.
    MMI V (Moderate shaking) ?

    People :
    Generally felt outside, and by almost everyone indoors. Most sleepers awakened. A few people alarmed.
    Fittings :
    Small unstable objects are displaced or upset. Some glassware and crockery may be broken. Hanging pictures knock against the wall. Open doors may swing. Cupboard doors secured by magnetic catches may open. Pendulum clocks stop, start, or change rate.
    Structures :
    Some large display windows cracked. A few earthenware toilet fixtures cracked.
    MMI VI (Strong shaking) ?

    People
    Felt by all. People and animals alarmed. Many run outside. Difficulty experienced in walking steadily.
    Fittings :
    Objects fall from shelves. Pictures fall from walls. Some furniture moved on smooth floors, some unsecured free-standing fireplaces moved. Glassware and crockery broken. Very unstable furniture overturned. Small church and school bells ring. Appliances move on bench or table tops. Filing cabinets or “easy glide” drawers may open (or shut).
    Structures :
    Slight damage to buildings with low standard. Some stucco or cement plaster falls. Large display windows broken. Damage to a few weak domestic chimneys, some may fall.
    Environment :
    Trees and bushes shake, or are heard to rustle. Loose material may be dislodged from sloping ground, e.g. existing slides, talus slopes, shingle slides.
    MMI VII (Very strong shaking) ?

    People
    General alarm. Difficulty experienced in standing. Noticed by motorcar drivers who may stop.
    Fittings :
    Large bells ring. Furniture moves on smooth floors, may move on carpeted floors. Substantial damage to fragile contents of buildings.
    Structures :
    Unreinforced stone and brick walls cracked. Low standard buildings cracked with some minor masonry falls. A few instances of damage to buildings of ordinary workmanship. Unbraced parapets, unbraced brick gables, and architectural ornaments fall. Roofing tiles, especially ridge tiles may be dislodged. Many unreinforced domestic chimneys damaged, often falling from roof-line. Water tanks Type I burst. A few instances of damage to brick veneers and plaster or cement-based linings. Unrestrained water cylinders (hot-water cylinders) may move and leak. Some common windows cracked. Suspended ceilings damaged.
    Environment :
    Water made turbid by stirred up mud. Small slides such as falls of sand and gravel banks, and small rock-falls from steep slopes and cuttings. Instances of settlement of unconsolidated or wet, or weak soils. Some fine cracks appear in sloping ground. A few instances of liquefaction (i.e. small water and sand ejections).
    MMI VIII (Severe shaking) ?

    People
    Alarm may approach panic. Steering of motorcars greatly affected.

    Structures :
    Low standard buildings heavily damaged, some collapse. ordinary workmanship buildings damaged, some with partial collapse. Reinforced masonry or concrete buildings damaged in some cases. A few instances of damage to buildings and bridges designed and built to resist earthquakes. Monuments and pre-1976 elevated tanks and factory stacks twisted or brought down. Some pre-1965 infill masonry panels damaged. A few post-1980 brick veneers damaged. Decayed timber piles of houses damaged. Houses not secured to foundations may move. Most unreinforced domestic chimneys damaged, some below roof-line, many brought down.

    Environment :
    Cracks appear on steep slopes and in wet ground. Small to moderate slides in roadside cuttings and unsupported excavations. Small water and sand ejections and localized lateral spreading adjacent to streams, canals, lakes, etc.

    MMI IX (Violent shaking) ?

    Structures
    Many low standard buildings destroyed. Ordinary workmanship buildings heavily damaged, some collapse. Reinforced masonry or concrete buildings damaged, some with partial collapse. Buildings and bridges designed and built to resist earthquakes damaged in some cases, some with flexible frames seriously damaged. Damage or permanent distortion to some buildings and bridges, designed and built to normal use standards. Houses not secured to foundations shifted off. Brick veneers fall and expose frames.

    Environment :
    Cracking of ground conspicuous. Landsliding general on steep slopes. Liquefaction effects intensified and more widespread, with large lateral spreading and flow sliding adjacent to streams, canals, lakes, etc.

    Tell us your experience and how many seconds the shaking lasted + let us know if your property has been damaged (even slight damage). (max. 500 characters)

    * mandatory fields <!–

     

    Security check, enter >

    –>
    characters allowed
    characters typed extra


    var PREV_MII_Help = false;
    var PREV_v = false;
    var LANG_count_text = jQuery(“#quake_c_count”).text();
    var LANG_extra_text = jQuery(“#quake_c_extra”).text();

    jQuery(document).ready(function( $ ) {

    var captcha_url = “https://earthquake-report.com/wp-content/plugins/quakesos”;
    var xurl = “https://earthquake-report.com/wp-content/plugins/quakesos/experience.php”;
    var url1 = jQuery(“.quake_felt”).first().attr(“href”);
    jQuery(“#qid”).val(url1);
    jQuery(“#comments”).keyup(function(e) {
    var len = jQuery(this).val().trim().length;
    if (len<=500)
    jQuery("#quake_c_count")
    .html((500-len)+" "+LANG_count_text)
    .css("color","blue")
    .show()
    else
    jQuery("#quake_c_count")
    .html((len-500)+" "+LANG_extra_text)
    .css("color","red")
    .show()
    });
    jQuery(".MMI_help").click(function(e) {
    e.preventDefault();

    if (PREV_MII_Help)
    {
    PREV_MII_Help.fadeOut(300);
    }
    var h = jQuery(this).next();
    h
    .css("position","absolute")
    .css("width", "500px")
    .css("left", (parseInt(jQuery(this).css("left"))+50) + "px")
    .css("top", (parseInt(jQuery(this).css("top"))+50) + "px")
    //.hcenter()

    if (PREV_MII_Help && h.html() == PREV_v)
    {
    PREV_MII_Help.fadeOut(300);
    PREV_MII_Help = false;
    PREV_v = false;
    return;
    }
    PREV_MII_Help = h;
    PREV_v = h.html();
    h.fadeIn(300)
    });

    jQuery("#quake_experience").live("submit", function(e)
    {
    e.preventDefault();
    var FORM = this;
    var FORM_DATA = jQuery(this).serialize();

    jQuery("#exp_submit_button").attr("disabled", "true");

    window.setTimeout(function(){
    jQuery("#exp_submit_button").removeAttr("disabled");
    },1000);

    jQuery.post
    (
    xurl,
    FORM_DATA,
    function(data)
    {
    //alert(data);;
    //return
    jQuery("#quake_c_count").html("");
    /*if (data != "Invalid / empty security code entered! Please try again")
    jQuery("#form_overlay")
    .fadeOut(1000);
    */
    if (data != "")
    alert(data);
    else
    {
    jQuery("#comments,#captcha,#location,#local_eq_time").val("");
    jQuery("#form_overlay #qid").val("-1");
    jQuery('input[name="experience"]').removeAttr("checked");
    jQuery("#quake_success").html("
    Earthquake-Report.com appreciates sharing your experience with our readers!”);
    jQuery(“html, body”).animate({ scrollTop: $(“#form_overlay”).offset().top }, 100);
    }
    /*
    if (data == “Invalid / empty security code entered! Please try again”)
    {
    jQuery(“#captcha_img”)
    .attr(“src”, captcha_url + “/captcha.php?” + Date());
    jQuery(“#captcha”)
    .val(“”)
    .focus()
    }
    */
    }
    );

    });
    jQuery(“.quake_felt”).live(“click”, function(e)
    {
    e.preventDefault();
    var url = jQuery(this).attr(“href”);
    var mag = jQuery(this).attr(“mag”);
    var tit = jQuery(this).attr(“title”);
    jQuery(“#quake_title”).html(tit + ” – M ” + mag);

    //jQuery(“#form_overlay”)
    //.css(“z-index”, 2000)
    //.find(“#quake_experience”)

    jQuery(“#qid”).val(url);
    //jQuery(“#form_overlay”)
    //.hcenter()
    //.fadeIn(1000)
    jQuery(“#comments,#captcha”)//,#email
    .val(“”);
    //jQuery(“#email”)
    //.focus();

    //jQuery(“#captcha_img”)
    // .attr(“src”, captcha_url + “/captcha.php?” + Date());
    /*jQuery(“#captcha_reload”)
    .attr(“src”, captcha_url + “/reload.png”)
    .attr(“alt”, “Reload security captcha”)
    .attr(“title”, “Reload security captcha”)
    .css(“cursor”, “pointer”)
    .click(function(e) {
    jQuery(“#captcha_img”)
    .attr(“src”, captcha_url + “/captcha.php?” + Date());
    });
    */
    jQuery(“html, body”).animate({ scrollTop: $(“#form_overlay”).offset().top }, 500,
    function() {
    var fld = “#email”;
    if (jQuery(fld).val() != “”)
    fld = “#form_overlay input[name=”location”]”;
    jQuery(fld)
    .focus()
    .select()
    }
    );
    });
    jQuery(“#experience_close”).click(function(e)
    {
    jQuery(“#form_overlay”)
    .fadeOut(1000);
    }).css(“cursor”, “pointer”)

    });

    source

    Click on a tab to select how you'd like to leave your comment

    Leave a Reply

    Your email address will not be published. Required fields are marked *