Join Our Telegram Channel Contact Us Join Now!

ব্লগারে কিভাবে (Text Select Disable) করবেন ?

Text Select Disable

ব্লগারে (Text Select Disable) করার পদ্ধতিঃ


ধাপ-১ঃ প্রথমে ব্লগার ড্যাশবোর্ডে থেকে লেআউটে (Layout) যান।

Dashboard Sidebar

ধাপ-২ঃ নিচের কোড গুলো (Code) কপি (Copy) করে একটি নতুন এইচটিএমএল উইজেটে (New Html Widget) যোগ করুন।

Add a Gadget     Html/Javascript

<script type="text/javascript">

/***********************************************
* Disable select-text script- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

//form tags to omit in NS6+:
var omitformtags=["input", "textarea", "select"]

omitformtags=omitformtags.join("|")

function disableselect(e){
if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
return false
}

function reEnable(){
return true
}

if (typeof document.onselectstart!="undefined")
document.onselectstart=new Function ("return false")
else{
document.onmousedown=disableselect
document.onmouseup=reEnable
}

</script>
ধাপ-৩ঃ এবার উইজেট সেভ (Save) করুন।
এখন আপনার ব্লগে দেখুন টেক্সট সিলেক্ট (Text Select Disable) হয়ে গেসে।

Rate this article

Loading...

Post a Comment

Cookies Consent

This website uses cookies to ensure you get the best experience on our website.

Cookies Policy

We employ the use of cookies. By accessing Lantro UI, you agreed to use cookies in agreement with the Lantro UI's Privacy Policy.

Most interactive websites use cookies to let us retrieve the user’s details for each visit. Cookies are used by our website to enable the functionality of certain areas to make it easier for people visiting our website. Some of our affiliate/advertising partners may also use cookies.