initial locationbar commit

This commit is contained in:
Doug Bell 2010-04-09 17:57:23 -05:00
parent a79f81346a
commit a7598482c5
3 changed files with 99 additions and 9 deletions

View file

@ -6,7 +6,7 @@ if ( typeof WebGUI == "undefined" ) {
WebGUI.Admin = {};
WebGUI.Admin.LocationBar = (function(){
// Public stuff
return function (id) {
@ -17,7 +17,18 @@ WebGUI.Admin.LocationBar = (function(){
var _element = document.getElementById( self.id );
function _init () {
_element.appendChild( document.createTextNode( "Location Bar" ) );
var back = new YAHOO.widget.Button( "backButton", {
label : '<img src="' + getWebguiProperty("extrasURL") + 'icon/arrow_left.png" />'
} );
var forward = new YAHOO.widget.Button( "forwardButton", {
label : '<img src="' + getWebguiProperty("extrasURL") + 'icon/arrow_right.png" />'
} );
var search = new YAHOO.widget.Button( "searchButton", {
label : '<img src="' + getWebguiProperty("extrasURL") + 'icon/magnifier.png" />'
} );
var home = new YAHOO.widget.Button( "homeButton", {
label : '<img src="' + getWebguiProperty("extrasURL") + 'icon/house.png" />'
} );
}
_init();