Back to vBulletin 4.x Add-ons

Blink BBCode- The Ultimate BB Code!
Mod Version: 1.00, by BirdOPrey5

vB Version: 4.0.x Rating: (15 votes - 4.60 average) Installs: 61
Released: 30 Jul 2010 Last Update: Never Downloads: 87
Not Supported Re-usable Code Translations  

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 in 3.8 and 4. You also don't need to disable other bbcode or smilies like in the original version.

NEW!!! - See Post #3 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 http://www.siteexperts.com/tips/html/ts12/page2.asp and their copyright remains intact. I have made some additions for increased compatibility.

Demo: http://www.juot.net/forums/showthread.php?p=826483#post826483

Add a new BBCode

Title: Blink
BB Code Tag Name: blink
Replacement:
Code:
<SCRIPT>
// Before you reuse this script you may want to have your head examined
// 
// Copyright 1999 InsideDHTML.com, LLC.  
function doBlink() {
  // Blink, Blink, Blink...
  var blink = document.all.tags("BLINK")
  for (var i=0; i < blink.length; i++)
    blink[i].style.visibility = blink[i].style.visibility == "" ? "hidden" : "" 
}
function startBlink() {
  // Make sure it is IE4
  if (document.all)
    setInterval("doBlink()",1000)
}
window.onload = startBlink;
</SCRIPT>
<blink>{param}</blink>
Example: [blink]test blink[/blink]
Description: This code makes text Blink in IE, FF, and Opera
Use Option: No
Button Image: (optional)
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.
Check My Profile for other BB Code enhancements. They work on all versions.

Download

No files for download.

Similar Mods

BB Code Enhancements Blink BBCode- The Ultimate BB Code! vBulletin 3.8 Add-ons
BB Code Enhancements BB Code Blink - working in Firefox, Internet Explorer and Opera vBulletin 3.7 Add-ons

vblts.ru supports vBulletin®, 2022-2024