Popup on enter BBCode

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

Popup on enter BBCode

Post by BBCode Bot »

[pop]Click OK to confirm that you are stupid [/pop]Popup on enter BBCode

Author: TechnoTriz
Description: The Popup on enter BBCode displays a little box with text of your choice when you enter a topic (note no punctuations)
Image

BBCode:

Code: Select all

[pop]{INTTEXT}[/pop]
HTML:

Code: Select all

<script type="text/javascript">
alert("{INTTEXT}")
</script>
Helpline:

Code: Select all

Pop: [pop]any text[/pop]
Example:

Code: Select all

[pop]Click OK to confirm that you are stupid[/pop]
Demo:
This topic
dsonline
BBCoder I
BBCoder I
Posts: 3
Joined: 24 Mar 2010, 11:27

Re: Popup on enter BBCode

Post by dsonline »

Image
wide
BBCoder II
BBCoder II
Posts: 16
Joined: 15 Mar 2010, 12:01

Re: Popup on enter BBCode

Post by wide »

Nice code!
Thanx!

2 remarks:
1.When I put a ' or a ,in the text area,the pop up won't work for me.
2.Is there a limit to the lenght of the text?
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: Popup on enter BBCode

Post by Stoker »

It is because it is javascript, it limits the use of those signs.
I think you only can use letters, numbers and spaces.

Dont know about the length, but it should be easy for you to test.
Board rules! No PM support
wide
BBCoder II
BBCoder II
Posts: 16
Joined: 15 Mar 2010, 12:01

Re: Popup on enter BBCode

Post by wide »

Ok,
thank you.
Locked