Popup on enter BBCode

Ordinary BBCode Database
BBCodes that need nothing else than installation through ACP

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

Re: Popup on enter BBCode

Post by dsonline »

Image

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?

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.

Re: Popup on enter BBCode

Post by wide »

Ok,
thank you.