Created
July 29, 2009 14:52
-
-
Save tmaslen/158198 to your computer and use it in GitHub Desktop.
This file contains 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" 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