Skip to content

Instantly share code, notes, and snippets.

@Milly
Created May 24, 2010 06:20
Show Gist options
  • Save Milly/411579 to your computer and use it in GitHub Desktop.
Save Milly/411579 to your computer and use it in GitHub Desktop.
ブログ妖精ココロ Google Gadget
<?xml version="1.0" encoding="UTF-8" ?>
<Module>
<ModulePrefs title="ココロ"
title_url="http://www.cocolog-nifty.com/cocolo/"
author="Milly"
author_link="http://d.hatena.ne.jp/MillyC/"
width="120"
height="220">
</ModulePrefs>
<UserPref name="character" display_name="キャラ" datatype="enum" default_value="">
<EnumValue value="" display_value="ココロ"/>
<EnumValue value="Mu" display_value="むーちゃん"/>
<EnumValue value="Cocos" display_value="ココス"/>
</UserPref>
<Content type="html">
<![CDATA[
<div id="clock"></div>
<style type="text/css">
body { background: transparent !important; }
object { margin: auto !important; display: block !important; }
</style>
<script src="http://www.cocolog-nifty.com/cocolo/clock/js/swfobject.js" type="text/javascript"></script>
<script type="text/javascript">
var prefs = new _IG_Prefs();
var character = prefs.getString('character') || '';
swfobject.embedSWF(
'http://www.cocolog-nifty.com/cocolo/clock/CharacterClock' + character + '.swf',
'clock',
'120',
'220',
'9.0.0',
'http://www.cocolog-nifty.com/cocolo/clock/expressInstall.swf',
{},
{ menu: 'false',
scale: 'noScale',
allowFullscreen: 'true',
allowScriptAccess: 'always',
quality: 'high',
wmodw: 'transparent',
bgcolor: '#FFFFFF' },
{ id: 'CharacterClock' } );
</script>
]]>
</Content>
</Module>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment