• Important! If you attempt to register and do not get an email within 5 minutes please check your spam box. This is especially true for Microsoft owned domains like Hotmail, Outlook, and Live. If these do not work please consider Gmail. Yahoo, or even AOL email which works fine.

blink BB Code

BirdOPrey5

Staff member
Administrator
VIP
[NOBB][blink][/NOBB]

[blink]This is blinking text.[/blink] It now works in all major browsers!!!

To use this simply put text inside [NOBB][blink] and [/blink][/NOBB] tags.

[NOBB][blink]Example: :pirate:[/blink][/NOBB] =
[blink]Example: :pirate:[/blink]

You may need to refresh the page to see the blinking effect after submitting your post.

Note: BLINK will not work in the "JUOT Express" styles because the JavaScript required will not be downloaded. For JUOT Express, and anyone blocking JavaScript text will appear as normal (not-blinking).
 

BirdOPrey5

Staff member
Administrator
VIP
This makes use of the jquery javascript library.

Step 1. Download the attachment, unzip, and upload the 2 .js files it to your /clientscript/ directory. (This may be under /forums/clientscript/ or any other directory you have your forums installed in.)

Step 2. Admin CP -> Styles and Templates -> Style Manger -> Choose your style(s) -> All Style Options: Edit your header include template and add the following code at the bottom of it:
Code:
<!-- Start Blinking Text jquery Script-->
<script src="/forums/clientscript/jquery-1.4.2.min.js" language="javascript" type="text/javascript"></script>
<script src="/forums/clientscript/jquery-blink.js" language="javscript" type="text/javascript"></script>
<script type="text/javascript" language="javascript">
$(document).ready(function()
{
	$('.blink').blink();
});
</script>
<!-- End Blinking Text jquery Script-->
Make sure you change the file paths to the two .js files to match your directory setup. For me it's "/forums/clientscript/filename.js" If your forums are in your web root your location may be just "/clientscript/filename.js".


3. Add a new BBCode

Title: Blink
BB Code Tag Name: blink
Replacement:
Code:
<span class="blink">{param}</span>
Example: [NOBB][blink]test blink[/blink][/NOBB]
Description: This code makes text Blink in IE, FF, and Opera
Use Option: No
Button Image: (optional) attached.
Remove Tag If Empty: Yes
All Disable Options: No

You can have line-breaks in this code...
[NOBB][blink]
line 1
line 2
[/blink]
works just as well as: [blink]line 1. line 2.[/blink][/NOBB]
 

Attachments

Top