Created
March 2, 2011 02:07
-
-
Save joelklabo/850328 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
Event.observe(document,'dom:loaded',function(){ | |
var flashvars = {}; | |
flashvars.appname = '<%= SITE_NAME %>'; | |
flashvars.appurl = '<%= site_with_protocol %>/desktop/Yammer.air'; | |
flashvars.airversion = '1.5.3'; | |
flashvars.imageurl = "/images/desktop_badge.png"; | |
flashvars.jsonclickcallback = function(){ window.location = '<%= site_with_protocol %>#/Threads/index?type=following' }; | |
var params = {}; | |
params.bgcolor = "#FFFFFF"; | |
var attributes = {}; | |
attributes.id = "Badge"; | |
swfobject.embedSWF("/flash/AIRBadge.swf", "flashcontent", "217", "180", "9.0.115", "/flash/expressinstall.swf", flashvars, params, attributes); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment