Sources : https://github.com/tommoor/tinycon
Ce programme fonctionne avec la librairie Jquery
- <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN'
- 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
- <html xmlns='http://www.w3.org/1999/xhtml' xml:lang='fr' lang='fr'>
- <head>
- <meta http-equiv='content-type' content='text/html; charset=iso-8859-1'/>
-
-
- <!-- Style CSS -->
-
-
-
- </head>
- <body>
-
-
- Regardez le favicon en haut à gauche de votre navigateur
-
-
- <!-- Javascript -->
- <script language='Javascript' type='text/javascript'
- src='http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js'></script>
- <script language='Javascript' type='text/javascript'
- src='tinycon.js'></script>
- <script language='Javascript' type='text/javascript'
- src='code.js'></script>
-
- </body>
- </html>
- (function(){
-
- var count = 0;
-
- setInterval(function(){
-
- ++count;
- Tinycon.setBubble(count);
-
- }, 1000);
-
- })();