The Class statusBar contains functions to add and control the Statusbar of the Browser. You can find the complete Sourcecode in the status-bar-panel.js file in your Jetpack Repository.
Namespace: jetpack.statusBar
Methods
copyBackground
embedIframe
append
The append Methods adds a new Item to the statusbar. Many of the options are optional.
Syntax
jetpack.statusBar.append(options);
Possible Options are:
- url
- width (string/length) The width of the Panel-Item
- html (string) The html Code which will be used inside the Item
- onLoad (event) This Event fires when the Item was appended. Its acutally not implemented in the current Version.
- onReady (event) Occurs when the Item was loaded
- onUnload (event) Triggers when the Item was removed.
Example
jetpack.statusBar.append({
html: 'Hello <i>World</i>!',
onReady: function(widget){
$(widget).click(function(){
jetpack.tabs.open("http://www.jogkey.de");
});
}
});
