Stefan Ernst

Create your own ROFL COPTER purely using Javascript and CSS!

ROFLCOPTER.HTML
I've always hated those still and animated graphical versions of the text ROFLCOPTER, so I decided to make my own one, text, Javascript and CSS based:

ROFL:ROFL:LOL:ROFL:ROFL
           |
  L   /---------
 LOL===       []\
  L    \         \
        \_________\
          |     |
       -------------/

This is a quick and dirty little preformatted version that should easily go into your blog post, website or whereever you want it. It neither is 100% elegant nor will it make DOM/standards nazis cheer in amazement.

It is, however, very lightweight and simple, will integrate into your site style easily and doesn't require you to fiddle with your JS and/or CSS files, it is based on 2 little JS functions calling themselves turning visible/hide the "moving" parts of the whirlybird.

This is the code:
<!--// Supercool ROFLCOPTER snippet by Stefan Ernst ( http://www.thxbye.de/ ) - YAY WE BEGIN //-->
<pre class="roflcopter">
<span id="rofl_main_left">ROFL:ROFL</span>:LOL:<span id="rofl_main_right">ROFL:ROFL</span>
           |
  <span id="rofl_small_top">L</span>   /---------
 <span id="rofl_small_left">L</span>O<span id="rofl_small_right">L</span>===       []\
  <span id="rofl_small_bottom">L</span>    \         \
        \_________\
          |     |
       -------------/
</pre>
<script type="text/javascript">
    //<![CDATA[
        function rofl_chop_left () {
            document.getElementById('rofl_main_left').style.visibility = 'visible';
            document.getElementById('rofl_main_right').style.visibility = 'hidden';            
            document.getElementById('rofl_small_right').style.visibility = 'hidden';
            document.getElementById('rofl_small_left').style.visibility = 'hidden';
            document.getElementById('rofl_small_top').style.visibility = 'visible';
            document.getElementById('rofl_small_bottom').style.visibility = 'visible';
            setTimeout('rofl_chop_right()', 125);
        }

        function rofl_chop_right () {
            document.getElementById('rofl_main_left').style.visibility = 'hidden';
            document.getElementById('rofl_main_right').style.visibility = 'visible';
            document.getElementById('rofl_small_right').style.visibility = 'visible';
            document.getElementById('rofl_small_left').style.visibility = 'visible';
            document.getElementById('rofl_small_top').style.visibility = 'hidden';
            document.getElementById('rofl_small_bottom').style.visibility = 'hidden'; 
            setTimeout('rofl_chop_left()', 125);
        }

        rofl_chop_left();
        
    //]]>
</script>
<!--// Supercool ROFLCOPTER snippet by Stefan Ernst ( http://www.thxbye.de/ ) - YAY THE END //-->

You can manually style the font size/colour and more by changing the css class of the <pre>-tag:
pre.roflcopter {
	color: #ff00ff;
	font-weight: bold;
	line-height: 1em;
	font-size: 18px;
}
Beware though, that non fixed width fonts will most likely mess up the ROFLCOPTER!

Feel free to use it on your site or whereever you might want it. I wouldn't mind though if you left the little credit comment intact. Thanks and enjoy. :)

Comments

ROFL:ROFL:LOL:ROFL:ROFL

ROFL:ROFL:LOL:ROFL:ROFL
           |
  L   /---------
 LOL===       []\
  L    \         \
        \_________\
          |     |
       -------------/

//

? ? ??????? ??????? ?

? ? ??????? ??????? ? ?
?? ?? ? ? ? ? ? ?
? ? ? ? ? ? ? ? ? ?
? ? ? ??????? ??????? ??
? ? ? ? ?? ? ?
? ? ? ? ? ? ? ?
? ? ? ? ? ? ? ?
? ? ? ? ? ? ? ?

ROFL ROFL ROFL LOL ROFL ROFL

                  ROFL ROFL ROFL LOL ROFL ROFL ROFL
           L         _____________/\______
           L        /                  [] \
         LLOLL-----/        ROFL Copter    \
           L      /_________________________\==== ..............................>
           L            /            \           
                 \----------------------------/

ROFL:ROFL:LOL:ROFL:ROFL

ROFL:ROFL:LOL:ROFL:ROFL
           |
  L   /---------
 LOL===       []\
  L    \         \
        \_________\
          |     |
       -------------/

//

ROFL:ROFL:LOL:ROFL:ROFL

ROFL:ROFL:LOL:ROFL:ROFL
           |
  L   /---------
 LOL===       []\
  L    \         \
        \_________\
          |     |
       -------------/

//

ROFL:ROFL:LOL:ROFL:ROFL

ROFL:ROFL:LOL:ROFL:ROFL
           |
  L   /---------
 LOL===       []\
  L    \         \
        \_________\
          |     |
       -------------/

//

You can manually style the font size/colour and more by changing the css class of the

-tag:
pre.roflcopter {
	color: #ff00ff;
	font-weight: bold;
	line-height: 1em;
	font-size: 18px;
}

ROFL:ROFL:LOL:ROFL:ROFL

ROFL:ROFL:LOL:ROFL:ROFL
|
L /---------
LOL=== []\
L \ \
\_________\
| |
-------------/

ROFL:ROFL:LOL:ROFL:ROFL

ROFL:ROFL:LOL:ROFL:ROFL
|
L /---------
LOL=== []\
L \ \
\_________\
| |
-------------/

ROFL:ROFL:LOL:ROFL:ROFL

ROFL:ROFL:LOL:ROFL:ROFL
           |
  L   /---------
 LOL===       []\
  L    \         \
        \_________\
          |     |
       -------------/

//

awesome comments. made me

awesome comments. made me laugh.

ROFL:ROFL:LOL:ROFL:ROFL

ROFL:ROFL:LOL:ROFL:ROFL
           |
  L   /---------
 LOL===       []\
  L    \         \
        \_________\
          |     |
       -------------/

//

ROFL:ROFL:LOL:ROFL:ROFL

ROFL:ROFL:LOL:ROFL:ROFL
           |
  L   /---------
 LOL===       []\
  L    \         \
        \_________\
          |     |
       -------------/

//

ROFL:ROFL:LOL:ROFL:ROFL

ROFL:ROFL:LOL:ROFL:ROFL
           |
  L   /---------
 LOL===       []\
  L    \         \
        \_________\
          |     |
       -------------/

//

ROFL:ROFL:LOL:ROFL:ROFL

ROFL:ROFL:LOL:ROFL:ROFL
           |
  L   /---------
 LOL===       []\
  L    \         \
        \_________\
          |     |
       -------------/

//

Wow, cool!

Wow, cool!

Cool. =))

Cool. =))

ROFL:ROFL:LOL:ROFL:ROFL

ROFL:ROFL:LOL:ROFL:ROFL
           |
  L   /---------
 LOL===       []\
  L    \         \
        \_________\
          |     |
       -------------/

//

ROFL:ROFL:LOL:ROFL:ROFL

ROFL:ROFL:LOL:ROFL:ROFL
|
L /---------
LOL=== []\
L \ \
\_________\
| |
-------------/

ROFL:ROFL:LOL:ROFL:ROFL

ROFL:ROFL:LOL:ROFL:ROFL
           |
  L   /---------
 LOL===       []\
  L    \         \
        \_________\
          |     |
       -------------/

//

ROFL:ROFL:LOL:ROFL:ROFL

ROFL:ROFL:LOL:ROFL:ROFL
           |
  L   /---------
 LOL===       []\
  L    \         \
        \_________\
          |     |
       -------------/

//

ROFL:ROFL:LOL:ROFL:ROFL

ROFL:ROFL:LOL:ROFL:ROFL
           |
  L   /---------
 LOL===       []\
  L    \         \
        \_________\
          |     |
       -------------/

//

ROFL:ROFL:LOL:ROFL:ROFL

ROFL:ROFL:LOL:ROFL:ROFL
           |
  L   /---------
 LOL===       []\
  L    \         \
        \_________\
          |     |
       -------------/

//

ROFL:ROFL:LOL:ROFL:ROFL

ROFL:ROFL:LOL:ROFL:ROFL
           |
  L   /---------
 LOL===       []\
  L    \         \
        \_________\
          |     |
       -------------/

//

ROFL:ROFL:LOL:ROFL:ROFL

ROFL:ROFL:LOL:ROFL:ROFL
           |
  L   /---------
 LOL===       []\
  L    \         \
        \_________\
          |     |
       -------------/

//

ROFL:ROFL:LOL:ROFL:ROFL

ROFL:ROFL:LOL:ROFL:ROFL
           |
  L   /---------
 LOL===       []\
  L    \         \
        \_________\
          |     |
       -------------/

//

it should be called poof

it should be called poof copter as it's pink

from:
Anonymous

Anonymous

Anonymous

I found lots of exciting

I found lots of exciting information here. Keep it that way.

--// Supercool ROFLCOPTER

--// Supercool ROFLCOPTER snippet by Stefan Ernst ( http://www.thxbye.de/ ) - YAY WE BEGIN //-->

ROFL:ROFL:LOL:ROFL:ROFL
           |
  L   /---------
 LOL===       []\
  L    \         \
        \_________\
          |     |
       -------------/

//

ROFL:ROFL:LOL:ROFL:ROFL

ROFL:ROFL:LOL:ROFL:ROFL
           |
  L   /---------
 LOL===       []\
  L    \         \
        \_________\
          |     |
       -------------/

//

You can manually style the font size/colour and more by changing the css class of the

-tag:

pre.roflcopter {
	color: #ff00ff;
	font-weight: bold;
	line-height: 1em;
	font-size: 18px;
}

ROFL:ROFL:LOL:ROFL:ROFL

ROFL:ROFL:LOL:ROFL:ROFL
           |
  L   /---------
 LOL===       []\
  L    \         \
        \_________\
          |     |
       -------------/

//

ROFL:ROFL:LOL:ROFL:ROFL

ROFL:ROFL:LOL:ROFL:ROFL
           |
  L   /---------
 LOL===       []\
  L    \         \
        \_________\
          |     |
       -------------/

//

You can manually style the font size/colour and more by changing the css class of the

-tag:

pre.roflcopter {
	color: #ff00ff;
	font-weight: bold;
	line-height: 1em;
	font-size: 18px;
}

SSSSSSS HHHH HHHH AAAAA

SSSSSSS HHHH HHHH AAAAA TTTTTTTTTT AAAAA LLLLL
S::::::S H::HHHH::H A:::::A T::::::::T A:::::A L:::L
S::SSSSS H::::::::H A::AAA::A TTTT::TTTT A::AAA::A L:::L
S::::::S H::HHHH::H A::AAA::A T::T A::AAA::A L:::L
SSSSS::S H::H H::H A:::::::A T::T A:::::::A L:::LLLL
S::::::S H::H H::H A::AAA::A T::T A::AAA::A L::::::L
SSSSSSSS HHHH HHHH AAA AAA TTTT AAA AAA LLLLLLLL

ROFL:ROFL:LOL:ROFL:ROFL

ROFL:ROFL:LOL:ROFL:ROFL
           |
  L   /---------
 LOL===       []\
  L    \         \
        \_________\
          |     |
       -------------/

//

|¯\ __ _|

 |¯\     __
_|  \___/L/_|¯\
|_/ /__ M ____|
 / /  /A/
 ¯¯  /O/
     ¯¯

my LMAO plane

here is my TTYLtank!!

here is my TTYLtank!!

        ________
       /  TTYL  \====[ttyl]
  ----/          \----
 /  ________________  \
 [-|   |o|    |o|   |-]
      ------------

hope you like it!! :)

ROFL:ROFL:LOL:ROFL:ROFL

ROFL:ROFL:LOL:ROFL:ROFL
           |
  L   /---------
 LOL===       []\
  L    \         \
        \_________\
          |     |
       -------------/

//

lol@lol.LOL

lol@lol.LOL

ROFL:ROFL:LOL:ROFL:ROFL

ROFL:ROFL:LOL:ROFL:ROFL
|
L /---------
LOL=== []\
L \ \
\_________\
| |
-------------/

ROFL:ROFL:LOL:ROFL:ROFL

ROFL:ROFL:LOL:ROFL:ROFL
           |
  L   /---------
 LOL===    [] []\
  L    \         \
        \___UUU___\
          |     |
       \---------------/

?? ?? ?? ?? ??

??     ??      ??
 ??   ?? ??   ??
  ?? ??   ?? ?? 
   ??      ??

?????????????????
        ?
        ?
        ?
        ?
        ?

??????????????
?
?
??????
?
?
?
?

(No subject)

  
      ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
      ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
      sssssssssssss    ssssssssssssssssssssss     ssssssssssssssss
      sssssssssss        ssssssssssssssssss         ssssssssssssss
      sssssssssssss    ssssssssssssssssssssss     ssssssssssssssss
      ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
      ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
      ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
      ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
      ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
      ssssssssssssss                            ssssssssssssssssss
      ssssssssssssss                            ssssssssssssssssss
      ssssssssssssss                            ssssssssssssssssss
      ssssssssssssss                            ssssssssssssssssss
      ssssssssssssss                            ssssssssssssssssss
      ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
      ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
      ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
      ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
      ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
      ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
      ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
      ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss

                       DOMO KUN

nice copter, need to tweet

nice copter, need to tweet that.

ROFL:ROFL:LOL:ROFL:ROFL

ROFL:ROFL:LOL:ROFL:ROFL
           |
  L   /---------
 LOL===       []\
  L    \         \
        \_________\
          |     |
       -------------/

//

Of course the javascript is

Of course the javascript is filtered out in here, but the fine thing is that this ROFLCOPTER even works without javascript just as pure html version without any animation! :->

ROFL:ROFL:LOL:ROFL:ROFL

ROFL:ROFL:LOL:ROFL:ROFL
          _^___
  L    __/   []\
 LOL===_  O==   \
  L     \________]
          I    I
         --------/

YESH... Nuu no animation...

Lol so UBER Wanna see my

Lol so UBER
Wanna see my stand-alone ROFLcopter, LMAOplane, ect? Here.
ROFLcopters, LMAOplanes, TTYLnukes, AFK47s, TTYLtanks, etc.

ROFLcopter:

ROFL:ROFL:LOL:ROFL:ROFL
          _^___
  L    __/   []\
 LOL===_  O==   \
  L     \________]
          I    I
         --------/


LMAOplane:

 |¯\     __
_|  \___/L/_|¯\
|_/ /__ M ____|
 / /  /A/
 ¯¯  /O/
     ¯¯


TTYLtank:

      ______
     / TTYL \====[TTYL]
 ___/________\___
/  ____________  \
[-|  |O|  |O|  |-]
   ¯¯¯¯¯¯¯¯¯¯¯¯


LOLLERskater:

  /\O
   /\/
  /\
 /  \
LOL LOL


OMGbomb:

}OMG)


Made em all myself XD
Heres my attempt at your script (Edited, of course... Hope this works...):

ROFL:ROFL:LOL:ROFL:ROFL
          _^___
  L    __/   []\
 LOL===_  O==   \
  L     \________]
          I    I
         --------/

rofl

rofl

ROFL:ROFL:LOL:ROFL:ROFL

ROFL:ROFL:LOL:ROFL:ROFL
           |
  L   /---------
 LOL===       []\
  L    \         \
        \_________\
          |     |
       -------------/

//

ROFL:ROFL:LOL:ROFL:ROFL

ROFL:ROFL:LOL:ROFL:ROFL
           |
  L   /---------
 LOL===       []\
  L    \         \
        \_________\
          |     |
       -------------/

//

ROFL:ROFL:LOL:ROFL:ROFL

ROFL:ROFL:LOL:ROFL:ROFL
           |
  L   /---------
 LOL===       []\
  L    \         \
        \_________\
          |     |
       -------------/

//

ROFL:ROFL:LOL:ROFL:ROFL

ROFL:ROFL:LOL:ROFL:ROFL
           |
  L   /---------
 LOL===       []\
  L    \         \
        \_________\
          |     |
       -------------/

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <pre>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
Are you human?
                                                                                                         
dddddddd
d::::::d
d::::::d
d::::::d
d:::::d
wwwwwww wwwww wwwwwww ppppp ppppppppp ddddddddd:::::d ppppp ppppppppp
w:::::w w:::::w w:::::w p::::ppp:::::::::p dd::::::::::::::d p::::ppp:::::::::p
w:::::w w:::::::w w:::::w p:::::::::::::::::p d::::::::::::::::d p:::::::::::::::::p
w:::::w w:::::::::w w:::::w pp::::::ppppp::::::p d:::::::ddddd:::::d pp::::::ppppp::::::p
w:::::w w:::::w:::::w w:::::w p:::::p p:::::p d::::::d d:::::d p:::::p p:::::p
w:::::w w:::::w w:::::w w:::::w p:::::p p:::::p d:::::d d:::::d p:::::p p:::::p
w:::::w:::::w w:::::w:::::w p:::::p p:::::p d:::::d d:::::d p:::::p p:::::p
w:::::::::w w:::::::::w p:::::p p::::::p d:::::d d:::::d p:::::p p::::::p
w:::::::w w:::::::w p:::::ppppp:::::::p d::::::ddddd::::::dd p:::::ppppp:::::::p
w:::::w w:::::w p::::::::::::::::p d:::::::::::::::::d p::::::::::::::::p
w:::w w:::w p::::::::::::::pp d:::::::::ddd::::d p::::::::::::::pp
www www p::::::pppppppp ddddddddd ddddd p::::::pppppppp
p:::::p p:::::p
p:::::p p:::::p
p:::::::p p:::::::p
p:::::::p p:::::::p
p:::::::p p:::::::p
ppppppppp ppppppppp
Enter the code depicted in ASCII art style.