Skip to content

Instantly share code, notes, and snippets.

@tmaslen
Created July 20, 2009 09:53
Show Gist options
  • Save tmaslen/150231 to your computer and use it in GitHub Desktop.
Save tmaslen/150231 to your computer and use it in GitHub Desktop.
gloader.load(
["glow", "1", "glow.dom", "glow.widgets.InfoPanel"],
{
async: true,
onLoad: function(glow) {
glow.ready(function() {
var p = glow.dom.get("#greeting");
p.html("hello, world");
var myInfoPanel = new
glow.widgets.InfoPanel('<div id="simpleInfoPanel">'
+ '<h2 class="hd">Search field</h2>'
+ '<p>The info panel can be used to help the user...</p>'
+ '</div>'
, {
context: "#searchBox"
});
//display panel
myInfoPanel.show();
});
}
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment