NoSelect BBCode

Ordinary BBCode Database
BBCodes that need nothing else than installation through ACP
There is no support here! Only Read Access!
User avatar
BBCode Bot
BBCoder IV
BBCoder IV
Posts: 239
Joined: 04 Mar 2010, 13:04
Location: bbcode table

NoSelect BBCode

Post by BBCode Bot »

NoSelect BBCode

Author: djgalix
Description: With the NoSelect BBCode You can't select the text.
Working in Internet Explorer and Firefox.
Image

BBCode:

Code: Select all

[NoSelect][/NoSelect]
HTML:

Code: Select all

<script type="text/javascript">

function disableselect(e){
return false
}

function reEnable(){
return true
}

//if IE4+
document.onselectstart=new Function ("return false")

//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script>
Helpline:

Code: Select all

[NoSelect][/NoSelect]
Example:

Code: Select all

[NoSelect][/NoSelect]
Demo:
Try to select the text, You cant :)
Choose "Select all" in the codeboxes to get the code.
[noselect][/noselect]
Gulf Knight
BBCoder II
BBCoder II
Posts: 10
Joined: 24 Jun 2010, 22:53

Re: NoSelect BBCode

Post by Gulf Knight »

Please can you send me the code I can't copy it I have tried to do the select all but I didn't work email is
-email removed-
Last edited by cisco007 on 25 Jun 2010, 21:25, edited 1 time in total.
Reason: removed email!
User avatar
Stoker
Site Admin
Site Admin
Posts: 3543
Joined: 12 May 2008, 21:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark

Re: NoSelect BBCode

Post by Stoker »

You can quote the post and then grab the code.
Board rules! No PM support
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 16:14
Location: Don't really know!

Re: NoSelect BBCode

Post by cisco007 »

just like the post says, use the "Select All" to copy code working ok for me!
Gulf Knight
BBCoder II
BBCoder II
Posts: 10
Joined: 24 Jun 2010, 22:53

Re: NoSelect BBCode

Post by Gulf Knight »

Thanks