// The Diary
Homepage Me Tutorials Affiliates

Tuan Tanah


Ameerah Tasleem binti Ahmad Rahimi
19 years old
Dream to be young always >.<
Be nice and don't mess up with me
Wanna be a responsible daughter and zaujah :)


Salam Perkenalan


Press once only
Exchange links are accepted :)
Do leave your link
No anons
Ads are prohibited
No harsh words


Credits

Template & Skin by : Husnaa
Credit also to : Wani | WHI | C4U | Una | Iqa | Lyene | Tieqa

Them

Tutorial : Disable Highlight
Friday, 2 March 2012 | 22:00



aku malas betul nak buat intro.. ngeh3.. nanti aku rajin, aku buat lah okey.. aku tengah dalam kegawatan ekonomi ni.. haha! actually aku dalam minggu exam ni.. so, sebab tu ah dah lama tak online.. maklum la calon PMR -.-


okey, to the main point.. apa fungsi disable highlight ni sebenarnya? erm, kebanyakan orang yg guna ni utk elakkan entri dicopy paste..


Dashboard > Design > Add Gadget > HTML/Java script


sila paste code di bawah :


<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>
Boleh preview and save.. okey, aku nak study sejarah.. subjek paling lemah dalam hidup.. :D

Labels:



|