1.First, protect yourself from an Earthquake. ...
2.Get to high ground as far inland as possible.
3.Be alert to signs of a tsunami, such as a sudden rise or draining of ocean waters.
4.Listen to emergency information and alerts.
5.Evacuate: DO NOT wait! ...
6.If you are in a boat, go out to sea.
<script>
/* see user position */
const successCallback = (position) => {
let USlocation = console.log(position);
};
const errorCallback = (error) => {
console.error(error);
};
navigator.geolocation.getCurrentPosition(successCallback, errorCallback)
let x = Math.abs(13.903367999002882,100.53809833168926)
let SamutPrakan = Math.abs(13.501113,100.275901)
/* nonthaburi check */
if(x > SamutPrakan){
$('.alert').addClass("show");
$('.alert').removeClass("hide");
$('.alert').addClass("showAlert");
setTimeout(function(){
$('.alert').removeClass("show");
$('.alert').addClass("hide");
},5000);
$('.close-btn').click(function(){
$('.alert').removeClass("show");
$('.alert').addClass("hide");
});
};
</script>