Skip to content

Instantly share code, notes, and snippets.

@cyberfox
Created September 5, 2008 20:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cyberfox/9024 to your computer and use it in GitHub Desktop.
Save cyberfox/9024 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Growl notification</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<base href="%baseurl%" />
<style type="text/css">
@import URL("default.css");
#top,#middle,#bottom {
opacity:%opacity%;
}
</style>
</head>
<body>
<div id="%priority%">
<div id="top"></div>
<div id="middle">
<img src="images/middle.png" alt="" />
</div>
<div id="bottom"></div>
<!--<div id="icon"><img src="growlimage://%image%" alt="icon" /></div>-->
<div id="icon"><img src="growl.png" alt="icon" /></div>
<div id="title">%title%</div>
<div id="text">%text%</div>
</div>
<script>
override = document.getElementById('override');
if(override) {
icon = document.getElementById('icon');
title = document.getElementById('title');
priority = document.getElementById('%priority%');
priority.removeChild(icon);
priority.insertBefore(override,title);
override.id="icon";
}
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment