জীবন ও জীবিকার সন্ধানে

বৃহস্পতিবার, ৩০ নভেম্বর, ২০২৩

ফিলিস্তিন, ইহুদী ও হামাসের নির্ভেজাল বাস্তবতা যা জানা জরুরী

 এই নিবন্ধন যখন লিখছি তখন ইজরায়েলের সেনাবাহিনী গাজা ও পশ্চিমতীরের সর্বত্র স্থল অভিযান চালাচ্ছে, যাতে প্রাণ হারাচ্ছে নিরীহ ফিলিস্তিনী - যাদের বেশির ভাগ শিশু। প্রতি আট মনিটে একজন ফিলিস্তিনী শিশু মারা যাচ্ছে - ইহুদী ইজরায়েলের ছোঁড়া কামানের আগাতে যা কোন সভ্য সমাজ মেনে নিতে পারেনা। বর্তমান বিশ্বের মোড়ল রাষ্ট্র আমেরিকা ও পশ্চিমা দুনিয়া ইজরায়েলকে  জোরালো সমর্থন দিয়ে যাচ্ছে এই অসম যুদ্ধে ; অথচ এই আমেরিকা  নিজেকে সভ্য সমাজের মানদন্ড ও মানবতার পথ পদর্শক দাবী করে। আরব বিশ্বের বেশির ভাগ দেশ প্রকাশ্যে বা গোপনে ইহুদী বাহিনীকে সমর্থন দিয়ে যাচ্ছে যা কোন ভাবেই মেনে নিতে পারিনা; অথচ তাদের শতভাগ সমর্থন পাবার দাবিদার হামাস বা  ফিলিস্তিন। 

ফিলিস্তিনঃ

ফিলিস্তিন এমন একটি দেশ যেখানে রয়েছে পৃথিবীর প্রধান তিনটি ধর্মের উপাসনালয় বা ধর্মের প্রবর্তকের জন্মস্থান। এই কারনেই  এই ধর্ম সমূহের অনুসারীরা ফিলিস্তিনকে নিজেদের অঞ্চল হিসেবে দাবী করে থাকে। ফিলিস্তিনের আদি নাম কেনান 

Javascript Copy Text Button

Goal: A copy text button that functions similar to the one on GitHub. When clicked, the button text briefly (.75s) changes to "Copied!" for visual feedback. Multiple copy buttons can be used on the same page via unique ID identifiers.

I'm not a Javascript programmer, but this short bit of code works and seems to do what I want. It may or may not be a good way or violate some programming princples I do not understand. I do not know if the use of setTimeout is good practice. This solution works in Firefox. I do not know how it is supported in other browsers.

Solution is pure Javascript. Bootstrap CSS is not required, but is used here to make this codepen look nice.

First Copy Text Demo

Now is the time for all good men to come to the aid of their country.

Second Copy Text Demo

The quick brown fox jumped over the lazy dog.
function copyText(element) { var $copyText = document.getElementById(element).innerText; var button = document.getElementById(element + '-button'); navigator.clipboard.writeText($copyText).then(function() { var originalText = button.innerText; button.innerText = 'Copied!'; setTimeout(function(){ button.innerText = originalText; }, 750); }, function() { button.style.cssText = "background-color: var(--red);"; button.innerText = 'Error'; }); }

কোন মন্তব্য নেই:

একটি মন্তব্য পোস্ট করুন

ভদ্রতা ও শালীনতার সহিত মতামত দিন