Created
July 20, 2009 09:53
-
-
Save tmaslen/150231 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
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