Skip to content

Instantly share code, notes, and snippets.

@tmaslen
Created July 29, 2009 14:52
Show Gist options
  • Save tmaslen/158198 to your computer and use it in GitHub Desktop.
Save tmaslen/158198 to your computer and use it in GitHub Desktop.
<script type="text/javascript" src="http://node1.bbcimg.co.uk/glow/gloader.0.1.0.js">
gloader.use("glow", {map: "http://node1.bbcimg.co.uk/glow/glow/map.1.5.1.js"});
</script>
<script type="text/javascript">
gloader.load(
["glow", "1", "glow.dom", "glow.events", "glow.anim", "glow.widgets.Overlay", "glow.widgets.InfoPanel", "glow.widgets.AutoSuggest"],
{
async: true,
onLoad: function(glow)
{
window.glow = glow;
glow.ready(function(){
//create InfoPanel instance
var myInfoPanel = new glow.widgets.InfoPanel("#simpleInfoPanel", {
context: "#searchBox"
});
//display panel
myInfoPanel.show();
});
}
}
);
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment