Page 1 of 1

Popup on enter BBCode

Posted: 06 Mar 2010, 08:58
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

Posted: 05 Apr 2010, 05:50
by dsonline
Image

Re: Popup on enter BBCode

Posted: 08 Apr 2010, 10:30
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

Posted: 08 Apr 2010, 10:41
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

Posted: 08 Apr 2010, 10:43
by wide
Ok,
thank you.