Back to vBulletin 3.8 Add-ons

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

vB Version: 3.8.x Rating: (4 votes - 5.00 average) Installs: 23
Released: 07 Jul 2010 Last Update: Never Downloads: 21
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. 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 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.

Download

No files for download.

Screenshots

Similar Mods

BB Code Enhancements BB Code Blink - working in Firefox, Internet Explorer and Opera vBulletin 3.7 Add-ons

vblts.ru supports vBulletin®, 2022-2024