Skip to content

Commit

Permalink
Word Associations
Browse files Browse the repository at this point in the history
  • Loading branch information
antimatter15 committed Nov 4, 2009
1 parent b747847 commit bf733dc
Show file tree
Hide file tree
Showing 14 changed files with 863 additions and 0 deletions.
50 changes: 50 additions & 0 deletions wordassoc/assoc.xml
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,50 @@
<?xml version="1.0" encoding="UTF-8" ?>
<Module>
<ModulePrefs title="Word Association" height="600">
<Require feature="wave-preview" />
</ModulePrefs>
<Content type="html">
<![CDATA[
<link rel="stylesheet" href="http://antimatter15.com/misc/wordassoc/graffle_files/demo.css" type="text/css" media="screen">
<script src="http://jsvectoreditor.googlecode.com/svn/trunk/raphael.js" type="text/javascript" charset="utf-8"></script>
<div id="holder"></div>
<script src="http://antimatter15.com/misc/wordassoc/graffle_files/graffle.js" type="text/javascript" charset="utf-8"></script>
<script>
var initcount = 0;
function init() {
if (wave && wave.isInWaveContainer()) {
wave.setStateCallback(statechange);
}
if(++initcount >= 2){
setTimeout(function(){
if(wave.getState() == null){
(function(){
if(wave.getState() == null){
setTimeout(arguments.callee, 100);
}else{
statechange()
}
})()
}
},0);
}
}
gadgets.util.registerOnLoadHandler(init);
</script>
]]>
</Content>
</Module>
18 changes: 18 additions & 0 deletions wordassoc/graffle.html
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,18 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Word Association</title>
<link rel="stylesheet" href="graffle_files/demo.css" type="text/css" media="screen">
<link rel="stylesheet" href="graffle_files/demo-print.css" type="text/css" media="print">
<script src="graffle_files/raphael.js" type="text/javascript" charset="utf-8"></script>
<style type="text/css" media="screen">
p {
text-align: center;
}
</style>
</head><body>
<div id="holder"></div>


<script src="graffle_files/graffle.js" type="text/javascript" charset="utf-8"></script>
</body></html>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions wordassoc/graffle_files/demo-print.css
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,20 @@
body {
background: #fff;
color: #000;
font: 100.1% "Lucida Grande", Lucida, Verdana, sans-serif;
}
#holder {
position: absolute;
top: 0;
}
#copy {
bottom: 0;
font-size: .7em;
position: absolute;
right: 1em;
text-align: right;
}

path {
stroke: #000;
}
24 changes: 24 additions & 0 deletions wordassoc/graffle_files/demo-print.css~
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,24 @@
body {
background: #fff;
color: #000;
font: 100.1% "Lucida Grande", Lucida, Verdana, sans-serif;
}
#holder {
height: 480px;
left: 50%;
margin: 0 0 0 -320px;
position: absolute;
top: 0;
width: 640px;
}
#copy {
bottom: 0;
font-size: .7em;
position: absolute;
right: 1em;
text-align: right;
}

path {
stroke: #000;
}
13 changes: 13 additions & 0 deletions wordassoc/graffle_files/demo.css
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,13 @@

body {
background: #000;
color: #fff;
font: 300 100.1% "Gill Sans", Calibri, "Trebuchet MS", sans-serif;
overflow: auto;
}
#holder {
left: 0;
top: 0;
position: absolute;
overflow: auto;
}
22 changes: 22 additions & 0 deletions wordassoc/graffle_files/demo.css~
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,22 @@

body {
background: #000;
color: #fff;
overflow: hidden;
font: 300 100.1% "Gill Sans", Calibri, "Trebuchet MS", sans-serif;
}
#holder {
left: 0;
top: 0;
position: absolute;
}
#copy {
bottom: 0;
font: 300 .7em "Gill Sans", Calibri, "Trebuchet MS", sans-serif;
position: absolute;
right: 1em;
text-align: right;
}
#copy a {
color: #fff;
}
Loading

0 comments on commit bf733dc

Please sign in to comment.