Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

statusBar

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("https://www.jogkey.de");
		});  
	}  
});

Document Tags and Contributors

Tags: 
 Contributors to this page: Sheppy, DJAssi
 Last updated by: Sheppy,