MyBB Community Forums
[MyCode]Blink MyCode - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Resources (https://community.mybb.com/forum-8.html)
+--- Forum: MyCodes (https://community.mybb.com/forum-117.html)
+--- Thread: [MyCode]Blink MyCode (/thread-93297.html)



[MyCode]Blink MyCode - Relampago - 2011-04-29

Turkish
http://destek.mybb.com.tr/mybb-yanip-sonen-yazi-mykod-konusu.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...



RE: [MyCode]Blink MyCode - FBI - 2011-04-29

any screen shot? Wink


RE: [MyCode]Blink MyCode - laie_techie - 2011-05-01

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.


RE: [MyCode]Blink MyCode - pyridine - 2011-05-01

(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..


RE: [MyCode]Blink MyCode - caygri - 2011-06-28

Blink it s a site or an effect?