MyBB Community Forums

Full Version: [MyCode]Blink MyCode
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Turkish
http://destek.mybb.com.tr/mybb-yanip-son...onusu.html

English

Author:Relampago

Title
Blink MyCode

Short Description
[blink2][/blink2]

Regular Expression

\[blink2\](.*?)\[/blink2\]

Replacement

<script type="text/javascript">
        <!--
        function doBlink() {
        var b = document.all.tags("BLINK")
        for ( i=0; i < b.length; i++)b[i].style.visibility = (b[i].style.visibility
        == "" )? "hidden" : "" }
        function startBlink() {
        if (document.all)setInterval("doBlink()",800)}
        window.onload = startBlink;
        //-->
        </script>
<blink>$1</blink>

Enabled?

Yes

Save...

Every word between [blink2][/blink2] tags blink
Thanks...
any screen shot? Wink
First off, many people abused blinking text in the 1990s. it was misused so much that the W3C deprecated the tag in XHTML and HTML5. Now you want to bring it back, but do so using JavaScript. You should use the text-decoration: blink CSS rule. Unfortunately it is only supported by Opera and Mozilla browsers.
(2011-05-01, 12:21 AM)laie_techie Wrote: [ -> ]Unfortunately it is only supported by Opera and Mozilla browsers.

Which is probably why he used JS in the first place..
Blink it s a site or an effect?