![]() |
Blink BBCode- The Ultimate BB Code!
1 Attachment(s)
Back in the day Netscape made the <blink> tag, and it was good...
But then all the hater's rose up and effectively destroyed the humble <blink> tag in an attempt to strip it of its pure awesomeness and erase any trace of its existence from history. This can not be allowed to happen so I present the BLINK BB Code... There is another Blink BB Code for 3.7 but problems have been reported using it in 3.8 while this one works. You also don't need to disable other bbcode or smilies like in the original version. New!!! - See Post #2 for a version that works in all major web browsers. It is currently working in IE, Firefox, and Opera. It is not working in Safari and Chrome, for my site that is less than 12% of all traffic so I can deal with some people not seeing this amazing tag... for them text just won't blink, there is no error. It requires JavaScript to be active. This is based off of code found here and their copyright remains intact. I have made some additions for increased compatibility. Demo: here. Add a new BBCode Title: Blink BB Code Tag Name: blink Replacement: Code:
<SCRIPT> Description: This code makes text Blink in IE, FF, and Opera Use Option: No Button Image: (optional) https://vborg.vbsupport.ru/external/2010/07/7.jpg Remove Tag If Empty: Yes All Disable Options: No Unlike the other blink bbcode you can have line-breaks in this code... [blink] line 1 line 2 [/blink] works just as well as [blink]line 1. line 2.[/blink] Please mark as installed if you use this. :) |
1 Attachment(s)
I have a new version that works in ALL major browsers including: IE / Firefox / Chrome / Opera and Safari! This is a little more complicated to implement so if you're happy with the existing tag there is no NEED to upgrade, however this new version works on more (all) browsers.
It 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--> Step 3. Make a new BB Code using the instructions in the first post or edit your existing blink bb code. Use the following replacement code instead of the replacement in the first post. (much shorter): Code:
<span class="blink">{param}</span> Note: Updated to latest jquery release 1.4.2 on Aug 16, 2010 |
Why was my post deleted here?
|
Quote:
Anyway, Boofo had provided code that would link to the latest jquery javascript from their own servers to save you from having to upload 1 file and never worry about it being out of date... That is certainly possible although I usually prefer to host all files locally if at all possible so I'm not dependent on someone else's servers, no matter how reliable they are. |
Quote:
|
Ah, ok, so I did. My bad. Sorry about that.
I do agree that maybe hosting the file yourself is a better idea as I use that same file for another fix on my site. The latest version is 1.42 I believe so it might be a good idea to grab it from that link. ;) |
Thanks, I have updated the post to the latest release, 1.4.2
|
I installed this and it is working great, thank you. I just have once concern, if you change the color of text with bbcode, the the blink bbcode doesnt work.
I do have remove tag is empty enabled and the rest disabled. |
That is unusual... which version are you using, the original or the jquery version?
I tested this on my site and it is working with the color code both inside or outside of the [blink] tag. You can see it here: http://www.juot.net/forums/showthread.php?t=50044 If you could also give me a link to a post where it's not working on your forum I'll take a look. |
this is cool. thanks. but does not seem to work on the most latest Firefox. latest IE=Works. Previous version FF on my XP=Works.
V3.8.7. cheers. |
All times are GMT. The time now is 05:14 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|