GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: Github flash badge
Homepage: http://spinach.andascarygoat.com/tags/badjo
Clone URL: git://github.com/zmack/badjo.git
zmack (author)
Sat May 03 11:09:34 -0700 2008
commit  d78f7e67afd085e5a2d721e31665499ac9b129a8
tree    cb66efed8615d0e68443d5eff89ee058cc6c200a
parent  82f4b90a3d58e194eda814c0bbcec0529e7b0515
badjo / demo.html
100644 46 lines (44 sloc) 1.414 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<html>
  <head>
    <title>Lovely Badjo Test</title>
    <script lang="Javascript">
      function getFlashMovie(movieName) {
        var isIE = navigator.appName.indexOf("Microsoft") != -1;
        return (isIE) ? window[movieName] : document[movieName];
      }
      function getUser() {
        var user = document.getElementById('user').value;
        var movie = getFlashMovie('main');
 
        movie.requestData(user);
      }
    </script>
  </head>
  <body>
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
            codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0"
            width="210"
            height="400"
            align="middle"
            id="main">
        <param name="allowScriptAccess" value="sameDomain" />
        <param name="movie" value="bin/GithubBadge.swf" />
        <param name="quality" value="high" />
        <param name="bgcolor" value="#ffffff" />
        <embed src="bin/GithubBadge.swf"
               width="210"
               height="400"
               autostart="false"
               quality="high"
               bgcolor="#ffffff"
               FlashVars="gitUser=zmack"
               name="main"
               align="middle"
               allowScriptAccess="sameDomain"
               type="application/x-shockwave-flash"
               pluginspage="http://www.macromedia.com/go/getflashplayer" />
    </object>
    <label for="user">GitHub user:</label>
    <input type="text" id="user" />
    <input type="button" value="Get !" onClick="getUser();"/>
  </body>
</html>