Search completed in 1.97 seconds.
1144 results for "played":
Your results are loading. Please wait...
Index - Web APIs
WebAPIIndex
if called on an unplayed animation, the whole animation is played backwards.
...once put into an audiobuffer, the audio can then be played by being passed into an audiobuffersourcenode.
...it's especially useful for playing back audio which has particularly stringent timing accuracy requirements, such as for sounds that must match a specific rhythm and can be kept in memory rather than being played from disk or the network.
...And 42 more matches
Index - Archive of obsolete content
xul <iframe> elements) that are not displayed to the user.
... when the number of iterations is greater than 2 all times are displayed in [], faster time is displayed in the output column, and the 95% confidence interval is calculated.
...to do this, the new menu will need to be laid over the existing menu which the item should be displayed upon.
...And 34 more matches
Index - Archive of obsolete content
ArchiveMozillaXULIndex
to do this, the new menu will need to be laid over the existing menu which the item should be displayed upon.
...both types of builder share much of the same code except for how they generate output to be displayed.
... 1019 creating dialogs tutorials, xul, xul_tutorial a xul application will often require dialogs to be displayed.
...And 26 more matches
Box Objects - Archive of obsolete content
the layout tree holds a different tree of nodes for each individual component that can be displayed.
... the layout tree holds the structure as the nodes are expected to be displayed there is not necessarily a one to one relationship between content and layout nodes.
...for instance, the key element doesn't have any layout objects since it isn't displayed in any way.
...And 13 more matches
Theme changes in Firefox 2 - Archive of obsolete content
browser/safebrowsing/close16x16.png new file; this is the icon displayed in the safe browsing warning window as a close box for the window.
... browser/safebrowsing/dim.png new file; this is a graphic overlaid on top of the contents of the window to "dim" it when the safe browsing warning window is displayed.
... browser/safebrowsing/warning16x16.png new file; this is the 16x16 pixel version of the warning icon displayed in the url bar when the safe browsing warning window is displayed.
...And 11 more matches
Chapter 3: Introduction to XUL—How to build a more intuitive UI - Archive of obsolete content
when this file is opened in firefox, it is displayed as shown in figure 1.
...in listing 4, the second label will be displayed twice as big as the first (figure 3).
...you would use this to set a hidden or absent state, for example items that aren't displayed in contextual menus.
...And 9 more matches
Trees - Archive of obsolete content
ArchiveMozillaXULTutorialTrees
in a tree, all of the data to be displayed is supplied by a separate object, called a tree view.
...the tree is smart enough to only ask for information from the view for those rows that need to be displayed.
... this allows the view to be optimized such that it only needs to load the data for displayed content.
...And 9 more matches
Venkman Introduction - Archive of obsolete content
file names are displayed after a color coded, single letter icon representing the file extension.
... icons in the script view the "special" function name __toplevel__ is displayed for scripts that are not part of an actual function.
... properties which are of the type object are displayed with the name of their constructor function in curly braces as their value.
...And 7 more matches
<video>: The Video Embed element - HTML: Hypertext Markup Language
WebHTMLElementvideo
its default value is false, meaning that the audio will be played when the video is played.
... playsinline a boolean attribute indicating that the video is to be played "inline", that is within the element's playback area.
... note that the absence of this attribute does not imply that the video will always be played in fullscreen.
...And 7 more matches
simple-prefs - Archive of obsolete content
type description example specification bool displayed as a checkbox and stores a boolean.
... { "description": "does it have tentacles?", "type": "bool", "name": "hastentacles", "value": true, "title": "tentacles" } boolint displayed as a checkbox and stores an integer.
... { "type": "boolint", "name": "myboolint", "on": "1", "off": "2", "value": 1, "title": "my boolint" } integer displayed as a textbox and stores an integer.
...And 6 more matches
Creating a Help Content Pack - Archive of obsolete content
nc:defaulttopic will hold the rdf:id of the topic you want displayed when the viewer first loads if none has been specified.
...starting with firefox 1.1 and the mozilla 1.8 platform, only the table of contents data source will be displayed.
... the glossary and index data sources will be hidden - information found only in them will not be displayed unless the user conducts a search of the help pack that would return glossary or index results.xxx this sentence is ugly - a little rewording help here would be nice a data source description is pretty much the same no matter which type you're defining, and the syntax is pretty simple.
...And 6 more matches
Client-side storage - Learn web development
most major modern web sites are dynamic — they store data on the server using some kind of database (server-side storage), then run server-side code to retrieve needed data, insert it into static page templates, and serve the resulting html to the client to be displayed by the user's browser.
...itbtn.addeventlistener('click', function() { // store the entered name in web storage localstorage.setitem('name', nameinput.value); // run namedisplaycheck() to sort out displaying the // personalized greetings and updating the form display namedisplaycheck(); }); at this point we also need an event handler to run a function when the "forget" button is clicked — this is only displayed after the "say hello" button has been clicked (the two form states toggle back and forth).
...the javascript file contains five declared constants containing references to the <ul> element the notes will be displayed in, the title and body <input> elements, the <form> itself, and the <button>.
...And 5 more matches
Web Replay
save recording and replay on a different machine (partially implemented) recordings can be replayed on a different machine from the one which recorded them.
...default false architecture there are several main components to the project: the record/replay infrastructure records enough information during recording so that the replayed process can run and produce the same observable behaviors.
... intra-thread non-determinism is recorded and later replayed for each thread.
...And 5 more matches
Textbox (XPFE autocomplete) - Archive of obsolete content
alwaysopenpopup obsolete since gecko 1.9.1 type: boolean note: applies to: thunderbird and seamonkeyif true, the autocomplete popup will be displayed even when there are no matches.
... autofillaftermatch obsolete since gecko 1.9.1 type: boolean if set to true, the entire text of the best match will be displayed at the end of the input.
... minresultsforpopup obsolete since gecko 1.9.1 type: integer the minimum number of results that must be returned for the popup to be displayed.
...And 4 more matches
listbox - Archive of obsolete content
for those elements, setattribute("value", myvalue) and getattribute("value") do not access or affect the contents displayed to the user.
... ensureelementisvisible( element ) return type: no return value if the specified element is not currently visible to the user, the displayed items are scrolled so that it is.
... ensureindexisvisible( index ) return type: no return value if the item at the specified index is not currently visible to the user the displayed items are scrolled so that it is.
...And 4 more matches
richlistbox - Archive of obsolete content
for those elements, setattribute("value", myvalue) and getattribute("value") do not access or affect the contents displayed to the user.
... ensureelementisvisible( element ) return type: no return value if the specified element is not currently visible to the user, the displayed items are scrolled so that it is.
... ensureindexisvisible( index ) return type: no return value if the item at the specified index is not currently visible to the user the displayed items are scrolled so that it is.
...And 4 more matches
tabbrowser - Archive of obsolete content
it is similar to the browser element, except that multiple documents can be displayed, each in a separate tab.
... selectedbrowser type: browser element this read-only property returns the currently displayed browser element.
...if loadinbackground is true, the tabs are loaded in the background, and if replace is true, the currently displayed tabs are replaced with the specified uris instead of adding new tabs.
...And 4 more matches
Website security - Learn web development
for example, consider a site search function where the search terms are encoded as url parameters, and these terms are displayed along with the results.
...if the target user clicks this "interesting link", the script will be executed when the search results are displayed.
... a persistent xss vulnerability occurs when the malicious script is stored on the website and then later redisplayed unmodified for other users to execute unwittingly.
...And 4 more matches
AudioBufferSourceNode - Web APIs
it's especially useful for playing back audio which has particularly stringent timing accuracy requirements, such as for sounds that must match a specific rhythm and can be kept in memory rather than being played from disk or the network.
... to play sounds which require accurate timing but must be streamed from the network or played from disk, use a audioworkletnode to implement its playback.
... an audiobuffersourcenode can only be played once; after each call to start(), you have to create a new node if you want to play the same sound again.
...And 4 more matches
Ordering Flex Items - CSS: Cascading Style Sheets
this can seem like a neat way to display things in reverse order however you should be mindful that the items are only visually displayed in reverse order.
... the order property in addition to reversing the order in which flex items are visually displayed, you can target individual items and change where they appear in the visual order with the order property.
... as an example, i have 5 flex items, and assign order values as follows: source item 1: order: 2 source item 2: order: 3 source item 3: order: 1 source item 4: order: 3 source item 5: order: 1 these items would be displayed on the page in the following order: source item 3: order: 1 source item 5: order: 1 source item 1: order: 2 source item 2: order: 3 source item 4: order: 3 you can play around with the values in this live example below and see how that changes the order.
...And 4 more matches
Chapter 5: Let's build a Firefox extension - Archive of obsolete content
disabling this cache forces xul documents to be reloaded any every time they are displayed.
...for example, in the firefox browser window, everything other than the web page being displayed in the content area is chrome.
...can be in e-mail address format or guid format --> <em:id>helloworld@xuldev.org</em:id> <!-- indicates that this add-on is an extension --> <em:type>2</em:type> <!-- extension name displayed in add-on manager --> <em:name>hello, world!</em:name> <!-- extension version number.
...And 3 more matches
User Notifications and Alerts - Archive of obsolete content
the notification shows up again when you come back to the tab that displayed it.
... this means that these notifications make the most sense when they are related to the page currently being displayed, such as a page trying to install an add-on, or a site you just entered a password on.
...the level argument determines the "strength" of the message, indicated by its background color when it is displayed.
...And 3 more matches
Custom Tree Views - Archive of obsolete content
« previousnext » the tree view holds the data to be displayed in the tree.
...you might also implement a custom view when you want to perform computations on the data to be displayed.
... since the view can store and retrieve the data in the most suitable manner for the kind of data used, the tree can be used even when there are hundreds of thousands of rows to be displayed.
...And 3 more matches
XUL element attributes - Archive of obsolete content
never all of the children are displayed at the size required by the content or as specified by the width and height attributes or the css width and height properties.
...the actual displayed height may be different if the element or its contents have a minimum or maximum height.
... hidden type: boolean if set to true, the element is not displayed.
...And 3 more matches
description - Archive of obsolete content
attributes crop, disabled, tabindex value properties accessibletype, crop, disabled, tabindex, value style classes header, indent, monospace, plain, small-margin examples this is a long section of text that will word wrap when displayed <description> this is a long section of text that will word wrap when displayed.
...if you wish to use the value none and the displayed text is larger than this maximum width, you may be able to use the max-width css property (or the maxwidth attribute) to override this size.
...for those elements, setattribute("value", myvalue) and getattribute("value") do not access or affect the contents displayed to the user.
...And 3 more matches
tree - Archive of obsolete content
ArchiveMozillaXULtree
each row of the tree may contain child rows which are displayed indented from the parent.
...however, the treeitems are not displayed directly; they are used only as data to the content view.
... enablecolumndrag type: boolean when set to true, the user may drag the column headers around to change the order in which they are displayed.
...And 3 more matches
Video and audio content - Learn web development
the paragraph inside the <video> tags this is called fallback content — this will be displayed if the browser accessing the page doesn't support the <video> element, allowing us to provide a fallback for older browsers.
... poster the url of an image which will be displayed before the video is played.
... note: "transcribe" means "to write down spoken words as text." the resulting text is a "transcript." webvtt is a format for writing text files containing multiple strings of text along with metadata such as the time in the video at which each text string should be displayed, and even limited styling/positioning information.
...And 3 more matches
HTMLMediaElement - Web APIs
htmlmediaelement.controls is a boolean that reflects the controls html attribute, indicating whether user interface items for controlling the resource should be displayed.
... htmlmediaelement.mozsamplerate read only returns a double representing the number of samples per second that will be played.
... htmlmediaelement.playbackrate is a double that indicates the rate at which the media is being played back.
...And 3 more matches
Media Source API - Web APIs
using mse, media streams can be created via javascript, and played using <audio> and <video> elements.
...mse allows us to replace the usual single track src value fed to media elements with a reference to a mediasource object, which is a container for information like the ready state of the media for being played, and references to multiple sourcebuffer objects that represent the different chunks of media that make up the entire stream.
... interfaces mediasource represents a media source to be played via an htmlmediaelement object.
...And 3 more matches
Using the Notifications API - Web APIs
the notifications api lets a web page or app send notifications that are displayed outside the page at the system level; this lets web apps send information to a user even if the application is idle or in the background.
...it can have one of three possible values: default the user hasn't been asked for permission yet, so notifications won't be displayed.
... error triggered if something goes wrong with the notification; this is usually because the notification couldn't be displayed for some reason.
...And 3 more matches
Media buffering, seeking, and time ranges - Developer guides
seekable the seekable attribute returns a timeranges object and tells us which parts of the media can be played without delay; this is irrespective of whether that part has been downloaded or not.
... var seekabletimeranges = myaudio.seekable; creating our own buffering feedback if we wish to create our own custom player, we may want to provide feedback on how much of the media is ready to be played.
... in practice a good way to do this is use the seekable attribute, although as we have seen above seekable parts of the media are not neccessarily contiguous — they often are however and we can safely approximate this information to give the user an indication of which parts of the media can be played directly.
...And 3 more matches
Extension Versioning, Update and Compatibility - Archive of obsolete content
the page at this url will be retrieved and displayed to the user.
... since it is being displayed outside of a normal webpage context it is heavily sanitized, which means there are few formatting options available and scripting and images aren't allowed.
...other tags aren't included in the result but do have their contents displayed, so the following snippet: <span><q>text</q></span> would be rendered exactly the same as: <q>text</q> sample file <!doctype html public "-//w3c//dtd xhtml 1.0 strict//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-strict.dtd"> <html lang="en-us" dir="ltr" xmlns="http://www.w3.org/1999/xhtml"> <h2>my extension</h2> <ul> <li>this update fixes some stability related issues.</li> </ul> </html> ...
...And 2 more matches
Install Manifests - Archive of obsolete content
the icon will be displayed at 32x32 in firefox 3.6 and lower.
...this allows your add-on's icon to be displayed even when the add-on is disabled, or if the manifest is missing an iconurl entry.
...this allows your add-on's icon to be displayed even when the add-on is disabled, or if the manifest is missing an icon64url entry.
...And 2 more matches
Defining Cross-Browser Tooltips - Archive of obsolete content
the classic example is a "tooltip" of an image; when the user pauses the mouse pointer over an image, the contents of the alt attribute are displayed as a "tooltip." gecko-based browsers such as mozilla, netscape 6+, and compuserve 7 do not support this behavior.
... in other words, alt text should only be displayed when a user agent cannot display the primary content of the element (e.g., a text-mode browser that cannot display images).
... in a visual browser, the image should be displayed and the alt text should not.
...And 2 more matches
Documentation for BiDi Mozilla - Archive of obsolete content
in some circumstances, even on a platform with bidi capability, the layout code has to reverse text fragments or to allow for the fact that they are displayed in reverse.
...examples of this are in nstextframe::painttextslowly; nstextframe::paintunicodetext when a selection is displayed; nstextframe::getposition; nstextframe::getpointfromoffset.
...in "visual" mode, the text copied into the clipboard is exactly the displayed text.
...And 2 more matches
Layout System Overview - Archive of obsolete content
galley and page presentations: the presentation generally is constrained by the width of the window in which the presentation is to be displayed, and a height that extends as far as necessary.
...this is a major benefit for large documents because the user does not have to wait for the 200th page of text to be read in before the first page can be displayed - they can start reading something right away.
...another important mapping maintained by the frame manager is that of the undisplayed content.
...And 2 more matches
XUL accessibility guidelines - Archive of obsolete content
us phone numbers are often displayed on the web in two main formats xxx-xxx-xxxx or (xxx) xxx-xxxx.
...titles are displayed in the top bar of an application.
...verify that alerts are displayed through appropriate xul elements.
...And 2 more matches
menulist - Archive of obsolete content
the user may select one of the elements displayed in the menulist.
... the currently selected choice is displayed on the menulist element.
...if you wish to use the value none and the displayed text is larger than this maximum width, you may be able to use the max-width css property (or the maxwidth attribute) to override this size.
...And 2 more matches
timepicker - Archive of obsolete content
properties amindicator type: string the string value displayed for hours between midnight and noon, defaulting to am.
... hourleadingzero type: boolean a read only value indicating whether a leading zero should be displayed before the hour when it is less than 10.
... minuteleadingzero type: boolean a read only value indicating whether a leading zero should be displayed before the minute when it is less than 10.
...And 2 more matches
toolbar - Archive of obsolete content
note: starting in gecko 1.9.1, toolbar items are moved from the toolbarpalette and added to the toolbar when a toolbar is first displayed.
... currentset not in seamonkey 1.x type: comma-separated string the current set of displayed items on the toolbar.
... defaultset not in seamonkey 1.x type: comma-separated list of item ids the default set of displayed items on the toolbar.
...And 2 more matches
treecol - Archive of obsolete content
if you wish to use the value none and the displayed text is larger than this maximum width, you may be able to use the max-width css property (or the maxwidth attribute) to override this size.
... hidden type: boolean if set to true, the element is not displayed.
... hideheader type: boolean set this to true to indicate that the tree column header should be displayed without any column header styling.
...And 2 more matches
Mozilla XForms User Interface - Archive of obsolete content
generally speaking, the main purpose for these values is to reflect how much space (screen real estate) the displayed widget will take.
...the help will be displayed if the f1 key is pressed while the containing form control has focus.
...the hint is displayed when the mouse moves and pauses over the containing form control.
...And 2 more matches
Handling different text directions - Learn web development
in the example below we have a heading displayed using writing-mode: vertical-rl.
... so the writing-mode property is in reality setting the direction in which block-level elements are displayed on the page — either from top-to-bottom, right-to-left, or left-to-right.
...blocks are only displayed from the top to the bottom of the page if you are using a writing mode that displays text horizontally, such as english.
...And 2 more matches
How to build custom form controls - Learn web development
--> <ul class="optlist"> <!-- each option only contains the value to be displayed, we'll see later how to handle the real value that will be sent with the form data --> <li class="option">cherry</li> <li class="option">lemon</li> <li class="option">banana</li> <li class="option">strawberry</li> <li class="option">apple</li> </ul> </div> note the use of class names; these identify each relevant part regardless of the actual underlying html eleme...
...*/ .select .optlist { /* this will make sure our list of options will be displayed below the value and out of the html flow */ position : absolute; top : 100%; left : 0; } we need an extra class to handle when the list of options is hidden.
...we include our control and the <select>; which one is displayed depends on the class of the body element, with the class of the body element being updated by the script that makes the control function, when it loads successfully to achieve this, we need two things: first, we need to add a regular <select> element before each instance of our custom control.
...And 2 more matches
What’s in the head? Metadata in HTML - Learn web development
previous overview: introduction to html next the head of an html document is the part that is not displayed in the web browser when the page is loaded.
... let's revisit the simple html document we covered in the previous article: <!doctype html> <html> <head> <meta charset="utf-8"> <title>my test page</title> </head> <body> <p>this is my page</p> </body> </html> the html head is the contents of the <head> element — unlike the contents of the <body> element (which are displayed on the page when loaded in a browser), the head's content is not displayed on the page.
... twitter also has its own similar proprietary metadata called twitter cards, which has a similar effect when the site's url is displayed on twitter.com.
...And 2 more matches
Responsive images - Learn web development
a second cropped image could be displayed for a medium width screen device, like a tablet.
...and conversely, a small raster image starts to look grainy when displayed larger than its original size (a raster image is a set number of pixels wide and a set number of pixels tall, as we saw when we looked at vector graphics).
... art direction to recap, the art direction problem involves wanting to change the image displayed to suit different image display sizes.
...And 2 more matches
Cooperative asynchronous JavaScript: Timeouts and intervals - Learn web development
you're going to create a simple "spinner animation"—the kind you might see displayed in an app when it is busy connecting to the server, etc.
...if you showed a different sprite frame for every frame displayed on the screen by requestanimationframe(), guybrush would move his limbs too fast and the animation would look ridiculous.
... when the start button is pressed, a spinner like the one we saw earlier is displayed for a random amount of time between 5 and 10 seconds.
...And 2 more matches
PopupNotifications.jsm
id a unique id string for the type of notification being displayed.
...the main action is used to describe the button presented in the notification panel, while secondary actions are displayed in the drop-down menu associated with the button.
... popupiconurl a string specifying the url of the image to be displayed in the popup.
...And 2 more matches
Rhino Debugger
the selected file will be compiled and displayed in a new window.
...whenever a javascript exception is thrown by a script a message dialog will be displayed and control will be given to the debugger at the location the exception is raised.
... this the properties of the current object are displayed in the this table.
...And 2 more matches
Avoiding leaks in JavaScript XPCOM components
(this is roughly equivalent to making all the properties roots, but simpler.) once this happens, it remains a root until the document stops being displayed.
... this means that neither the element nor any of the properties nor any of the objects reachable from those properties can be freed until the document is no longer displayed.
...(but since service is a global variable, just fixing the cycle doesn't fix the leak.) don't store short-lived objects as javascript properties of short-lived dom nodes i mentioned earlier that, in versions of mozilla before 1.8, setting arbitrary javascript properties on elements (or using xbl fields) causes that element's javascript wrapper to be rooted until the document stops being displayed.
...And 2 more matches
nsITaskbarPreviewButton
these buttons are displayed below the window preview.
...this is not the same as visible, which indicates whether or not the button should be displayed at all.
... image imgicontainer the icon displayed in the button.
...And 2 more matches
Plug-in Basics - Plugins
if it is, a movie is displayed.
... the way plug-ins are displayed on the web page is determined by the html element that invokes them.
...for information about the way html determines plug-in display mode, see "using html to display plug-ins." using html to display plug-ins when a user browses to a web page that invokes a plug-in, how the plug-in appears (or does not appear) depends on two factors: the way the developer writes the plug-in determines whether it is displayed in its own window or is windowless.
...And 2 more matches
Fullscreen API - Web APIs
documentorshadowroot.fullscreenelement the fullscreenelement property tells you the element that's currently being displayed in full-screen mode on the dom (or shadow dom).
... obsolete properties document.fullscreen a boolean value which is true if the document has an element currently being displayed in full-screen mode; otherwise, this returns false.
... note: use the fullscreenelement property on the document or shadowroot instead; if it's not null, then it's an element currently being displayed in full-screen mode.
...And 2 more matches
Key Values - Web APIs
common ime keys keyboardevent.key value description virtual keycode windows mac linux android "allcandidates" the all candidates key, which starts multi-candidate mode, in which multiple candidates are displayed for the ongoing input.
...enables single candidate mode (as opposed to multi-candidate mode); in this mode, only one candidate is displayed at a time.
... vk_guide qt::key_guide (0x0100011a) keycode_guide (172) "guidenextday" if the guide is currently displayed, this button tells the guide to display the next day's content.
...And 2 more matches
Creating a cross-browser video player - Developer guides
most browsers interpret the presence of a poster attribute to mean that the specified image is to be displayed until the user chooses to play the video.
...in addition a download link is displayed to allow users to download the mp4 video file, should they wish to (providing those without flash installed with a method of viewing the video, a fallback for a fallback if you like).
...a number of variables pointing to html elements are required: var videocontainer = document.getelementbyid('videocontainer'); var video = document.getelementbyid('video'); var videocontrols = document.getelementbyid('video-controls'); as mentioned earlier, the browser's default controls now need to be disabled, and the custom controls need to be displayed: // hide the default controls video.controls = false; // display the user defined video controls videocontrols.style.display = 'block'; with that done, a variable pointing to each of the buttons is now required: var playpause = document.getelementbyid('playpause'); var stop = document.getelementbyid('stop'); var mute = document.getelementbyid('mute'); var volinc = document.getelementbyid('vo...
...And 2 more matches
<svg> - SVG: Scalable Vector Graphics
WebSVGElementsvg
value type: <string> ; default value: text/css; animatable: no height the displayed height of the rectangular viewport.
... (not the height of its coordinate system.) value type: <length>|<percentage> ; default value: auto; animatable: yes preserveaspectratio how the svg fragment must be deformed if it is displayed with a different aspect ratio.
... value type: <list-of-numbers> ; default value: none; animatable: yes width the displayed width of the rectangular viewport.
...And 2 more matches
panel - Archive of obsolete content
function handleclick(state) { textentrypanel.show(); } // when the panel is displayed it generated an event called // "show": we will listen for that event and when it happens, // send our own "show" event to the panel's script, so the // script can prepare the panel for display.
...function handleclick(state) { textentrypanel.show(); } // when the panel is displayed it generated an event called // "show": we will listen for that event and when it happens, // send our own "show" event to the panel's script, so the // script can prepare the panel for display.
... margin: 10px; } body { background-color: gray; } </style> </head> <body> <textarea rows="13" cols="33" id="edit-box"></textarea> <script src="get-text.js"></script> </body> </html> styling panel content the panel's default style is different for each operating system: this helps to ensure that the panel's style is consistent with the dialogs displayed by firefox and other applications, but means you need to take care when applying your own styles.
...the context menu will be the same one that's displayed in web pages.
The Box Model - Archive of obsolete content
an hbox is oriented horizontally by default, meaning that its child nodes are displayed next to each other from left to right.
... a vbox is oriented vertically by default, its child nodes displayed one below the other from top to bottom.
... labels should generally be short, and they should always be displayed in a single line.
...the label is displayed with the expected link style so that users can easily recognize it as a link.
The Essentials of an Extension - Archive of obsolete content
<em:name>xul school hello world</em:name> <em:description>welcome to xul school!</em:description> <em:version>0.1</em:version> <em:creator>appcoast</em:creator> <em:homepageurl>https://developer.mozilla.org/docs/xul_school</em:homepageurl> this is the data that is displayed before and after the extension is installed, that you can see in the add-ons manager.
...most of these files are opened as text files, with the exception of xul files, which are executed and displayed like you would normally see them on a window.
...we call the getstring method of the bundle element and get the localized message to be displayed.
... exercise make the following changes to the example extension: edit the welcome message that is displayed in the alert window.
Supporting search suggestions in search plugins - Archive of obsolete content
once the list has been retrieved, it's displayed in a popup box that appears under the search bar, which lets the user select a suggested search term.
... if the user continues to type, a new set of suggestions is requested from the search engine, and the displayed list is refreshed.
...these can be any additional information the search engine might want to return to be displayed by the browser, such as the number of results available for that search.
... note: firefox requires that suggest requests complete within 500ms for suggestions to be displayed.
Adding preferences to an extension - Archive of obsolete content
we forcibly convert the symbol to upper-case since that's the way stock symbols are normally displayed.
... note that this call results in our stockwatcher.observe() method being invoked and displayed stock information being updated.
... refreshinformation() this method is slightly revised from previous versions, in that it needs to fetch the preference for the stock to watch and use that to construct the url to monitor, as well as to construct the string to be displayed in the status bar panel.
...(yhoo)" oncommand="stockwatcher.watchstock('yhoo')"/> </menupopup> </popupset> each item in the menu has a label property, which specifies the text displayed in the menu, as well as an oncommand property, which indicates the javascript code to execute when the user selects that item.
Introducing the Audio API extension - Archive of obsolete content
function loadedmetadata() { channels = audio.mozchannels; rate = audio.mozsamplerate; framebufferlength = audio.mozframebufferlength; } var audio = document.getelementbyid('audio-element'); audio.addeventlistener('loadedmetadata', loadedmetadata, false); </script> </body> </html> the mozaudioavailable event as the audio is played, sample data is made available to the audio layer and the audio buffer (size defined in mozframebufferlength) gets filled with those samples.
...those samples may or may not have been played yet at the time of the event and have not been adjusted for mute or volume settings on the media element.
...var currentsampleoffset = audiooutput.mozcurrentsampleoffset(); audio data written using the mozwriteaudio() method needs to be written at a regular interval in equal portions, in order to keep a little ahead of the current sample offset (the sample offset that is currently being played by the hardware can be obtained with mozcurrentsampleoffset()), where "a little" means something on the order of 500 ms of samples.
... it's also possible to auto-detect the minimal duration of the pre-buffer, such that the sound is played without interruptions, and lag between writing and playback is minimal.
HostWindow - Archive of obsolete content
location bar - a readonly textbox that contains the currently displayed url.
... when not displayed the entire location bar section is hidden.
...when the sidebar is displayed, the splitter can be used to change the width or quickly collapse it.
...when not displayed the entire sidebar area, including the splitter are hidden.
width - Archive of obsolete content
the actual displayed width may be different if the element or its contents have a minimum or maximum width, or the size is adjusted by the flexibility or alignment of its parent.
... in this example, the preferred width of the inner hbox will be displayed at 40 pixels.
... the displayed width is also 40 pixels as no flexibility or alignment applies.
... <hbox> <hbox width="40" style="background-color: red;"> <label value="40"/> </hbox> </hbox> however, in the following example, despite that the preferred width of the box is 30 pixels, the displayed size of the box will be larger to accommodate the larger label.
ContextMenus - Archive of obsolete content
on other platforms, the attribute will just be ignored and the menuitem will be displayed normally.
... note that the default attribute just affects how the item is displayed, it performs no other function itself.
... hiding and showing menu items based on context when the context menu is opened, a popupshowing event will fire before the popup is displayed.
... this may be used to adjust the items displayed on the menu.
textbox (Toolkit autocomplete) - Archive of obsolete content
minresultsforpopup new in thunderbird 3requires seamonkey 2.0 type: integer the minimum number of results that must be returned for the popup to be displayed.
...this event is only called when the text displayed would change, thus it is not called when the user presses non-displayable keys.
... size type: integer the number of characters that can be displayed in the textbox.
...for those elements, setattribute("value", myvalue) and getattribute("value") do not access or affect the contents displayed to the user.
Adding HTML Elements - Archive of obsolete content
example 1 : source view <html:p> search for: <html:input id="find-text"/> <button id="okbutton" label="ok"/> </html:p> this code will cause the text 'search for:' to be displayed, followed by an input element and an ok button.
...plain text will only be displayed when placed inside an html element that would normally allow you to display text (such as a p tag).
... text outside of one will not be displayed, unless the xul element the text is inside allows this (the description element, for example).
... <html:hr/> </html:div> expense report 1 what i did last summer <button id="yes" label="yes"/> <button id="no" label="no"/> as can be seen in the image, the text inside the div tag was displayed but the other text (expense report 1 and what i did last summer) was not.
Adding Labels and Images - Archive of obsolete content
text elements you cannot embed text directly into a xul file without tags around it and expect it to be displayed.
...an example is shown below: example 1 : source view <label value="this is some text"/> the value attribute can be used to specify the text that you wish to have displayed.
... the text will not wrap, so the text will all be displayed on a single line.
...example 4 : source view <description> this longer section of text is displayed.
Document Object Model - Archive of obsolete content
each xul file that is loaded will have its own document displayed in a window or frame.
...the actual document displayed in a window can be retrieved using the window's document property.
... our find files example it doesn't make sense to have the progress bar and the dummy tree data displayed when the find files dialog is first displayed.
...let's take them out now and have them displayed when the find button is pressed.
More Event Handlers - Archive of obsolete content
for example, the 'popupshowing' event is sent to a popup just before it is displayed.
...if the default action is prevented, the popup will not be displayed.
...we'll learn more about the box object in a later section, but it holds information pertaining to how the element is displayed, including the x and y position of the element.
...load events the load event is sent to the document (the window tag) once the xul file has finished loading and just before the content is displayed.
Open and Save Dialogs - Archive of obsolete content
default directory and filters there are two features you can set of the dialog before it is displayed.
... the first is the default directory that is displayed when the dialog is opened.
... the second is a filter that indicates the list of file types that are displayed in the dialog.
...to add filters, call the appendfilters() function to set the file types that you wish to have displayed.
Property Files - Archive of obsolete content
in addition, you may wish to display a message which is generated from a script, if, for example, you do not know the exact text to be displayed.
...these would be read by a script and displayed to the user.
...use a chrome url to read a file from the locale: <stringbundleset id="stringbundleset"> <stringbundle id="strings" src="chrome://myplugin/locale/strings.properties"/> </stringbundleset> like other non-displayed elements, you should declare all your stringbundles inside a stringbundleset element so that they are all kept together.
... finally, the string is displayed in an alert box.
XBL Example - Archive of obsolete content
this will be a widget that stores a deck of objects, each displayed one at a time.
...when getting this custom property, it will need to retrieve the value of the selectedindex attribute of the deck, which holds the number of the currently displayed page.
...this causes the requested page to be displayed.
... constructor we will also need a constructor to initialize the label element so that it displays correctly when the slideshow is first displayed.
XUL controls - Archive of obsolete content
menulist reference related elements: menupopup menuitem <menulist editable="true"> an editable menulist is like a standard menulist except that the selected value is displayed in a textbox where it may be modified directly or values not in the popup list may be entered.
...two arrow buttons are displayed for cycling through values.
... <timepicker value="12:05"/> timepicker reference <toolbarbutton> a button that is displayed on a toolbar.
... toolbarbutton reference related elements: toolbar <toolbarbutton type="menu"> a button that is displayed on a toolbar with a drop down menu attached to it.
datepicker - Archive of obsolete content
a monthchange event is fired for the grid and popup datepickers whenever a new month is navigated to or displayed.
... dateleadingzero type: boolean a read only value indicating whether a leading zero should be displayed before the date when it is less than 10.
... monthleadingzero type: boolean a read only value indicating whether a leading zero should be displayed before the month when it is less than 10.
... yearleadingzero type: boolean a read only value indicating whether a leading zero should be displayed before the year when it is less than 1000.
label - Archive of obsolete content
ArchiveMozillaXULlabel
if you wish to use the value none and the displayed text is larger than this maximum width, you may be able to use the max-width css property (or the maxwidth attribute) to override this size.
... monospace this class causes the text to be displayed in a monospace font.
... plain this class causes the element to be displayed with no border or margin.
... small-margin this class causes the text to be displayed with a smaller margin.
menu - Archive of obsolete content
ArchiveMozillaXULmenu
when the user clicks the menu element, the child menupopup of the menu will be displayed.
...if you wish to use the value none and the displayed text is larger than this maximum width, you may be able to use the max-width css property (or the maxwidth attribute) to override this size.
...for those elements, setattribute("value", myvalue) and getattribute("value") do not access or affect the contents displayed to the user.
...items are numbered starting at the first item displayed in the list.
menupopup - Archive of obsolete content
when the element is clicked with the left mouse button, the menupopup will be displayed.
...when a context menu is opened, the menupopup will be displayed.
...when the label is right-clicked, the menu will be displayed.
...each type of popup is intended to be displayed only temporarily; they are not expected to be displayed permanently.
textbox - Archive of obsolete content
only one line of text is displayed by default.
...this event is only called when the text displayed would change, thus it is not called when the user presses non-displayable keys.
... size type: integer the number of characters that can be displayed in the textbox.
... plain this class causes the element to be displayed with no border or margin.
window - Archive of obsolete content
this is used to hide chrome when showing in-browser ui such as the about:addons page, and causes the toolbars to be hidden, with only the tab strip (and, if currently displayed, the add-on bar) left showing.
...this is used to prevent the find bar from being displayed when it's not supported by the content (such as in the add-ons manager tab).
...the actual displayed height may be different if the element or its contents have a minimum or maximum height.
...the actual displayed width may be different if the element or its contents have a minimum or maximum width, or the size is adjusted by the flexibility or alignment of its parent.
Index - MDN Web Docs Glossary: Definitions of Web-related terms
142 favicon glossary, intro, favicon, user agent a favicon (favorite icon) is a tiny icon included along with a website, which is displayed in places like the browser's address bar, page tabs and bookmarks menu.
...it is the average time at which visible parts of the page are displayed.
... 489 web performance glossary, perceived performance, reference, web performance web performance is the objective time from when a request for content is made until the requested content is displayed in the user's browser, objective render times, and the subjective user experience of load time and runtime.
... 517 caret cursor, glossary, input, caret, insertion point, text cursor, text entry, text input, text insertion point a caret (sometimes called a "text cursor") is an indicator displayed on the screen to indicate where text input will be inserted.
Client-side form validation - Learn web development
setcustomvalidity(message): adds a custom error message to the element; if you set a custom error message, the element is considered to be invalid, and the specified error is displayed.
...the way this message is displayed depends on the browser.
... they depend on the browser locale, which means that you can have a page in one language but an error message displayed in another language, as seen in the following firefox screenshot.
...this renders the input invalid, so that when you try to submit the form, submission fails and the custom error message is displayed.
Build your own function - Learn web development
type the following in your browser's javascript console, on any page you like: alert('this is a message'); the alert function takes a single argument — the string that is displayed in the alert box.
... reload and try the code again and you'll see that it still works just fine, except that now you can also vary the message inside the parameter to get different messages displayed in the box!
...ace (}) of your function: if (msgtype === 'warning') { msg.style.backgroundimage = 'url(icons/warning.png)'; panel.style.backgroundcolor = 'red'; } else if (msgtype === 'chat') { msg.style.backgroundimage = 'url(icons/chat.png)'; panel.style.backgroundcolor = 'aqua'; } else { msg.style.paddingleft = '20px'; } here, if the msgtype parameter is set as 'warning', the warning icon is displayed and the panel's background color is set to red.
... if it is set to 'chat', the chat icon is displayed and the panel's background color is set to aqua blue.
Introduction to web APIs - Learn web development
every time you see a popup window appear on a page or some new content displayed, for example, that's the dom in action.
... audio and video apis like htmlmediaelement, the web audio api, and webrtc allow you to do really interesting things with multimedia such as creating custom ui controls for playing audio and video, displaying text tracks like captions and subtitles along with your videos, grabbing video from your web camera to be manipulated via a canvas (see above) or displayed on someone else's computer in a web conference, or adding effects to audio tracks (such as gain, distortion, panning, etc).
... to manipulate our track: const audiocontext = window.audiocontext || window.webkitaudiocontext; const audioctx = new audiocontext(); next, we create constants that store references to our <audio>, <button>, and <input> elements, and use the audiocontext.createmediaelementsource() method to create a mediaelementaudiosourcenode representing the source of our audio — the <audio> element will be played from: const audioelement = document.queryselector('audio'); const playbtn = document.queryselector('button'); const volumeslider = document.queryselector('.volume'); const audiosource = audioctx.createmediaelementsource(audioelement); next up we include a couple of event handlers that serve to toggle between play and pause when the button is pressed and reset the display back to the beginning ...
...the gain node is then connected to the destination node so the sound can be played on your computer (the audiocontext.destination property represents whatever is the default audiodestinationnode available on your computer's hardware, e.g.
Video and Audio APIs - Learn web development
we use the content property to set the content to be displayed in each case to be equal to the contents of the data-icon attribute.
...in this font, "p" is actually a "play" icon, so therefore the play button has a "play" icon displayed on it.
... we also give our inner <div> and <span> the right amount of z-index so that the timer will be displayed on top, and the inner <div> below that.
... all there is left to do after that is to set the displayed icon to the "play" icon.
Properly configuring server MIME types - Learn web development
mime types describe the media type of content either in email or served by web servers or web applications and are intended to help guide a web browser in how the content is to be processed and displayed.
... if the web server or application reports an incorrect mime type for content, a web browser has no way, according to the http specification, of knowing that the author actually intended the content to be processed and displayed in a way different from that implied by the reported mime type.
... for example, a web site oriented for web developers might wish to send certain example html documents as either text/html or text/plain in order to have the documents either processed and displayed as html or as source code.
... if the media type is displayed using a plug-in in netscape gecko, install the plug-in and then look in the help->about plug-ins menu to see what mime types are associated with the media type.
SVG Guidelines
this flexibility depends on doing computations for svg images at the time they're displayed, rather than at the time the author creates them.
...this work doesn't need to be redone when the image is displayed on someone else's computer.
... on the other hand, if the image is saved as an svg image then all this work needs to be done each time the svg is displayed on someone else's computer.
...although this kind of data is supported by the browser, it can only be displayed when the svg is opened in a new tab.
Index
when you use signtool -v, these entries are displayed with the string not present.
...note that the password entered on the command line is displayed as plain text.
... two signing certificates are displayed: verisign object signing cert and test object signing cert.
...ids are displayed in hexadecimal ("0x" is not shown).
Examine and edit CSS - Firefox Developer Tools
(note that this setting is independent of the "browser styles" checkbox in the computed view.) user-agent styles are displayed against a different background, and the link to the filename and line number contains the prefix (user agent): element {} rule the element {} rule at the top of the rules list isn't actually a css rule.
...lement: ::after ::backdrop ::before ::first-letter ::first-line ::selection :-moz-color-swatch :-moz-number-spin-box :-moz-number-spin-down :-moz-number-spin-up :-moz-number-text :-moz-number-wrapper :-moz-placeholder :-moz-progress-bar :-moz-range-progress :-moz-range-thumb :-moz-range-track :-moz-selection if the selected element has pseudo-elements applied to it, they are displayed before the selected element but hidden by a disclosure triangle: clicking the triangle displays them: viewing common pseudo-classes there's a button to the right of the filter box: click the button to see checkboxes that you can use to enable the :hover, :active and :focus, :focus-within and :visited pseudo-classes for the selected element: this feature can also be accessed from the po...
... link to css file at the top right of each rule, the source filename and line number is displayed as a link: clicking it opens the file in the style editor.
... when on, any rules defined for printing the page will be displayed similar to the "print preview" mode that many word processing applications provide.
about:debugging - Firefox Developer Tools
if your about:debugging page is different from the one displayed here, go to about:config, find and set the option devtools.aboutdebugging.new-enabled to true.
...the temporary extension is then displayed under the temporary extensions header.
... other information about the extension is displayed: location the location of the extension's source code on your local system.
... service workers not compatible a warning message is displayed at the top of the this firefox tab if service workers are incompatible with the current browser configuration, and therefore cannot be used or debugged.
Basic usage of canvas - Web APIs
fallback content the <canvas> element differs from an <img> tag in that, like for <video>, <audio>, or <picture> elements, it is easy to define some fallback content, to be displayed in older browsers not supporting it, like versions of internet explorer earlier than version 9 or textual browsers.
... you should always provide fallback content to be displayed by those browsers.
...if this tag is not present, the rest of the document would be considered the fallback content and wouldn't be displayed.
... checking for support the fallback content is displayed in browsers which do not support <canvas>.
Notification - Web APIs
possible values are: denied — the user refuses to have notifications displayed.
... granted — the user accepts having notifications displayed.
... notification.image read only the url of an image to be displayed as part of the notification, as specified in the constructor's options parameter.
...it is triggered when the notification is displayed.
PublicKeyCredentialRequestOptions.extensions - Web APIs
this text is displayed on a prompt of the authenticator before verifying the user or testing their presence.
... the client outputs a usvstring which is the text as it was displayed (line breaks may have been added).
...the contenttype gives the mime type of the resource to be displayed while content gives its actual content.
... the client outputs the hash of the content which was displayed (hashing with the same algorithm which is used for the signature).
TextTrackCue - Web APIs
the cue includes the start time (the time at which the text will be displayed) and the end time (the time at which it will be removed from the display), as well as other information.
... texttrackcue.starttime a double that represents the video time that the cue will start being displayed, in seconds.
... texttrackcue.endtime a double that represents the video time that the cue will stop being displayed, in seconds.
... texttrackcue.pauseonexit a boolean for whether the video will pause when this cue stops being displayed.
Web Video Text Tracks Format (WebVTT) - Web APIs
verlapping cue timing examples 00:00:00.000 --> 00:00:10.000 00:00:05.000 --> 00:01:00.000 00:00:30.000 --> 00:00:50.000 example 12 - non-overlapping cue timing examples 00:00:00.000 --> 00:00:10.000 00:00:10.000 --> 00:01:00.581 00:01:00.581 --> 00:02:00.100 00:02:01.000 --> 00:02:01.000 cue settings cue settings are optional components used to position where the cue payload text will be displayed over the video.
... this includes whether the text is displayed horizontally or vertically.
...there are five cue settings: vertical indicates that the text will be displayed vertically rather than horizontally, such as in some asian languages.
...in normal usage the payload contains the subtitles to be displayed.
@viewport - CSS: Cascading Style Sheets
WebCSS@viewport
min-width used in the determination of the width of the viewport when the document is first displayed.
... max-width used in the determination of the width of the viewport when the document is first displayed.
... min-height used in the determination of the height of the viewport when the document is first displayed.
... max-height used in the determination of the height of the viewport when the document is first displayed.
HTML attribute reference - HTML: Hypertext Markup Language
alt <applet>, <area>, <img>, <input> alternative text in case an image can't be displayed.
... reversed <ol> indicates whether the list should be displayed in a descending order instead of a ascending.
... target <a>, <area>, <base>, <form> specifies where to open the linked document (in the case of an <a> element) or where to display the response recieved (in the case of a <form> element) title global attribute text to be displayed in a tooltip when hovering over the element.
... usemap <img>, <input>, <object> value <button>, <data>, <input>, <li>, <meter>, <option>, <progress>, <param> defines a default value which will be displayed in the element on page load.
<caption>: The Table Caption element - HTML: Hypertext Markup Language
WebHTMLElementcaption
it may have one of the following values: left the caption is displayed to the left of the table.
... top the caption is displayed above the table.
... right the caption is displayed to the right of the table.
... bottom the caption is displayed below the table.
<input>: The Input (Form Input) element - HTML: Hypertext Markup Language
WebHTMLElementinput
<input type="file" accept="image/*, text/*" name="file"/> hidden a control that is not displayed but whose value is submitted to the server.
... autofocus a boolean attribute which, if present, indicates that the input should automatically have focus when the page has finished loading (or when the <dialog> containing the element has been displayed).
... results the maximum number of items that should be displayed in the drop-down list of previous search queries.
... orient results the results attribute—supported only by safari—is a numeric value that lets you override the maximum number of entries to be displayed in the <input> element's natively-provided drop-down menu of previous search queries.
<table>: The Table element - HTML: Hypertext Markup Language
WebHTMLElementtable
it may have the following values: left: the table is displayed on the left side of the document; center: the table is displayed in the center of the document; right: the table is displayed on the right side of the document.
... cellpadding this attribute defines the space between the content of a cell and its border, displayed or not.
... frame this enumerated attribute defines which side of the frame surrounding the table must be displayed.
...it can have the following values: none, which indicates that no rules will be displayed; it is the default value; groups, which will cause the rules to be displayed between row groups (defined by the <thead>, <tbody> and <tfoot> elements) and between column groups (defined by the <col> and <colgroup> elements) only; rows, which will cause the rules to be displayed between rows; columns, which will cause the rules to be displayed between columns; all, which will cause the rules to be displayed between rows and columns.
HTML elements reference - HTML: Hypertext Markup Language
WebHTMLElement
<sub> the html subscript element (<sub>) specifies inline text which should be displayed as subscript for solely typographical reasons.
... <sup> the html superscript element (<sup>) specifies inline text which is to be displayed as superscript for solely typographical reasons.
... <progress> the html <progress> element displays an indicator showing the completion progress of a task, typically displayed as a progress bar.
... <frame> <frame> is an html element which defines a particular area in which another html document can be displayed.
HTML documentation index - HTML: Hypertext Markup Language
WebHTMLIndex
105 <frame> deprecated, element, html, reference, web <frame> is an html element which defines a particular area in which another html document can be displayed.
... 178 <progress>: the progress indicator element element, html, html forms, html5, reference, web the html <progress> element displays an indicator showing the completion progress of a task, typically displayed as a progress bar.
... 199 <sub>: the subscript element baseline, element, footnotes, html, html text-level semantics, html:flow content, html:palpable content, html:phrasing content, reference, subscript, web, sub the html subscript element (<sub>) specifies inline text which should be displayed as subscript for solely typographical reasons.
... 201 <sup>: the superscript element element, html, html text-level semantics, html:flow content, html:palpable content, html:phrasing content, reference, web the html superscript element (<sup>) specifies inline text which is to be displayed as superscript for solely typographical reasons.
Add to Home screen - Progressive web apps (PWAs)
you'll see fox pictures, but more important, you'll see a "home" icon with a plus (+) icon inside it — this is the "add to home screen" icon displayed for any site that has the necessary features in place.
...the most relevant one to a2hs is the splash screen displayed when the app icon on the home screen is tapped and it first starts to load (this currently appears only when apps have been added to the home screen by chrome).
... display: specifies how the app should be displayed.
... name/short_name: these fields provide an app name to be displayed when representing the app in different places.
widget - Archive of obsolete content
contenturl: data.url("buttons.html") }); player.port.emit("init"); player.port.on("play", function() { console.log("playing"); }); player.port.on("pause", function() { console.log("pausing"); }); player.port.on("stop", function() { console.log("stopping"); }); attaching panels to widgets you can supply a panel to the widget's constructor: if you do this, the panel is automatically displayed when the user clicks the widget.
... optional options: name type content string an optional string value containing the displayed content of the widget.
...); var windows = require("sdk/windows").browserwindows; var widget = require("sdk/widget").widget({ id: "window-specific-test", label: "widget with content specific to each window", content: " ", width: 50 }); // observe tab switch or document changes in each existing tab: function updatewidgetstate(tab) { var view = widget.getview(tab.window); if (!view) return; // update widget displayed text: view.content = tab.url.match(/^https/) ?
ui/button/toggle - Archive of obsolete content
the label value inherited from the global state: browser: label = "my default" w1 t1 > displays "my default" t2 > displays "my default" w2 t3 > displays "my default" t4 > displays "my default" if you then set a label specific to t3 as "my t3 label", then set a label state specific to w2 as "my w2 label", then the button displayed when t3 is the active tab will still show "my t3 label", but the button displayed when t4 is the active tab will show "my w2 label": browser: label = "my default" w1 t1 > displays "my default" t2 > displays "my default" w2 t3 > displays "my t3 label" t4 > displays "my w2 label" setting the properties on the button instance...
... the badge can contain as many characters (or digits) as you like, but only the first four will be displayed.
... the badge can contain as many characters (or digits) as you like, but only the first four will be displayed.
Add a Context Menu Item - Archive of obsolete content
the item is displayed whenever something in the page is selected.
... label the label is just the string that's displayed.
...this is a url pointing to a 16x16 icon that's displayed at the left side of the context menu item.
Inline options - Archive of obsolete content
setting types there are several types of <setting>s, each with a different type attribute: type attribute displayed as preference stored as bool checkbox boolean boolint checkbox integer (use the attributes on and off to specify what values to store) integer textbox integer string textbox string color colorpicker string (in the #123456 format) file browse button and label string directory browse button and ...
...you can't do this until your options xul has been loaded into the add-on manager window, so you should listen for the addon-options-displayed notification to initialize your settings.
... for example: var observer = { observe: function(asubject, atopic, adata) { if (atopic == "addon-options-displayed" && adata == "my_addon@my_domain") { var doc = asubject; var control = doc.getelementbyid("myaddon-pref-control"); control.value = "test"; } } }; services.obs.addobserver(observer, "addon-options-displayed", false); // don't forget to remove your observer when your add-on is shut down.
Listening to events in Firefox extensions - Archive of obsolete content
pageshow dispatched when a page is newly displayed.
... for a tabbrowser, the above code will only get events from the browser that is currently displayed at the time the event occurs.
... in order to listen to events from all browsers, including those not currently being displayed, the following example can be used: var tabsprogresslistener = { // add tabs progress listener implementation here } gbrowser.addtabsprogresslistener(tabsprogresslistener); this lets you receive events related to all tabs.
XML data - Archive of obsolete content
you want the document's info elements to be displayed like html paragraphs.
... in the document's stylesheet, you specify how info elements are to be displayed: info { display: block; margin: 1em 0; } the most common values for the display property are: block displayed like html's div (for headings, paragraphs) inline displayed like html's span (for emphasis within text) add your own style rules that specify the font, spacing and other details in the same way as for html.
... the heading, "oceans", has a negative top margin, moving it up so it is displayed on top of the border.
Creating a status bar extension - Archive of obsolete content
human-readable information in this sample, we have four pieces of human-readable information; that is, information that is displayed to the user within the firefox interface.
...this name is displayed in the extensions window.
...this text is also displayed in the extensions window.
In-Depth - Archive of obsolete content
-moz-box-direction controls which way the items in this box are displayed.
... normal in english web browsers items are displayed top to bottom and left to right.
... this will flip it around so items inside of this box will be displayed bottom to top and right to left.
Editor Embedding Guide - Archive of obsolete content
typically it is displayed with monospace font.
...typically it is displayed with monospace font.
...typically it is displayed with monospace font.
Tamarin Build System Documentation - Archive of obsolete content
the waterfall page is located at http://tamarin-builds.mozilla.org/tamarin-redux/waterfall what builds are displayed on the build system status page?
... tamarin-redux mercurial builds are displayed in the top 3 sections: compile, smoke, test sandbox builds are displayed in next 3 sections: sandbox compile, sandbox smoke, sandbox test tamarin-central is considered a "sandbox" and will appear under sandbox phase what are the build phases?
... if buildbot is busy the queue is displayed http://tamarin-builds.mozilla.org/build_trigger/requestbuild.cfm the submitter of a sandbox build may remove a build request by clicking on the cancel button tamarin-redux builds are higher priority than sandbox builds, they cannot be removed but the most checkin including all new checkins are built how can i run buildbot scripts locally?
Building Hierarchical Trees - Archive of obsolete content
when the user opens the tree row, the next level of rows are generated from the template and displayed in the tree.
...in this example, the two group elements are displayed at the first level.
... the individual people are displayed at the next level of the tree as the builder recurses.
Sorting Results - Archive of obsolete content
for instance, if a list of photos was displayed in a two column tree showing the title and description, you could sort by either title or description.
...however, one situation where this is not desirable is if the displayed values would not generate the correct order as there is a different representation that is more accurate.
...this also has the advantage that the dates will be displayed according to the user's current locale (meaning that the date is formatted so as to be suitable for the user's language).
Anonymous Content - Archive of obsolete content
although anonymous content is displayed on screen, you cannot get to it through a script in the normal way.
...using the children element there may be times when you want both the xbl content and the content provided by the xul file to be displayed.
...let's say that we wanted to create a widget that displayed an image with a zoom in and zoom out button on each side of it.
Content Panels - Archive of obsolete content
each time the user clicks the next button, the next screen of the wizard is displayed.
...in the mozilla browser window, the area where the web page is displayed is created by using an iframe.
...both types of browser offer similar control over pages that are displayed.
Grids - Archive of obsolete content
ArchiveMozillaXULTutorialGrids
the order of the elements in the grid determines which is displayed on top and which is placed underneath.
... if the rows element is placed after the columns element, the content within the rows is displayed on top.
... if the columns element is placed after the rows element, the content within the columns is displayed on top.
More Wizards - Archive of obsolete content
on the page with the page id font, we can see that the next page is done, so that page will be displayed afterwards.
... wizard functions the wizard works much like a tabbed panel, except that the tabs are not displayed and the user navigates between pages by using the buttons along the bottom.
... another useful property of the wizard is currentpage, which holds a reference to the currently displayed wizardpage.
Tree Selection - Archive of obsolete content
in the image, there are eight rows displayed, of which two are selected.
...the rows that are not displayed are not included in the index count.
...an alert is displayed for each index.
Trees and Templates - Archive of obsolete content
three values are possible: ascending the data is displayed is ascending order.
... descending the data is displayed is descending order.
... natural the data is displayed in natural order, which means the order the data is stored in the rdf datasource.
XUL Structure - Archive of obsolete content
the tree is then converted into a set of objects that can be displayed on the screen.
...this distinction is not based on the kind of content being displayed; only on the type of url used.
... locale - locale specific files all the text that is displayed within a window is stored separately.
menuitem - Archive of obsolete content
if you wish to use the value none and the displayed text is larger than this maximum width, you may be able to use the max-width css property (or the maxwidth attribute) to override this size.
... key type: id set to the id of a key element whose key shortcut is displayed in the menuitem.
...for those elements, setattribute("value", myvalue) and getattribute("value") do not access or affect the contents displayed to the user.
toolbarbutton - Archive of obsolete content
if you wish to use the value none and the displayed text is larger than this maximum width, you may be able to use the max-width css property (or the maxwidth attribute) to override this size.
...the text that is displayed as a button's label when it's in the customize toolbar palette.
...this will typically cause the button to be displayed differently.
treecell - Archive of obsolete content
none no progress meter is displayed.
... the cell text is displayed instead.
...for those elements, setattribute("value", myvalue) and getattribute("value") do not access or affect the contents displayed to the user.
wizard - Archive of obsolete content
the pages are displayed in the order that they are placed in the wizard, unless you use the next and pageid attributes on the pages to change the sequence.
... currentpage type: wizardpage element this property returns the wizardpage element that is currently displayed.
... goto( pageid ) return type: no return value this method is used to change which page is currently displayed, specified by the pageid argument.
Common Firefox theme issues and solutions - Archive of obsolete content
app button not styled on linux, but is styled on windows on linux the firefox app button that is displayed when tabs are on top and menu bar is disabled is not styled properly compared to windows and is not changing colors when in private browsing mode.
... toolbars and menus firefox application button application button doesn't change styling for private browsing mode when in private browsing mode there needs to be a visual difference to the firefox app button that is displayed when tabs are on top and the menu bar is disabled.
... address bar "door hangers" door hanger sync panel not styled the sync panel at the bottom of the "door hanger" for the save password panel displayed when a user logs into a website needs to be styled to match rest of panel including border.
-ms-overflow-style - Archive of obsolete content
none scrollbars are never displayed, although the element can still be scrolled if the element's content overflows.
... scrollbar "traditional" scrollbars are displayed if the element's content overflows.
...auto-hiding scrollbars are displayed during scrolling or shortly after the pointer interacts with the page, and are hidden shortly after scrolling and pointer interaction stops.
Accessible multimedia - Learn web development
chapter titles — chapter markers intended to help the user navigate the media resource implementing html5 video text tracks text tracks for displaying with html5 video need to be written in webvtt, a text format containing multiple strings of text along with metadata such as what time in the video you want each text string to be displayed, and even limited styling/positioning information.
... to get this displayed along with the html media playback, you need to: save it as a .vtt file in a sensible place.
... here's an example: <video controls> <source src="example.mp4" type="video/mp4"> <source src="example.webm" type="video/webm"> <track kind="subtitles" src="subtitles_en.vtt" srclang="en"> </video> this will result in a video that has subtitles displayed, kind of like this: for more details, please read adding captions and subtitles to html5 video.
Pseudo-classes and pseudo-elements - Learn web development
:current matches the element, or an ancestor of the element, that is currently being displayed.
... :playing matches an element representing an audio, video, or similar resource that is capable of being “played” or “paused”, when that element is “playing”.
... :paused matches an element representing an audio, video, or similar resource that is capable of being “played” or “paused”, when that element is “paused”.
Responsive design - Learn web development
sidebars could be repositioned for the smaller screen, or alternate navigation could be displayed.
... for example, the following media query tests to see if the current web page is being displayed as screen media (therefore not a printed document) and the viewport is at least 800 pixels wide.
...the image might be displayed a lot smaller than its intrinsic size, which is a waste of bandwidth — a mobile user may be downloading an image several times the size of what they actually see in the browser window.
Other form controls - Learn web development
roups of values: <select id="groups" name="groups"> <optgroup label="fruits"> <option>banana</option> <option selected>cherry</option> <option>lemon</option> </optgroup> <optgroup label="vegetables"> <option>carrot</option> <option>eggplant</option> <option>potato</option> </optgroup> </select> on the <optgroup> element, the value of the label attribute is displayed before the values of the nested options.
... <option selected>cherry</option> <option>lemon</option> </optgroup> <optgroup label="vegetables"> <option>carrot</option> <option>eggplant</option> <option>potato</option> </optgroup> </select> note: in the case of multiple choice select boxes, you'll notice that the select box no longer displays the values as drop-down content — instead, all values are displayed at once in a list, with the optional size attribute determining the height of the widget.
... for example, in browsers that support <datalist> on range input types, a small tick mark will be displayed above the range for each datalist <option> value.
Introduction to events - Learn web development
a video is played, paused, or finishes.
...it's just a copy of the simple random color example we've played with already.
...here is a <a href="rabbit320.mp4">link to the video</a> instead.</p> </video> </div> when the <button> is selected, the video is displayed, by changing the class attribute on the <div> from hidden to showing (the example's css contains these two classes, which position the box off the screen and on the screen, respectively): btn.onclick = function() { videobox.setattribute('class', 'showing'); } we then add a couple more onclick event handlers — the first one to the <div> and the second one to the <video>.
Image gallery - Learn web development
the html body looks like this: <h1>image gallery example</h1> <div class="full-img"> <img class="displayed-img" src="images/pic1.jpg"> <div class="overlay"></div> <button class="dark">darken</button> </div> <div class="thumb-bar"> </div> the example looks like this: the most interesting parts of the example's css file: it absolutely positions the three elements inside the full-img <div> — the <img> in which the full-sized image is displayed, an empty <div> that is sized to be the sam...
... attach an onclick handler to each <img> inside the thumb-bar <div> so that when they are clicked, the corresponding image is displayed in the displayed-img <img> element.
...set the src attribute value of the displayed-img <img> to the src value passed in as a parameter.
Arrays - Learn web development
in an animated scene for example, you might have an array of objects representing the background graphics currently displayed, and you might only want 50 displayed at once, for performance or clutter reasons.
...the idea is that when terms are entered in the search box, the top 5 previous search terms are displayed in the list.
... when the number of terms goes over 5, the last term starts being deleted each time a new term is added to the top, so the 5 previous terms are always displayed.
What is JavaScript? - Learn web development
every time you see a popup window appear on a page, or some new content displayed (as we saw above in our simple demo) for example, that's the dom in action.
...client-side code is code that is run on the user's computer — when a web page is viewed, the page's client-side code is downloaded, then run and displayed by the browser.
... server-side code on the other hand is run on the server, then its results are downloaded and displayed in the browser.
Componentizing our Svelte app - Learn web development
filterbutton.svelte: the all, active, and completed buttons that allow you to apply filters to the displayed todo items.
...each visible todo item will be displayed in a separate copy of this component.
... update the {#each} block inside todos.svelte like so: <ul role="list" class="todo-list stack-large" aria-labelledby="list-heading"> {#each filtertodos(filter, todos) as todo (todo.id)} <li class="todo"> <todo {todo} /> </li> {:else} <li>nothing to do here!</li> {/each} </ul> the list of todos is displayed on the page, and the checkboxes should work (try checking/unchecking a couple, and then observing that the filters still work as expected), but our "x out of y items completed" status heading will no longer update accordingly.
Software accessibility: Where are we today?
these applications assumed that computer users could: read and react to text and images displayed on the screen.
... select text, pictures, and other information using a mouse react to sounds played.
...some examples of these assistive devices and software include: screen reading software, which speaks text displayed on the screen using hardware or software text-to-speech, and which allows a blind person to use the keyboard to simulate mouse actions alternate input devices, which allow people with physical disabilities to use alternatives to a keyboard and mouse voice recognition software, which allows a person to simulate typing on a keyboard or selecting with a mouse by speaking into the computer scre...
Debugging Frame Reflow
when the frame's reflow is finished the following information is displayed : reflow metric (desired) width, height max.
...for these frames the overflow area is displayed as block 025ed8f0 d=8940,1020 o=(0,0) 9180 x 1020.
...gecko_display_reflow_indent_undisplayed_frames setting this option via set gecko_display_reflow_indent_undisplayed_frames = 1 will cause an advance of the indent even for frames which are blocked via the reflow rules file.
Inner and outer windows
an inner window represents the actual content being displayed; it's the current view of what the user sees.
...they get displayed in the outer window, which is contained in the "physical" browser window.
...if the document currently being displayed asks "what window am i in?", it gets the outer window as the answer.
Using the Browser API
MozillaGeckoChromeAPIBrowser APIUsing
when this fires, we set the value inside the url bar input to be equal to the event object detail property — this is so that the url displayed continues to match the website being shown when the user navigates back and forth through the history.
...as in a traditional browser, this is a single button that acts as a reload button when the page has finished loading, and a stop button while the page is loading (each with a different icon displayed).
... back to the stop/reload button — updating the icon is nice, but we also need to update the functionality that is invoked when each icon is displayed.
Mozilla Web Developer FAQ
the value of the alt attribute is a textual replacement for the image and is displayed when the image isn’t.
...in fact, the html 4.01 specification suggests that the title attribute may be displayed as a tooltip.
... <font face="symbol">a</font> means the character latin small letter a (u+0061) preferably displayed using the symbol font.
NSS tools : signtool
when you use signtool -v, these entries are displayed with the string not present.
...note that the password entered on the command line is displayed as plain text.
... two signing certificates are displayed: verisign object signing cert and test object signing cert.
Animated PNG graphics
MozillaTechAPNG
terminology the default image is the image described by the standard 'idat' chunks, and is the image that is displayed by decoders that do not support apng.
... the canvas is the area on the output device on which the frames are to be displayed.
...an error message may be displayed to the user if appropriate.
Gecko Roles
role_tooltip represents a tooltip that provides helpful hints; this is generally displayed at the mouse cursor position.
... role_character represents a cartoon-like graphic object, such as microsoft office assistant, which is displayed to provide help to users of an application.
... role_spinbutton represents a spin box, which is a control that allows the user to increment or decrement the value displayed in a separate "buddy" control associated with the spin box.
Index
MozillaTechXPCOMIndex
however, such decoders relied on servers sending correct mime types; images sent with incorrect mime types would not be correctly displayed.
... 323 nsialertsservice interfaces, interfaces:scriptable, xpcom, xpcom api reference, xpcom interface reference by default a message is displayed in a small window that slides up from the bottom of the screen, holds there for a few seconds, then slides down.
...the information is intended to be displayed to the user in some meaningful way.
Observer Notifications
final-ui-startup triggered just before the first window for the application is displayed.
... null this notification is sent when the context menu is displayed.
... it's used by the context-menu module in the add-on sdk, to help send information to the context-menu code running in the chrome process when a context menu is displayed.
nsIAlertsService
1.0 66 introduced gecko 1.7 inherits from: nsisupports last changed in gecko 22 (firefox 22 / thunderbird 22 / seamonkey 2.19) by default a message is displayed in a small window that slides up from the bottom of the screen, holds there for a few seconds, then slides down.
...if the text is too long, try to use line returns in the text to have it split and displayed over multiple lines.
... name optional a name for the notification; this is not displayed in the alert.
nsIMsgWindowCommands
method overview void selectfolder(in acstring folderuri); void selectmessage(in acstring messageuri); void clearmsgpane(); methods selectfolder() this method is called by the backend to change the folder displayed in the message window.
... selectmessage() this method is called by the backend to change the displayed message.
... for instance, when deleting attachments, this causes the message to be redisplayed.
nsIPromptService
abutton0title caption displayed for button 0 if(button_title_is_string*button_title_pos_0) flags are set in abuttonflags abutton1title caption displayed for button 1 if(button_title_is_string*button_title_pos_1) flags are set in abuttonflags abutton2title caption displayed for button 2 if(button_title_is_string*button_title_pos_2) flags are set in abuttonflags acheckmsg text to appear with the checkbox.
... null if no checkbox is displayed.
...the checkbox is not displayed.
nsISound
void playsystemsound( in astring soundalias ); parameters soundalias two different types of names are supported: you can specify the name of a system sound provided by the host operating system; for example, if you specify "systemexclamation", you can play the windows alert sound, but it's played only on windows.
... similarly, if you specify "blow", you can play the mac os x "blow" system sound, but, similarly, it's played only on the macintosh.
... typically, it will be more useful to request that appropriate sounds be played based on which event you wish to represent by the sound effect.
Flash Activation: Browser Comparison - Plugins
ui comparison mozilla firefox in-page ui is displayed when the site attempts to use flash.
...the user can click on the flash object or the location bar icon to activate flash: users have the choice to allow flash just for the current session, or to remember their choice: google chrome in-page ui is displayed when the site attempts to use flash without fallback content: a user can click the plugin element to show a prompt for allowing flash: if the site provides fallback content for an object element, chrome will display that content and will not prompt the user to enable flash.
... a user can click the information icon on the left side of the location bar on any site to open the site information and allow flash on that site: microsoft edge in-page ui is displayed when the site attempts to use flash.
URLs - Plugins
the target parameter represents the destination where the url will be displayed, a window or frame.
...the url can be displayed in the same window or frame, a new window, or a different window or frame, depending on the value of the target parameter.
...the response from the server is displayed in a new window.
Deprecated tools - Firefox Developer Tools
the results are displayed in the console output, to the right of the input, providing immediate feedback.
... unlike in scratchpad, errors are properly displayed in the output with an expandable stacktrace, making it easier to debug the code you're currently writing.
...some non-audioparam properties, like an oscillatornode's type property, were displayed and editable as well.
Measure a portion of the page - Firefox Developer Tools
now when you mouse over the viewport, you'll see the mouse has a crosshair cursor with its current coordinates displayed beside it.
... when you hold the mouse button down and then drag, you'll start to draw a rectangle, with its x, y, and diagonal dimensions displayed.
... when you stop holding the mouse down, the rectangle that was displayed on screen when you released the button will stay there until you click again, allowing you time to take screenshots, note the information down, etc.
Work with animations - Firefox Developer Tools
the timeline starts at the start of the first animation, ends at the end of the last animation, and is labeled with markers every 250 milliseconds (this depends on the time scale of the animations currently displayed).
... animation playback at the top of the animation inspector: there are buttons to play/pause and restart the animation there's a dropdown to change the animation playback rate the current time in the animation is displayed.
...in this case, the message is "animations of 'transform' cannot be run on the compositor when geometric properties are animated on the same element at the same time." edit @keyframes any @keyframes rules associated with the currently selected element are displayed in the rules view and are editable: edit timing functions when you create a css animation you can specify a timing function: this determines the rate at which the animation progresses.
Background Tasks API - Web APIs
this code draws any pending updates to the document currently being displayed, runs any javascript code the page needs to run, accepts events from input devices, and dispatches those events to the elements that should receive them.
... if the current maximum value of the progress bar is different from the current total number of enqueued tasks (totaltaskcount), then we update the contents of the displayed total number of tasks (totaltaskcountelem) and the maximum value of the progress bar, so that it scales properly.
... we do the same thing with the number of tasks processed so far; if progressbarelem.value is different from the task number currently being processed (currenttasknumber), then we update the displayed value of the currently-being-processed task and the current value of the progress bar.
BaseAudioContext.createBuffer() - Web APIs
the createbuffer() method of the baseaudiocontext interface is used to create a new, empty audiobuffer object, which can then be populated by data, and played via an audiobuffersourcenode for more details about audio buffers, check out the audiobuffer reference page.
... examples first, a couple of simple trivial examples, to help explain how the parameters are used: var audioctx = new audiocontext(); var buffer = audioctx.createbuffer(2, 22050, 44100); if you use this call, you will get a stereo buffer (two channels), that, when played back on an audiocontext running at 44100hz (very common, most normal sound cards run at this rate), will last for 0.5 seconds: 22050 frames / 44100hz = 0.5 seconds.
... var audioctx = new audiocontext(); var buffer = audioctx.createbuffer(1, 22050, 22050); if you use this call, you will get a mono buffer (one channel), that, when played back on an audiocontext running at 44100hz, will be automatically *resampled* to 44100hz (and therefore yield 44100 frames), and last for 1.0 second: 44100 frames / 44100hz = 1 second.
Determining the dimensions of elements - Web APIs
what's the size of the displayed content?
... if you need to know how much space the actual displayed content takes up, including padding but not including the border, margins, or scrollbars, you want to use the element.clientwidth and element.clientheight properties: how big is the content?
... for example, if a 600x400 pixel element is being displayed inside a 300x300 pixel scrollbox, scrollwidth will return 600 while scrollheight will return 400.
Using files from web applications - Web APIs
function handlefiles(files) { for (let i = 0; i < files.length; i++) { const file = files[i]; if (!file.type.startswith('image/')){ continue } const img = document.createelement("img"); img.classlist.add("obj"); img.file = file; preview.appendchild(img); // assuming that "preview" is the div output where the content will be displayed.
...e looks like this: <input type="file" id="fileelem" multiple accept="image/*" style="display:none"> <a href="#" id="fileselect">select some files</a> <div id="filelist"> <p>no files selected!</p> </div> this establishes our file <input> element as well as a link that invokes the file picker (since we keep the file input hidden to prevent that less-than-attractive user interface from being displayed).
...they can be used to display embedded pdf files or any other resources that can be displayed by the browser.
Guide to the Fullscreen API - Web APIs
for example, <iframe> elements have the allowfullscreen attribute in order to opt-in to allowing their content to be displayed in fullscreen mode.
...attempting to put an element which can't be displayed in fullscreen mode (or the parent or descendant of such an element) won't work.
... other information the document provides some additional information that can be useful when developing fullscreen web applications: documentorshadowroot.fullscreenelement the fullscreenelement property tells you the element that's currently being displayed fullscreen.
HTMLObjectElement - Web APIs
htmlobjectelement.height returns a domstring that reflects the height html attribute, specifying the displayed height of the resource in css pixels.
... htmlobjectelement.typemustmatch is a boolean that reflects the typemustmatch html attribute, indicating if the resource specified by data must only be played if it matches the type attribute.
... htmlobjectelement.width is a domstring that reflects the width html attribute, specifying the displayed width of the resource in css pixels.
MediaMetadata.MediaMetadata() - Web APIs
syntax var mediametadata = new mediametadata([metadata]) parameters metadata optional the metadata parameters are as follows: title: the title of the media to be played.
...of the media to be played.
... album: the name of the album, or collection, containing the media to be played.
MediaMetadata - Web APIs
properties mediametadata.title returns or sets the title of the media to be played.
...of the media to be played.
... mediametadata.album returns or sets the name of the album or collection containing the media to be played.
MediaPositionState.playbackRate - Web APIs
the mediapositionstate dictionary's playbackrate property is used when calling the mediasession method setpositionstate() to tell the user agent the rate at which media is currently being played.
...a value of 1.0 indicates the media is playing forward at normal speed, while higher values indicate that the media is being played faster than normal.
... lower values indicate the media is being played more slowly.
msFirstPaint - Web APIs
msfirstpaint is a read-only property which gets the time when the document loaded by the window object began to be displayed to the user.
... syntax p = object.msfirstpaint; value an integer value that represents the time when the document began to be displayed or 0 if the document could not be loaded.
... this property is supported only for documents displayed in ie9 standards mode.
Notification.Notification() - Web APIs
body: a domstring representing the body text of the notification, which is displayed below the title.
... icon: a usvstring containing the url of an icon to be displayed in the notification.
... image: a usvstring containing the url of an image to be displayed in the notification.
RTCRtpContributingSource - Web APIs
the rtcrtpcontributingsource dictionary of the the webrtc api is used by getcontributingsources() to provide information about a given contributing source (csrc), including the most recent time a packet that the source contributed was played out.
... properties audiolevel optional a double-precision floating-point value between 0 and 1 specifying the audio level contained in the last rtp packet played from this source.
... rtptimestamp optional the rtp timestamp of the media played out at the time indicated by timestamp.
Color masking - Web APIs
« previousnext » this webgl example modifies random colors by applying color masking to limit the range of displayed colors to specific shades.
...by masking off some channel(s), we are in fact biasing the displayed colors towards the complementary color.
... <p>tinting the displayed colors with color masking.</p> <canvas>your browser does not seem to support html5 canvas.</canvas> <button id="red-toggle">on</button> <button id="green-toggle">on</button> <button id="blue-toggle">on</button> body { text-align : center; } canvas { display : block; width : 280px; height : 210px; margin : auto; padding : 0; border : none; background-color : black; } button {...
Signaling and video calling - Web APIs
here we set up the handler for each connected user in the user list displayed to the left of the chat panel.
... break; default: alert("error opening your camera and/or microphone: " + e.message); break; } closevideocall(); } an error message is displayed in all cases but one.
... once this code has completed, finally the video being sent by the other peer is displayed in the local browser window!
Basic concepts behind Web Audio API - Web APIs
audio buffers: frames, samples and channels an audiobuffer takes as its parameters a number of channels (1 for mono, 2 for stereo, etc), a length, meaning the number of sample frames inside the buffer, and a sample rate, which is the number of sample frames played per second.
... if you use this call above, you will get a stereo buffer with two channels, that when played back on an audiocontext running at 44100hz (very common, most normal sound cards run at this rate), will last for 0.5 seconds: 22050 frames/44100hz = 0.5 seconds.
... var context = new audiocontext(); var buffer = context.createbuffer(1, 22050, 22050); if you use this call, you will get a mono buffer with just one channel), that when played back on an audiocontext running at 44100hz, will be automatically resampled to 44100hz (and therefore yield 44100 frames), and last for 1.0 second: 44100 frames/44100hz = 1 second.
marks - CSS: Cascading Style Sheets
WebCSS@pagemarks
syntax /* keyword values */ marks: none; marks: crop; marks: cross; marks: crop cross; values crop crop marks will be displayed.
... cross cross marks will be displayed.
... none no marks will be displayed.
Adding captions and subtitles to HTML5 video - Developer guides
for this article we will refer to the text tracks displayed as subtitles, as their content is aimed at hearing people who have difficulty understanding the language of the film, rather than deaf or hard-of-hearing people.
... building a caption menu our aim is to use the subtitles button we added earlier to display a menu that allows users to choose which language they want the subtitles displayed in, or to turn them off entirely.
...:absolute; bottom:14.8%; right:20px; background:#666; list-style-type:none; margin:0; padding:0; width:100px; padding:10px; } .subtitles-menu li { padding:0; text-align:center; } .subtitles-menu li button { border:none; background:#000; color:#fff; cursor:pointer; width:90%; padding:2px 5px; border-radius:2px; } styling the displayed subtitles one of the less well known about and supported features of webvtt is the ability to style the individual subtitles (something called text cues) via css extensions.
Audio and Video Delivery - Developer guides
iles --> <track src="subtitles_en.vtt" kind="subtitles" srclang="en" label="english"> <track src="subtitles_no.vtt" kind="subtitles" srclang="no" label="norwegian"> <!-- fallback for browsers that don't support video tag --> <a href="videofile.mp4">download video</a> </video> the code above creates a video player of dimensions 640x480 pixels, displaying a poster image until the video is played.
...the general technique for achieving this is to omit the controls attribute so that the default browser controls are not displayed, create custom controls using html and css, then use javascript to link your controls to the audio/video api.
... var mediaelement = document.queryselector('#mediaelementid'); mediaelement.seekable.start(0); // returns the starting time (in seconds) mediaelement.seekable.end(0); // returns the ending time (in seconds) mediaelement.currenttime = 122; // seek to 122 seconds mediaelement.played.end(0); // returns the number of seconds the browser has played specifying playback range when specifying the uri of media for an <audio> or <video> element, you can optionally include additional information to specify the portion of the media to play.
Media events - Developer guides
canplay sent when enough data is available that the media can be played, at least for a couple of frames.
... canplaythrough sent when the readystate changes to have_enough_data, indicating that the entire media can be played without interruption, assuming the download rate remains at least at the current level.
... mozaudioavailable sent when an audio buffer is provided to the audio layer for processing; the buffer contains raw audio samples that may or may not already have been played by the time you receive the event.
Overview of events and handlers - Developer guides
the displayed page remains unchanged until the browser requests a new page.
... button event handler demo for example, browser <button> elements are intended to emit events named 'click' in response to a mouse click or, when displayed in touch sensitive surfaces, to a finger tap.
... the global object window emits an event called 'load' when the page has finished rendering, meaning that all resources have been downloaded and acted upon, so that the scripts have been run and the images displayed, the global object window emits an event called 'resize' when the height or the width of the browser window is changed by a user, the dom object document representing the html document emits an event called 'domcontentloaded' when the document has finished loading, the dom node objects such as div or button emit an event called 'click' when the user presses the mouse button while the mouse poi...
<li> - HTML: Hypertext Markup Language
WebHTMLElementli
in menus and unordered lists, list items are usually displayed using bullet points.
... in ordered lists, they are usually displayed with an ascending counter on the left, such as a number or letter.
...the only allowed value for this attribute is a number, even if the list is displayed with roman numerals or letters.
<shadow>: The obsolete Shadow Root element - HTML: Hypertext Markup Language
WebHTMLElementshadow
--> <div> <!-- this heading will not be displayed --> <h4>my original heading</h4> </div> <script> // get the <div> above with its content var origcontent = document.queryselector('div'); // create the first shadow root var shadowroot1 = origcontent.createshadowroot(); // create the second shadow root var shadowroot2 = origcontent.createshadowroot(); // insert something into the older shadow root shadowr...
... // the previous markup will not be displayed unless // <shadow> is used below.
... shadowroot2.innerhtml = '<shadow></shadow> <p>younger shadow root, displayed because it is the youngest.</p>'; </script> </body> </html> if you display this in a web browser it should look like the following.
Content-Disposition - HTTP
in a regular http response, the content-disposition response header is a header indicating if the content is expected to be displayed inline in the browser, that is, as a web page or as part of a web page, or as an attachment, that is downloaded and saved locally.
... header type response header (for the main body) general header (for a subpart of a multipart body) forbidden header name no syntax as a response header for the main body the first parameter in the http context is either inline (default value, indicating it can be displayed inside the web page, or as the web page) or attachment (indicating it should be downloaded; most browsers presenting a 'save as' dialog, prefilled with the value of the filename parameters if present).
... examples a response triggering the "save as" dialog: 200 ok content-type: text/html; charset=utf-8 content-disposition: attachment; filename="cool.html" content-length: 21 <html>save me!</html> this simple html file will be saved as a regular download rather than displayed in the browser.
X-Frame-Options - HTTP
deny the page cannot be displayed in a frame, regardless of the site attempting to do so.
... sameorigin the page can only be displayed in a frame on the same origin as the page itself.
...in supporting legacy browsers, a page can be displayed in a frame only on the specified origin uri.
short_name - Web app manifests
type string mandatory no the short_name member is a string that represents the name of the web application displayed to the user if there is not enough space to display name (e.g., as a label for an icon on the phone home screen).
... short_name is directionality-capable, which means it can be displayed left-to-right or right-to-left based on the value of the dir and lang manifest members.
... examples simple short_name in left-to-right language: "name": "awesome application", "short_name": "awesome app" short_name in arabic, which will be displayed right-to-left: "dir": "rtl", "lang": "ar", "name": "تطبيق رائع", "short_name": "رائع" specification specification status comment feedback web app manifestthe definition of 'short_name' in that specification.
Autoplay guide for media and Web Audio APIs - Web media technologies
you can also specify 'none' to disable autoplay entirely, '*' to allow autoplay from all domains, or one or more specific origins from which media can be automatically played.
... feature-policy: autoplay 'self'; fullscreen the same permissions, grated using the <iframe> element's allow property, look like this: <iframe src="mediaplayer.html" allow="autoplay 'src'; fullscreen"> </iframe> example: allowing autoplay from specific sources the feature-policy header to allow media to be played from both the document's (or <iframe>'s) own domain and https://example.media looks like this: feature-policy: autoplay 'self' https://example.media an <iframe> can be written to specify that this autoplay policy should be applied to itself and any child frames would be written thusly: <iframe width="300" height="200" src="mediaplayer.html" allow="autoplay 'src' https://example...
... media.autoplay.allow-muted a boolean preference which if true (the default) allows audio media which is currently muted to be automatically played.
Image file type and format guide - Web media technologies
another popular feature of gif is support for interlacing, where rows of pixels are stored out of order so that partially-received files can be displayed in lower quality.
...however, early versions of internet explorer introduced the ability for a web site to provide a ico file named favicon.ico in a web site's root directory to specify a favicon — an icon to be displayed in the favorites menu, and other places where an iconic representation of the site would be useful.
... for example, if you're displaying a diagram best displayed with svg, but wish to offer a fallback to a png or gif of the diagram, you would do something like this: <picture> <source srcset="diagram.svg" type="image/svg+xml"> <source srcset="diagram.png" type="image/png"> <img src="diagram.gif" width="620" height="540" alt="diagram showing the data channels"> </picture> you can specify as many <source>s as you wish, though typically 2 or 3...
Populating the page: how browsers work - Web Performance
building the cssom is very, very fast and is not displayed in a unique color in current developer tools.
... tags that aren't going to be displayed, like the <head> and its children and any nodes with display: none, such as the script { display: none; } you will find in user agent stylesheets, are not included in the render tree as they will not appear in the rendered output.
...the render tree identified which nodes are displayed (even if invisible) along with their computed styles, but not the dimensions or location of each node.
passwords - Archive of obsolete content
the realm is displayed in firefox's password manager, under "site", in brackets after the url.
... the realm is displayed in firefox's password manager, under "site", in brackets after the url.
self - Archive of obsolete content
for data that can be displayed directly in a content frame, use data.url().
...it is most useful for data that can be displayed directly in a content frame.
ui/button/action - Archive of obsolete content
the badge can contain as many characters (or digits) as you like, but only the first four will be displayed.
... the badge can contain as many characters (or digits) as you like, but only the first four will be displayed.
Adding Toolbars and Toolbar Buttons - Archive of obsolete content
it points to the id of a popup element that holds the customization options that are displayed when the user right-clicks on the toolbar.
...you can enter this url in firefox on linux, and the corresponding icon will be displayed.
Adding menus and submenus - Archive of obsolete content
the separator is usually displayed as a horizontal line that creates a logical division between different types of menuitem elements, keeping everything more organized.
...instead of setting the menupopup directly in the xul, you can use the onpopupshowing event to fill the children when the popup is about to be displayed.
Handling Preferences - Archive of obsolete content
pref("extensions.xulschoolhello.message.count", 0); this defines a preference we'll use to keep track of the amount of times we have displayed a greeting message to the user.
... in most cases, your preferences window will have a few options that can be displayed all at once.
JavaScript Object Management - Archive of obsolete content
the load event is fired after the dom on the window has loaded completely, but before it's displayed to the user.
...modify the hello world extension so that the message says how many times it has been displayed.
Signing an XPI - Archive of obsolete content
hint: when applying for a certificate ensure that the organisation (o) contains your name and not the issuer's default text, because this is what is displayed to users.
... install the certificate into mozilla firefox (which goes with the private key created earlier), and copy/paste the displayed certificate text into a new file called c:\projects\codesigning\certum code signing.cer.
Tabbed browser - Archive of obsolete content
gbrowser.contentdocument; or content.document if you're working from a window or dialog that was opened by the browser window, you can use this code to get the document displayed in the selected tab in the browser window that opened the new window or dialog.
... window.opener.content.document from windows or dialogs not opened by the browser window, you can use nsiwindowmediator to get the document displayed in the selected tab of the most recently used browser window.
MMgc - Archive of obsolete content
memory leaks will be displayed with their stack trace of origin.
...the report can be output to the console or to a file, and can be configured to be displayed pre/post sweep or via api call.
Creating a Web based tone generator - Archive of obsolete content
the function requestsounddata() produces the samples to be played.
...the function mozcurrentsampleoffset() is used to know the position of the samples being played so that we can fill a 500 ms buffer of audio samples.
Adding the structure - Archive of obsolete content
panel-iconic" id="tinderbox-status" status="none"/> <statusbarpanel class="statusbarpanel-iconic" id="offline-status"/> <statusbarpanel class="statusbarpanel-iconic" id="security-button" onclick="browserpageinfo(null, 'securitytab')"/> </statusbar> the statusbar xul element defines a horizontal status bar where informative messages about an application's state can be displayed.
...all xul elements can be given custom attributes in addition to the ones the xul rendering engine recognizes which get ignored by the engine, so adding this custom attribute does not create any problems or modify the way the widget is displayed (except for the ways we explicitly specify with css).
Plug-n-Hack Phase1 - Archive of obsolete content
ity tool commands manifest an example commands manifest (for owasp zap) is: https://code.google.com/p/zap-extensions/source/browse/branches/beta/src/org/zaproxy/zap/extension/plugnhack/resource/service.json firefox ui in firefox the tool commands will be made available via the developer toolbar (gcli) https://developer.mozilla.org/docs/tools/gcli a example of how the zap commands are currently displayed is: note that user specified parameters can be specified for commands, which can either be free text, a static pull down list of options or a dynamic list of options obtained from the tool on demand.
...pnh does not specify how tool commands should be displayed, so other browsers are free to display them in different ways.
Configuration - Archive of obsolete content
status turns the status messages on or off for this web app: yes or no location turns the readonly location bar on or off for this web app: yes or no navigation turns the hotkey history navigation (alt+left, alt+right and alt+home) on or off for this web app: yes or no splashscreen filename of an html page to be displayed while the app is loading.
...trayicon indicates that a system tray (notification area) icon should be displayed for the application on windows: yes or no.
Scripting - Archive of obsolete content
it can contain the following functions: startup when the app starts, before the user interface is displayed.
...preload just before the user interface is displayed.
Elements - Archive of obsolete content
display - this attribute specifies how the tag is displayed.
...for example, use the value 'xul:button' to create an element that is displayed like a button.
alert - Archive of obsolete content
method of install object syntax void alert ( string message ); parameters the message parameter is displayed as a string in the dialog box.
... if message is not a string, then it is converted into one and displayed.
colorpicker.type - Archive of obsolete content
« xul reference home type type: string if this attribute is not present, the colorpicker is displayed inside the window.
... if this is set to the text button, the colorpicker is displayed as a button.
hideheader - Archive of obsolete content
« xul reference home hideheader type: boolean set this to true to indicate that the tree column header should be displayed without any column header styling.
... if you don't set a label for that column either, the header is not displayed at all.
treecell.mode - Archive of obsolete content
none no progress meter is displayed.
... the cell text is displayed instead.
Menus - Archive of obsolete content
to do this, the new menu will need to be laid over the existing menu which the item should be displayed upon.
... firefox context menu element id description relevant context contentareacontextmenu the popup for the context menu when a web page is displayed in the browser area.
getIndexOfFirstVisibleRow - Archive of obsolete content
« xul reference home getindexoffirstvisiblerow() return type: integer returns the index of the first displayed row.
... note that this is not the same as the first row -- if the displayed items have been scrolled down, this function will retrieve the index of the first row that the user can see.
removeCurrentTab - Archive of obsolete content
« xul reference home removecurrenttab() return type: tab element removes the currently displayed tab page.
... if it is the only displayed tab, this method does nothing.
MenuItems - Archive of obsolete content
you might do this if the key associated with the item changes, for instance a list of open windows displayed on a window menu.
...to indicate the current state of the toolbar, a checkbox would be displayed next to the menu item label.
Panels - Archive of obsolete content
when the left mouse button is pressed on the element with the popup attribute, the corresponding panel will be displayed.
...this causes the panel to be displayed not where the mouse was clicked but aligned along the bottom edge of the label.
PopupEvents - Archive of obsolete content
the popupshowing event just before a popup is about to be displayed, a popupshowing event will fired on the popup.
...within the listener for the popupshowing event, you can append to or modify the menu as needed before it is displayed.
Tooltips - Archive of obsolete content
the tooltip element tooltips are displayed using a tooltip element, which is a type of popup, but is styled to look different.
... tooltips in trees as the entire body of the tree is displayed using a single element, the tooltip and tooltiptext attributes do not apply to individual rows or cells of a tree.
RDF Modifications - Archive of obsolete content
the template builder will need to check all of the queries and rules to see if this triple could cause a change in what would be displayed.
... <member container="?start" child="?photo"/> <triple subject="?photo" predicate="http://purl.org/dc/elements/1.1/title" object="?title"/> <triple subject="?photo" predicate="http://purl.org/dc/elements/1.1/description" object="?description"/> </query> these query statements will cause any photos with both a title and a description to be displayed.
Rule Compilation - Archive of obsolete content
since any content that would be generated wouldn't be displayed anyway, the template builder doesn't do anything, putting off work until later.
...it would be rather time consuming to generate output for every item in a tree, even for those not displayed, so the template builder doesn't do so.
Static Content - Archive of obsolete content
this content is displayed as is without affecting the generated content from the template.
...the content will be displayed just like it would be as if the template wasn't present.
Custom toolbar button - Archive of obsolete content
explanation: this css stylesheet specifies how the button is displayed.
...ensure that the name of the saved file is: icon.png explanation: this image is displayed in the application's extension manager window.
Tree Widget Changes - Archive of obsolete content
to get a column in javascript: tree.columns.getcolumnfor(treecolelement); tree.columns.getnamedcolumn(treecolid); tree.columns.getcolumnat(index); you can also just use array syntax to get a column: tree.columns["lastname"]; tree.columns[5]; once you have a column, you can get various properties of it: column.index - the index of the column in displayed order column.id - the id attribute of the column column.element - the treecol element column.x - the x position in the tree of the left edge of the column column.width - the width of the column in c++ code, you can also get the atom attribute of nsitreecolumn which returns an nsiatom for the column, making it fast to do comparisons.
...it returns the number of rows that can be displayed in the tree.
Creating Dialogs - Archive of obsolete content
« previousnext » a xul application will often require dialogs to be displayed.
... var somefile=document.getelementbyid('enterfile').value; window.opendialog("chrome://findfile/content/showdetails.xul","showmore", "chrome",somefile); in this example the dialog showdetails.xul is displayed.
Creating a Window - Archive of obsolete content
because xml does not have any knowledge of how elements should be displayed, the file indicates how.
... title="find files" the title attribute describes the text that would appear on the title bar of the window when it is displayed.
Creating a Wizard - Archive of obsolete content
wizards will generally be displayed using customs that are familiar to the user of a particular os.
...these functions are called regardless of which page is currently displayed.
Element Positioning - Archive of obsolete content
abel="1" style="width: 100px;"/> <button label="2" style="width: 100em; height: 10px;"/> <button label="3" flex="1" style="min-width: 50px;"/> <button label="4" flex="1" style="min-height: 2ex; max-width: 100px"/> <textbox flex="1" style="max-width: 10em;"/> <description style="max-width: 50px">this is some boring but simple wrapping text.</description> example 1 the first button will be displayed with a width of 100 pixels (px means pixels).
... example 2 the second button will be displayed with a height of ten pixels and a width of 100 ems (an em is the size of a character in the current font).
Focus and Selection - Archive of obsolete content
if you do not, pressing tab will set the focus to the next displayed element.
...tbox.setselectionrange(4,8); this example will select the fifth character displayed, as well as the sixth, seventh and eighth.
Groupboxes - Archive of obsolete content
the groupbox is displayed in a special way—usually with a beveled border and a caption, although you can change the appearance using css.
...a simple groupbox example the example below shows a simple groupbox: example 1 : source view <groupbox> <caption label="answer"/> <description value="banana"/> <description value="tangerine"/> <description value="phone booth"/> <description value="kiwi"/> </groupbox> this will cause four pieces of text to be displayed surrounded by a box with the label answer.
Introduction - Archive of obsolete content
also, text displayed with xul is easily localizable, which means that it can be translated into other languages with little effort.
...some elements that can be created are: input controls such as textboxes and checkboxes toolbars with buttons or other content menus on a menu bar or pop up menus tabbed dialogs trees for hierarchical or tabular information keyboard shortcuts the displayed content can be created from the contents of a xul file or with data from a datasource.
Localization - Archive of obsolete content
you should not have any directly displayed text in the xul file at all.
...the window will not be displayed if an entity is found in the xul file that hasn't been declared.
More Button Features - Archive of obsolete content
the image is loaded from the url, which can be a relative or absolute url, and then the image is displayed on the button.
...example 2 : source view <button id="find-button" label="find" style="list-style-image: url('happy.png')"/> in this case, the image 'happy.png' is displayed on the button.
RDF Datasources - Archive of obsolete content
we don't want every file in the filesystem to be determined before the data is displayed.
...because rule one has no content, nothing will be displayed for these ones.
Stacks and Decks - Archive of obsolete content
this would be useful for a wizard interface where a series of similar panels are displayed in sequence.
...the displayed page of the deck can be changed by setting an selectedindex attribute on the deck element.
Templates - Archive of obsolete content
these elements get displayed, but the template itself is not displayed, although it still exists in the document tree.
...the result would be a single spacer displayed but no bookmarks because they don't match any of the rules.
Tree Box Objects - Archive of obsolete content
« previousnext » this section will describe the tree box object used to handle how a tree is displayed.
... <treeitem label="row 5"/> <treeitem label="row 6"/> <treeitem label="row 7"/> <treeitem label="row 8"/> <treeitem label="row 9"/> </treechildren> </tree> <hbox align="center"> <label value="scroll to row:"/> <textbox id="tbox"/> <button label="scroll" oncommand="doscroll();"/> </hbox> note that we use the rows attribute on the tree to specify that only four rows are displayed at a time.
Using Remote XUL - Archive of obsolete content
<?xml version="1.0"?> <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <iframe src="https://www.mozilla.org/" flex="1" /> </window> the xul iframe element is just like its html counterpart: it defines an area within which web content can be displayed.
... its src attribute contains the url of the page being displayed in the iframe.
browser - Archive of obsolete content
it is similar to an iframe except that it holds a page history and contains additional methods to manipulate the currently displayed page.
...other urls will need to use the document and history objects to change the displayed document.
colorpicker - Archive of obsolete content
type type: string if this attribute is not present, the colorpicker is displayed inside the window.
... if this is set to the text button, the colorpicker is displayed as a button.
grid - Archive of obsolete content
ArchiveMozillaXULgrid
elements placed within both the columns and rows will be displayed, although usually only elements will be placed inside one of these.
...whichever of the columns and rows is last in the grid is displayed on top; commonly the columns element appears in the grid first.
listitem - Archive of obsolete content
if you wish to use the value none and the displayed text is larger than this maximum width, you may be able to use the max-width css property (or the maxwidth attribute) to override this size.
...for those elements, setattribute("value", myvalue) and getattribute("value") do not access or affect the contents displayed to the user.
menuseparator - Archive of obsolete content
if you wish to use the value none and the displayed text is larger than this maximum width, you may be able to use the max-width css property (or the maxwidth attribute) to override this size.
...for those elements, setattribute("value", myvalue) and getattribute("value") do not access or affect the contents displayed to the user.
radio - Archive of obsolete content
ArchiveMozillaXULradio
if you wish to use the value none and the displayed text is larger than this maximum width, you may be able to use the max-width css property (or the maxwidth attribute) to override this size.
...for those elements, setattribute("value", myvalue) and getattribute("value") do not access or affect the contents displayed to the user.
radiogroup - Archive of obsolete content
for those elements, setattribute("value", myvalue) and getattribute("value") do not access or affect the contents displayed to the user.
...items are numbered starting at the first item displayed in the list.
scale - Archive of obsolete content
ArchiveMozillaXULscale
a bar displayed either horizontally or vertically allows the user to select a value by dragging a thumb on the bar.
...for those elements, setattribute("value", myvalue) and getattribute("value") do not access or affect the contents displayed to the user.
tab - Archive of obsolete content
ArchiveMozillaXULtab
if you wish to use the value none and the displayed text is larger than this maximum width, you may be able to use the max-width css property (or the maxwidth attribute) to override this size.
... linkedpanel type: id the id of the linked tabpanel element that will be displayed when the tab is selected.
tabbox - Archive of obsolete content
a row of tabs is displayed at the top of tabbox which may be used to switch between each page.
...if the shift key is also held down, the previous tab will be displayed.
tabpanels - Archive of obsolete content
by clicking the first tab, the first panel will be displayed.
... by clicking the second tab, the second panel will be displayed and so on.
tooltip - Archive of obsolete content
if you wish to use the value none and the displayed text is larger than this maximum width, you may be able to use the max-width css property (or the maxwidth attribute) to override this size.
...each type of popup is intended to be displayed only temporarily; they are not expected to be displayed permanently.
wizardpage - Archive of obsolete content
when set, the page with this pageid is displayed when the next button is pressed.
...when set, the page with this pageid is displayed when the next button is pressed.
calICalendarView - Archive of obsolete content
if an implementation returns true for this attribute, it must allow for any arbitrary set of dates to be displayed.
... hasdisjointdates returns false if the dates being displayed represent a continuous list, and true if certain dates in between startdate and enddate may not be displayed.
NPN_GetValue - Archive of obsolete content
values for npnvariable: npnvxdisplay =1: unix only: returns the current display npnvxtappcontext: unix only: returns the application's xtappcontext npnvnetscapewindow: ms windows and unix/x11 only: ms windows: gets the native window on which plug-in drawing occurs; returns hwnd unix/x11: gets the browser toplevel window in which the plug-in is displayed; returns window npnvjavascriptenabledbool: tells whether javascript is enabled; true=javascript enabled, false=not enabled npnvasdenabledbool: tells whether smartupdate (former name: asd) is enabled; true=smartupdate enabled, false=not enabled npnvisofflinebool: tells whether offline mode is enabled; true=offline mode enabled, false=not enabled npnvtoolkit: npnvsupportsxem...
...unix the platform-specific values for this parameter are npnvxdisplay (the current display), npnvxtappcontext (the browser's xtappcontext), and npnvnetscapewindow (the browser toplevel window in which the plugin is displayed).
Create Your Own Firefox Background Theme - Archive of obsolete content
creating a theme header image the header image is displayed as the background of the top of the browser window, nestling in behind the toolbars, address bar, search bar and the tab strip.
... creating a theme footer image in older versions of firefox, or newer versions with certain add-ons installed, the footer image is displayed as the background of the bottom of the browser window, behind the add-on and find bars.
Using workers in extensions - Archive of obsolete content
when the result is received from xmlhttprequest, instead of immediately updating the displayed information in the status bar, a message is sent to the main thread using the worker's postmessage() method.
...its job is to update the ticker information that's currently displayed in the status bar, as well as to update the tooltip that appears while the mouse cursor is hovering over the ticker.
::-ms-fill - Archive of obsolete content
the ::-ms-fill css pseudo-element is a microsoft extension that represents a progress bar displayed by <progress>.
...by setting animation-name on ::-ms-fill, you can change the animation, as shown in this table: value description none turns off the animation so that no dots are displayed.
XForms Hint Element - Archive of obsolete content
the hint is displayed when the mouse moves and pauses over the containing form control.
... the hint will also be displayed if the containing form control recieves a xforms-hint event.
Mozilla's DOCTYPE sniffing - Archive of obsolete content
the goals that led to choosing this behavior were the following: almost all existing text/html pages on the web that need to be in quirks mode to be displayed correctly should be displayed using quirks mode.
... pages written using any public identifiers in doctype declarations that appear in the future should be displayed using strict mode.
The Business Benefits of Web Standards - Archive of obsolete content
most of this information uses invalid html which happens to be displayed correctly in permissive older browsers.
... well-formed html code saves time and money one of the major headaches for web developers comes from web pages being displayed differently in various browsers.
Game distribution - Game development
simple time killer games to be played while on the move rather than huge immersive experiences.
... such games are often designed to be played with two, or even one finger, so you can hold the device, play the game and be able to use the second hand for whatever you currently need.
Audio for Web games - Game development
also note that playing and immediately pausing your audio does not guarantee that a small piece of audio won't be played.
... in the context of your game world you may have loops and samples that are played in different circumstances, and it can be useful to be able to synchronize with other tracks for a more seamless experience.
Buttons - Game development
new variables we will need a variable to store a boolean value representing whether the game is currently being played or not, and another one to represent our button.
...add the following lines to the bottom of your create() function: startbutton = game.add.button(game.world.width*0.5, game.world.height*0.5, 'button', startgame, this, 1, 0, 2); startbutton.anchor.set(0.5); the button() method's parameters are as follows: the button's x and y coordinates the name of the graphic asset to be displayed for the button a callback function that will be executed when the button is pressed a reference to this to specify the execution context the frames that will be used for the over, out and down events.
Plug-in Development Overview - Gecko Plugin API Reference
this message, which is in html format, is displayed by the browser in its "about plug-ins" page.
...you can use these netscape methods: to identify the browser in which your plug-in is displayed: use the npn_useragent method to read this information.
Sizing items in CSS - Learn web development
if you place an image on a page and do not change its height and width, either using attributes on the <img> tag or css, it will be displayed using that intrinsic size.
...images should be appropriately sized to be no larger than they need to be for the largest size they are displayed in the design.
Test your skills: sizing - Learn web development
try updating the live code below to recreate the example as displayed in the image: for assessment or further work purposes, download the starting point for this task to work in your own editor or in an online editor.
... try updating the live code below to recreate the example as displayed in the image: for assessment or further work purposes, download the starting point for this task to work in your own editor or in an online editor.
The box model - Learn web development
parts of a box making up a block box in css we have the: content box: the area where your content is displayed, which can be sized using properties like width and height.
...the navigation below is displayed in a row using flexbox and we have added padding to the <a> element as we want to be able to change the background-color when the <a> is hovered.
Test your skills: values and units - Learn web development
try updating the live code below to recreate the example as displayed in the image: for assessment or further work purposes, download the starting point for this task to work in your own editor or in an online editor.
... try updating the live code below to recreate the example as displayed in the image: for assessment or further work purposes, download the starting point for this task to work in your own editor or in an online editor.
Test your skills: Writing Modes and Logical Properties - Learn web development
task one the box in the example is displayed with a horizontal writing mode.
... try updating the live code below to recreate the example as displayed in the image: for assessment or further work purposes, download the starting point for this task to work in your own editor or in an online editor.
Introduction to CSS layout - Learn web development
let's look at a quick html example: <p>i love my cat.</p> <ul> <li>buy cat food</li> <li>exercise</li> <li>cheer up friend</li> </ul> <p>the end!</p> by default, the browser will display this code as follows: note here how the html is displayed in the exact order in which it appears in the source code, with elements stacked up on top of one another — the first paragraph, followed by the unordered list, followed by the second paragraph.
...they are displayed in a row, because the initial value of flex-direction set on their parent is row.
What are browser developer tools? - Learn web development
if the tools are already displayed, click on the debugger tab.
...(opera works the same way.) edge and internet explorer 11: press f12 and then, ctrl + 3, or if the tools are already displayed, click on the debugger tab.
The HTML5 input types - Learn web development
note that the clear icon only appears if the field has a value, and, apart from safari, it is only displayed when the field is focused.
...on devices with dynamic keyboards, the numeric keyboard is generally displayed.
Sending form data - Learn web development
viewing http requests http requests are never displayed to the user (if you want to see them, you need to use tools such as the firefox network monitor or the chrome developer tools).
... the only thing displayed to the user is the url called.
JavaScript basics - Learn web development
if values couldn't change, then you couldn't do anything dynamic, like personalize a greeting message or change an image displayed in an image gallery.
...this change will happen as a user clicks the displayed image.
HTML Cheatsheet - Learn web development
bold a word or phrase within the text mark text as important <strong>i'm important</strong> i'm important highlight some text <mark>notice me</mark> notice me draw a line through irrelevant text <s>i'm irrelevant</s> i'm irrelevant underline a non-textual annotation this is <u>mispelled</u> this is mispelled text displayed lower than normal text h<sub>2</sub>o h2o small text used to represent the <small>small print </small>of a document used to represent the small print of a document used for an address <address>main street 67</address> main street 67 used for a textual cite <cite>lorem ipsum</cite> lorem ipsum text displayed higher than normal text x<su...
...e line it is used to suggest the browser to cut the text on this site if there is not enough space to display it on the same line date in readable form it is used to format the date legibly for the user, such as: <time datetime="2020-05-24" pubdate>published on 23-05-2020</time> it is used to format the date legibly for the user, such as: published on 23-05-2020 text displayed in code format <p>this text is in normal format.</p> <code>this text is in code format.</code> <pre>this text is in predefined format.</pre> this text is in normal format.
Images in HTML - Learn web development
its value is supposed to be a textual description of the image, for use in situations where the image cannot be seen/displayed or takes a long time to render because of a slow internet connection.
...but if the image isn't being displayed, for example, the user has just navigated to the page, and the image hasn't yet loaded, you'll notice the browser is leaving a space for the image to appear in: this is a good thing to do, resulting in the page loading quicker and more smoothly.
Index - Learn web development
168 using css generated content basic, beginner, css, css:getting_started, graphics, guide, needsupdate, web this article describes some ways in which you can use css to add content when a document is displayed.
...all user data should be sanitized before it is displayed, or used in sql queries and file system calls.
Fetching data from the server - Learn web development
originally page loading on the web was simple — you'd send a request for a website to a server, and as long as nothing went wrong, the assets that made the web page would be downloaded and displayed on your computer.
...these technologies allow web pages to directly handle making http requests for specific resources available on a server and formatting the resulting data as needed before it is displayed.
Working with JSON - Learn web development
it is commonly used for transmitting data in web applications (e.g., sending some data from the server to the client, so it can be displayed on a web page, or vice versa).
...the order in which things are appended is important, as this is the order they will be displayed inside the html.
Measuring performance - Learn web development
you can use the api for metrics related to all of the navigation events displayed in the didagram below.
... at the time of writing, mdn's performance report summary looks similar to the following: a performance report contains information about things like how long a user has to wait before anything is displayed on the page, how many bytes need to be downloaded to display a page, and much more.
Introduction to the server side - Learn web development
most large-scale websites use server-side code to dynamically display different data when needed, generally pulled out of a database stored on a server and sent to the client to be displayed via some code (e.g.
...a new html page, or an image, etc...), which could then be displayed by the web browser.
Creating our first Vue component - Learn web development
it’s important to know that content inside {{}} is displayed as text and not html.
...the displayed checkbox should be checked.
Handling common accessibility problems - Learn web development
you can then press enter/return to follow a focused link or press a button (we've included some javascript to make the buttons alert a message), or start typing to enter text in a text input (other form elements have different controls, for example the <select> element can have its options displayed and cycled between using the up and down arrow keys).
...subtitles) and display them when video is being played, in the form of the <track> element, and the webvtt format (see adding captions and subtitles to html5 video for a detailed tutorial).
Mozilla accessibility architecture
in fact, for about a second two nsdocaccessible's exist for the same screen space - one for the old document about to be destroyed, and one for the loading document which hasn't been displayed yet.
... side note: we do not fire the event indicating the new document is ready, until the new document is displayed.
Gecko info for Windows accessibility vendors
the exception is progress meters, which are guaranteed to fire event_show and event_hide events when they are displayed or hidden.
... once the new page is ready to be displayed and traversed via its iaccessible tree, the old content window is destroyed, and a new window is created.
Continuous Integration
the results of taskcluster jobs (both builds and tests) are displayed in treeherder.
... talos performance tests all performance tests displayed in treeherder are run using the talos framework, and denoted by the letter t.
Eclipse CDT
in the case of the build-backend command, instructions on how to open the project will be displayed after the command completes.
...this is responsible for most of the parse errors in the source files displayed in eclipse.
Listening to events on all tabs
removing a listener to remove a previously installed progress listener, call removetabsprogresslistener(): gbrowser.removetabsprogresslistener(myprogresslistener); implementing a listener the listener object itself has five methods it can implement to handle various events: onlocationchange called when the uri of the document displayed in the tab changes.
...the status message is intended to be displayed to the user (e.g., in the status bar of the browser).
Firefox and the "about" protocol
see firefox reader view for clutter-free web pages about:rights displays rights information about:robots special page showing notes about robots about:serviceworkers displays currently running service workers about:studies lists the shield studies that are installed about:sessionrestore session restoration (displayed after a firefox crash) about:support troubleshooting information (also available through firefox menu > ?
...lated to the sync feature about:telemetry displays telemetry data collected and sent to mozilla while firefox is running (in case the user enabled telemetry) about:url-classifier displays the status of the url classifier services that firefox uses (for example for safe browsing) about:webrtc information about webrtc usage about:welcome page first displayed when firefox is installed about:welcomeback information page displayed after firefox is reset these urls are defined in docshell/base/nsaboutredirector.cpp within the kredirmap array.
mozbrowsercontextmenu
the menusystem object an object defining a standard context menu that will be displayed.
...its properties are as follows: type a domstring representing the type of context menu displayed.
Internationalized Domain Names (IDN) Support in Mozilla Browsers
one notable bug is that non-ascii names are not always displayed correctly in some ui areas such as preference panels, bookmarks and history.
... non-ascii names are not always correctly displayed in the location bar due to the fact that ace to unicode conversion is not implemented yet.
nglayout.debug.disable_xul_cache
the effect is that the source xml file is not read and re-parsed each time the chrome in question is displayed.
...possible values and their effects: true: do not cache parsed xul documents and do not save the cache to the xul fastload file on exit; re-read the source files each time the window or dialog needs to be displayed.
Gecko events
is supported: yes event_menupopup_start a pop-up menu has been displayed.
...ntexthelp_start a window has entered context-sensitive help mode is supported: no event_contexthelp_end a window has exited context-sensitive help mode is supported: no event_dragdrop_start an application is about to enter drag-and-drop mode is supported: yes event_dragdrop_end an application is about to exit drag-and-drop mode is supported: no event_dialog_start a dialog box has been displayed is supported: no event_dialog_end a dialog box has been closed is supported: no event_scrolling_start scrolling has started on a scroll bar is supported: yes event_scrolling_end scrolling has ended on a scroll bar is supported: yes event_minimize_start a window object is about to be minimized or maximized is supported: no event_minimize_end a window object has been minimized or maximize...
Using XPCOM Components
when a user selects one of the cookies displayed in the list and then clicks the remove button, the remove method in the nsicookiemanager interface is called.
... the function is carried out by the cookiemanager component, and the selected cookie is deleted from disk and removed from the displayed list.
imgIContainer
kdontanimmode 1 klooponceanimmode 2 kdisposeclearall -1 "disposal" method indicates how the image should be handled before the subsequent image is displayed.
...the rectangle defining the location and size of the currently displayed frame.
nsIAccessibleDocument
false if the document is being displayed but not edited.
... windowhandle voidptr the window handle for the os window the document is being displayed in.
nsIAccessibleEvent
event_menupopup_start 0x001a 0x0017 a pop-up menu has been displayed.
... event_dialog_start 0x0024 0x0021 a dialog box has been displayed.
nsIAccessibleRole
role_character 32 represents a cartoon-like graphic object, such as microsoft office assistant, which is displayed to provide help to users of an application.
... role_spinbutton 52 represents a spin box, which is a control that allows the user to increment or decrement the value displayed in a separate "buddy" control associated with the spin box.
nsIDOMHTMLAudioElement
returns the current offset of the audio stream, specified as the number of samples that have played since the beginning of the stream.
...return value an unsigned 64-bit value indicating how many audio samples have been played since the stream began playing.
nsIDownloadManagerUI
reason_new_download 1 when opening the download manager user interface, this value indicates that the user interface is being displayed because a new download is being started.
... areason optional one of the reason constants indicating why the user interface should be displayed.
nsIDownloadProgressListener
the received status message is intended to be displayed visibly to the user.
... amessage a user-readable status message intended to be displayed visibly on the screen.
nsIDragService
if the element is in a document, it will be rendered at its displayed size, otherwise, it will be rendered at its real size.
... for other types of elements, the element is rendered into an offscreen buffer in the same manner as it is currently displayed.
nsIMessenger
lastdisplayedmessageuri acstring readonly: the url of the last displayed message.
... methods setdisplaycharset() sets the character set for the displayed message.
nsIMsgDBView
currentlydisplayedmessage nsmsgviewindex readonly: the index of the currently displayed message.
...this assumes that the key is somewhere in the displayed messages...
nsIMsgMessageService
(?) displaymessage() when you want a message displayed....
... displaymessageforprinting() when you want a message displayed in a format that is suitable for printing.
nsIMsgWindow
mailcharacterset acstring this is used to track the character set of the currently displayed message.
... clearmsghdr whether or not the existing message pane and header should be cleared before the html is displayed.
nsIPrintingPrompt
historically, platform toolkits with native dialogs have implemented them in the gfx layer usually they were displayed when a new devicecontextspec specific to that platform was created.
...if you stub out this service you must set "printsilent" to true, if you do not, printing will terminate and an error dialog will be displayed.
nsIProgressEventSink
the information is intended to be displayed to the user in some meaningful way.
...the information is intended to be displayed to the user in some meaningful way.
nsITaskbarPreview
the controller provides the behavior and appearance for the taskbar preview, and is responsible for determining the size and contents of the preview, which buttons are displayed, and how the application responds to user actions on the preview.
... tooltip domstring a string containing the text displayed in the tooltip above the preview when the user hovers over it.
nsITaskbarTabPreview
method overview void ensureregistration(); violates the xpcom interface guidelines nativewindow gethwnd(); violates the xpcom interface guidelines void move(in nsitaskbartabpreview anext); attributes attribute type description icon imgicontainer the icon displayed next to the title in the preview.
... title domstring the title displayed above the thumbnail.
nsIUpdatePrompt
if the app.update.silent preference is true or the user interface is already displayed the call will be a no-op.
...if the app.update.silent preference is true, the app.update.showinstalledui preference is false, or the user interface is already displayed the call will be a no-op.
nsPIPromptService
this is the system sound name which should be played when the dialog is shown.
...this is the sound event id which should be played when the dialog is shown.
nsIMsgCloudFileProvider
settingsurl acstring readonly: a chrome url for an xhtml page displayed in the account setup dialog window, used for displaying and setting provider-specific settings.
... managementurl acstring readonly: a chrome url for an xhtml page displayed within the filelink preferences dialog, used for displaying and setting provider-specific settings once the account has already been set up.
Creating a Custom Column
getcelltext() is the text that is displayed to the user while getsort*forrow() is what is used internally when sorting by your column a simple implementation objects in javascript are just "advanced" variables, so an implementation of the nsimsgcustomcolumnhandler interface looks like: var columnhandler = { getcelltext: function(row, col) { //get the message's header so that we can extract the reply to field var h...
...nction(hdr) {return hdr.getstringproperty("replyto");}, isstring: function() {return true;}, getcellproperties: function(row, col, props){}, getrowproperties: function(row, props){}, getimagesrc: function(row, col) {return null;}, getsortlongforrow: function(hdr) {return 0;} } basically, all we are doing here is making sure that both the text that is displayed to the user (getcelltext()) and the string we sort according to (when the user decided to sort the view by our custom column) are identical.
Mozilla
an error will typically be displayed on the error console, but can be captured using a try-catch block in javascript.
...for example, this popup notification is displayed when a web site requests geolocation information: using raii classes in mozilla raii classes are useful when two operations (e.g., lock/unlock, addref/release, pushstate/popstate) must be paired.
Plug-in Development Overview - Plugins
this message, which is in html format, is displayed by the browser in its "about plug-ins" page.
...you can use these netscape methods: to identify the browser in which your plug-in is displayed: use the npn_useragent method to read this information.
Introduction to DOM Inspector - Firefox Developer Tools
a browser window and the dom inspector are likely be already open and displayed in this list.
... have the dom inspector open and have enabled this functionality by choosing edit > select element by click or by clicking the little magnifying glass icon in the upper left portion of the dom inspector application, you can click anywhere in a loaded web page or the the inspect chrome document, and the element you click will be shown in the document pane in the dom nodes viewer and information displayed in the object pane.
DOM Property Viewer - Firefox Developer Tools
dom property viewer user interface dom tree the different properties of the dom are displayed as an expandable tree.
...up to three properties of an object and items of an array are displayed.
Index - Firefox Developer Tools
the selected element is shown in the html pane and its css is displayed in the css pane.
...the selected element is shown in the html pane and its css is displayed in the css pane.
Migrating from Firebug - Firefox Developer Tools
inspect computed styles the computed values of css properties are displayed within the devtools' computed side panel like within firebug's computed side panel.
... inspect events events assigned to an element are displayed in the events side panel in firebug.
Network request list - Firefox Developer Tools
each request is displayed in its own row: by default, the network monitor is cleared each time you navigate to a new page or reload the current page.
...the numeric code is displayed on a colored background, to help unusual ones stand out.
CSS Grid Inspector: Examine grid layouts - Firefox Developer Tools
when you select the checkbox for the subgrid, the lines for the parent grid are displayed also displayed; if the checkbox for the parent grid is unselected, then its lines are translucent.
... display line numbers by default, the line numbers are displayed on the grid overlay.
UI Tour - Firefox Developer Tools
filter the markers that are displayed in the waterfall view switch the active tool in the details pane.
... at any given time, one recording is selected, and that recording is displayed in the rest of the tool.
Settings - Firefox Developer Tools
as of firefox 62, if the option to "select an iframe as the currently targeted document" is checked, the icon will appear in the toolbar while the settings tab is displayed, even if the current page doesn't include any iframes.
... if common preferences is not included in the settings, web console logs can be persisted by using the 'about:config' url in browser address bar, searching for: 'devtools.webconsole.persistlog' then toggling this value to true inspector show browser styles a setting to control whether styles applied by the browser (user-agent styles) should be displayed in the inspector's rules view.
Web Audio Editor - Firefox Developer Tools
some non-audioparam properties, like an oscillatornode's type property, are displayed, and you can edit these as well.
... connections between nodes are displayed as solid lines.
Console messages - Firefox Developer Tools
most of the web console is occupied by the message display pane: each message is displayed as a separate row: time the time the message was recorded.
... filtering and searching filtering by category you can use the toolbar along the top to constrain the results displayed.
about:debugging (before Firefox 68) - Firefox Developer Tools
the temporary add-on will be displayed under the "temporary extensions" header.
...just click the "push" button to send a push event to the service worker: service workers not compatible in firefox 49+, a warning message will be displayed in the service workers section of the workers page if service workers are incompatible with the current browser configuration, and therefore cannot be used or debugged.
Animation - Web APIs
WebAPIAnimation
if the animation lacks a timeline, is inactive or hasn't been played yet, its value is null.
...if the animation is finished or unplayed, it will play from end to beginning.
AudioBufferSourceNode.loop - Web APIs
the loop property of the audiobuffersourcenode interface is a boolean indicating if the audio asset must be replayed when the end of the audiobuffer is reached.
...when the audio is played, it loops.
AudioBufferSourceNode.start() - Web APIs
the default value, 0, will begin playback at the beginning of the audio buffer, and offsets past the end of the audio which will be played (based on the audio buffer's duration and/or the loopend property) are silently clamped to the maximum value allowed.
... duration optional the duration of the sound to be played, specified in seconds.
AudioProcessingEvent - Web APIs
playbacktime read only double the time when the audio will be played, as defined by the time of audiocontext.currenttime inputbuffer read only audiobuffer the buffer containing the input audio data to be processed.
....buffer = mybuffer; }, function(e){"error with decoding audio data" + e.err}); } request.send(); } // give the node a function to process audio events scriptnode.onaudioprocess = function(audioprocessingevent) { // the input buffer is the song we loaded earlier var inputbuffer = audioprocessingevent.inputbuffer; // the output buffer contains the samples that will be modified and played var outputbuffer = audioprocessingevent.outputbuffer; // loop through the output channels (in this case there is only one) for (var channel = 0; channel < outputbuffer.numberofchannels; channel++) { var inputdata = inputbuffer.getchanneldata(channel); var outputdata = outputbuffer.getchanneldata(channel); // loop through the 4096 samples for (var sample = 0; sample < input...
Manipulating video using canvas - Web APIs
by combining the capabilities of the video element with a canvas, you can manipulate video data in real time to incorporate a variety of visual effects to the video being displayed.
... the resulting image looks like this: this is done repeatedly as the video plays, so that frame after frame is processed and displayed with the chroma-key effect.
Console.timeEnd() - Web APIs
WebAPIConsoletimeEnd
once stopped, the elapsed time is automatically displayed in the web console along with an indicator that the time has ended.
... examples console.time("answer time"); alert("click to continue"); console.timelog("answer time"); alert("do a bunch of other stuff..."); console.timeend("answer time"); the output from the example above shows the time taken by the user to dismiss the first alert box, followed by the time it took for the user to dismiss the second alert: notice that the timer's name is displayed when the timer value is logged using timelog() and again when it's stopped.
Element.scroll() - Web APIs
WebAPIElementscroll
syntax element.scroll(x-coord, y-coord) element.scroll(options) parameters calling with coordinates x-coord the pixel along the horizontal axis of the element that you want displayed in the upper left.
... y-coord the pixel along the vertical axis of the element that you want displayed in the upper left.
Element.scrollTo() - Web APIs
WebAPIElementscrollTo
syntax element.scrollto(x-coord, y-coord) element.scrollto(options) parameters x-coord is the pixel along the horizontal axis of the element that you want displayed in the upper left.
... y-coord is the pixel along the vertical axis of the element that you want displayed in the upper left.
GeolocationCoordinates.longitude - Web APIs
javascript the javascript code below creates an event listener so that when the user clicks on a button, the location information is retrieved and displayed.
... from the geolocationposition object, we obtain the user's latitude and longitude using position.coords.latitude and position.coords.longitude so we can update the displayed coordinates.
HTMLEmbedElement - Web APIs
htmlembedelement.height is a domstring reflecting the height html attribute, containing the displayed height of the resource.
... htmlembedelement.width is a domstring that reflects the width html attribute, containing the displayed width of the resource.
HTMLImageElement.alt - Web APIs
the alternate text is displayed in the space the image would occupy and should be able to take the place of the image without altering the meaning of the page.
...to allow that text to be displayed in place of the image if the image isn't available.
HTMLImageElement - Web APIs
htmlimageelement.alt a domstring that reflects the alt html attribute, thus indicating the alternate fallback content to be displayed if the image has not been loaded.
... htmlimageelement.currentsrc read only returns a usvstring representing the url from which the currently displayed image was loaded.
HTMLInputElement - Web APIs
height string: returns / sets the element's height attribute, which defines the height of the image displayed for the button, if the value of type is image.
... width string: returns / sets the document's width attribute, which defines the width of the image displayed for the button, if the value of type is image.
HTMLMediaElement.canPlayType() - Web APIs
return value a domstring indicating how likely it is that the media can be played.
... "" (empty string) media of the given type definitely can't be played on the current device.
HTMLMediaElement.controls - Web APIs
the htmlmediaelement.controls property reflects the controls html attribute, which controls whether user interface controls for playing the media item will be displayed.
...a value of true means controls will be displayed.
HTMLMediaElement.playbackRate - Web APIs
the htmlmediaelement.playbackrate property sets the rate at which the media is being played back.
... if playbackrate is negative, the media is not played backwards.
IDBCursor.advance() - Web APIs
WebAPIIDBCursoradvance
here we use cursor.advance(2) to jump 2 places forward each time, meaning that only every other result will be displayed.
...tore('rushalbumlist'); objectstore.opencursor().onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var listitem = document.createelement('li'); listitem.innerhtml = '<strong>' + cursor.value.albumtitle + '</strong>, ' + cursor.value.year; list.appendchild(listitem); cursor.advance(2); } else { console.log('every other entry displayed.'); } }; }; specifications specification status comment indexed database api 2.0the definition of 'advance()' in that specification.
Using IndexedDB - Web APIs
pat.append('<ul id="compat-list"></ul>'); compat_envs.foreach(function(val, idx, array) { $('#compat-list').append('<li>' + val[0] + ': ' + val[1] + '</li>'); }); const db_name = 'mdn-demo-indexeddb-epublications'; const db_version = 1; // use a long long for this value (don't use a float) const db_store_name = 'publications'; var db; // used to keep track of which view is displayed to avoid uselessly reloading it var current_view_pub_key; function opendb() { console.log("opendb ..."); var req = indexeddb.open(db_name, db_version); req.onsuccess = function (evt) { // equal to: db = req.result; db = this.result; console.log("opendb done"); }; req.onerror = function (evt) { console.error("opendb:", evt.target.errorcode); }; ...
... // thus the count text below will be displayed before the actual pub list // (not that it is algorithmically important in this case).
MediaDevices.ondevicechange - Web APIs
this method is called any time we want to fetch the current list of media devices and then update the displayed lists of audo and video devices using that information.
...this line, then, pulls out the type ("audio" or "video") and direction ("input" or "output") so they can be used to construct the string displayed in the list.
Recording a media element - Web APIs
note that the autoplay attribute is used so that as soon as the stream starts to arrive from the camera, it immediately gets displayed, and the muted attribute is specified to ensure that the sound from the user's microphone isn't output to their speakers, causing an ugly feedback loop.
... lines 5-9 when the promise returned by getusermedia() is resolved, the preview <video> element's srcobject property is set to be the input stream, which causes the video being captured by the user's camera to be displayed in the preview box.
RTCDTMFSender.toneBuffer - Web APIs
tones are removed from the string as they're played, so only upcoming tones are listed.
... syntax var tonebuffer = rtcdtmfsender.tonebuffer; value a domstring listing the tones to be played.
ServiceWorkerGlobalScope - Web APIs
notificationclick occurs when a user clicks on a displayed notification.
... notificationclose occurs — when a user closes a displayed notification.
ServiceWorkerRegistration.showNotification() - Web APIs
it may contain the following values: action: a domstring identifying a user action to be displayed on the notification.
... image: a usvstring containing the url of an image to be displayed in the notification.
SourceBuffer.mode - Web APIs
WebAPISourceBuffermode
the two available values are: segments: the media segment timestamps determine the order in which the segments are played.
... sequence: the order in which the segments are appended to the sourcebuffer determines the order in which they are played.
TextTrack.mode - Web APIs
WebAPITextTrackmode
hidden the text track is currently active but the cues aren't being displayed.
...the user agent is keeping a list of the active cues (in the track's activecues property) and events are being fired at the corresponding times, even though the text isn't being displayed.
VideoPlaybackQuality.totalVideoFrames - Web APIs
the videoplaybackquality interface's totalvideoframes read-only property returns the total number of video frames that have been displayed or dropped since the media was loaded.
... syntax value = videoplaybackquality.totalvideoframes; value the total number of frames that the <video> element has displayed or dropped since the media was loaded into it.
Using DTMF with WebRTC - Web APIs
function handletonechangeevent(event) { if (event.tone !== "") { log("tone played: " + event.tone); } else { log("all tones have played.
...acks().foreach(function(track) { track.stop(); }); }); receiverpc.getlocalstreams().foreach(function(stream) { stream.gettracks().foreach(function(track) { track.stop(); }); }); audio.pause(); audio.srcobject = null; receiverpc.close(); callerpc.close(); } } the tonechange event is used both to indicate when an individual tone has played and when all tones have finished playing.
Lighting a WebXR setting - Web APIs
components of a light source a light source has three major components; each component is in essence a type of light there are three kinds of light that can affect the color and brightness of objects and their pixels as displayed on the viewer's screen or headset.
...each light source substantially increases the amount of calculation needed to determine the final color and brightness of each displayed pixel.
Rendering and the WebXR frame animation callback - Web APIs
in this context, "repaint" simply means the process of ensuring that the screen's displayed content matches what the dom and the elements within are trying to present at the moment.
... hardare vertical refresh rate when the browser is ready to refresh the <canvas> within which your webxr content is displayed, it calls your frame rendering callback, which uses the specified timestamp and any other relevant data, such as models and textures, as well as application state, to render the scene—as it should appear at the specified time—into the webgl backbuffer.
Advanced techniques: Creating and sequencing audio - Web APIs
there are four different sounds, or voices, which can be played.
... function nextnote() { const secondsperbeat = 60.0 / tempo; nextnotetime += secondsperbeat; // add beat length to last beat time // advance the beat number, wrap to zero currentnote++; if (currentnote === 4) { currentnote = 0; } } we want to create a reference queue for the notes that are to be played, and the functionality to play them using the functions we've previously created: const notesinqueue = []; function schedulenote(beatnumber, time) { // push the note on the queue, even if we're not playing.
Window.content - Web APIs
WebAPIWindowcontent
in such cases, content returns a reference to the window object for the document currently displayed in the browser.
... syntax var windowobject = window.content; example executing the following code in a chrome xul window with a <browser type="content-primary"/> element in it draws a red border around the first div on the page currently displayed in the browser: content.document.getelementsbytagname("div")[0].style.border = "solid red 1px"; specification none.
Privileged features - Web APIs
alwaysraised if on, the new window will always be displayed on top of other browser windows, regardless of whether it is active or not.
... alwaysontop if on, the new window will always be displayed on top of all other windows (browser windows and otherwise), regardless of whether it is active or not.
Window.scroll() - Web APIs
WebAPIWindowscroll
syntax window.scroll(x-coord, y-coord) window.scroll(options) parameters x-coord is the pixel along the horizontal axis of the document that you want displayed in the upper left.
... y-coord is the pixel along the vertical axis of the document that you want displayed in the upper left.
Window.scrollTo() - Web APIs
WebAPIWindowscrollTo
syntax window.scrollto(x-coord, y-coord) window.scrollto(options) parameters x-coord is the pixel along the horizontal axis of the document that you want displayed in the upper left.
... y-coord is the pixel along the vertical axis of the document that you want displayed in the upper left.
Understandable - Accessibility
for example, focusing a navigation menu option should not change the displayed page — it should be activated before the display changes.
...such suggestions should be displayed usefully in context, just like error messages (see 3.3.1).
-moz-force-broken-image-icon - CSS: Cascading Style Sheets
note: even if the value is set to 1 the alt attribute will still be displayed, alongside the broken image icon.
... initial value0applies toimagesinheritednocomputed valueas specifiedanimation typediscrete formal syntax <integer> examples html <img src='/broken/image/link.png' alt='broken image link'> css img { -moz-force-broken-image-icon: 1; height: 100px; width: 100px; } result screenshotlive sample note: unless the image has a specified height and width the broken image icon will not be displayed but the alt attribute will also be hidden if -moz-force-broken-image-icon is set to 1.
-webkit-mask-repeat-x - CSS: Cascading Style Sheets
the remainder of the masked element's content is not displayed.
...the mask-position property is ignored unless only one image can be displayed without clipping.
-webkit-mask-repeat-y - CSS: Cascading Style Sheets
the vertical remainder of the masked element's content is not displayed.
...the mask-position property is ignored unless only one image can be displayed without clipping.
-ms-high-contrast - CSS: Cascading Style Sheets
the -ms-high-contrast css media feature is a microsoft extension that describes whether the application is being displayed in high contrast mode, and with what color variation.
... examples the following declarations will match applications that are being displayed in high contrast mode with any color variation, a black-on-white color variation, and a white-on-black color variation, respectively.
inverted-colors - CSS: Cascading Style Sheets
none colors are displayed normally.
... inverted all pixels within the displayed area have been inverted.
overflow-block - CSS: Cascading Style Sheets
none content that overflows the block axis is not displayed.
... paged content is broken up into discrete pages; content that overflows one page in the block axis is displayed on the following page.
size - CSS: Cascading Style Sheets
WebCSS@pagesize
landscape the content of the page is displayed in landscape mode (i.e.
... portrait the content of the page is displayed in portrait mode (i.e.
CSS Box Alignment - CSS: Cascading Style Sheets
these keywords define what happens to any additional space after alignment subjects have been displayed.
... also, be aware that other things may increase the visual gap displayed, for example using the space distribution keywords or adding margins to items.
Block and inline layout in normal flow - CSS: Cascading Style Sheets
it would not generally make sense for that <strong> element to be displayed as a block level element, breaking onto a new line.
...by understanding how normal flow works you will find layout easier, as you understand the starting point for making changes to how elements are displayed.
CSS Flow Layout - CSS: Cascading Style Sheets
normal flow, or flow layout, is the way that block and inline elements are displayed on a page before any changes are made to their layout.
... in normal flow, inline elements display in the inline direction, that is in the direction words are displayed in a sentence according to the writing mode of the document.
Using Media Queries for Accessibility - CSS: Cascading Style Sheets
html <div class="animation">animated box</div> css .animation { -webkit-animation: vibrate 0.3s linear infinite both; animation: vibrate 0.3s linear infinite both; } @media (prefers-reduced-motion: reduce) { .animation { animation: none; } } high contrast mode the -ms-high-contrast css media feature is a microsoft extension that describes whether the application is being displayed in high contrast mode, and with what color variation.
... example the following declarations will match applications that are being displayed in high contrast mode with any color variation, a black-on-white color variation, and a white-on-black color variation, respectively.
animation-direction - CSS: Cascading Style Sheets
alternate the animation reverses direction each cycle, with the first iteration being played forwards.
... alternate-reverse the animation reverses direction each cycle, with the first iteration being played backwards.
animation-iteration-count - CSS: Cascading Style Sheets
the animation-iteration-count css property sets the number of times an animation sequence should be played before stopping.
... if multiple values are specified, each time the animation is played the next value in the list is used, cycling back to the first value after the last one is used.
animation - CSS: Cascading Style Sheets
WebCSSanimation
values <single-animation-iteration-count> the number of times the animation is played.
... <single-animation-direction> the direction in which the animation is played.
border-style - CSS: Cascading Style Sheets
in the case of table cell and border collapsing, the none value has the lowest priority: if any other conflicting border is set, it will be displayed.
...in the case of table cell and border collapsing, the hidden value has the highest priority: if any other conflicting border is set, it won't be displayed.
image() - CSS: Cascading Style Sheets
the text will also be displayed left-to-right.
...the image displayed will be a webp image, if webp is supported.
text-overflow - CSS: Cascading Style Sheets
the ellipsis is displayed inside the content area, decreasing the amount of text displayed.
...the string is displayed inside the content area, shortening the size of the displayed text.
Event reference
contextmenu the right button of the mouse is clicked (before the context menu is displayed).
... contextmenu mouseevent html5 the right button of the mouse is clicked (before the context menu is displayed).
Cross-browser audio basics - Developer guides
however any supported text or elements that you define within <audio> will be displayed or acted upon.
... myaudio.addeventlistener("canplay", function() { //audio is ready to play }); canplaythrough canplaythrough is similar to canplay but it lets you know that the media is ready to be played all the way through (that is to say that the file has completely downloaded, or it is estimated that it will download in time so that buffering stops do not occur).
Applying color to HTML elements using CSS - HTML: Hypertext Markup Language
which side this is will vary depending on the writing-mode, direction, and text-orientation properties, which are typically (but not always) used to adjust text directionality based on the language being displayed.
...after finishing up and picking the final color, the color picker's value is displayed.
<b>: The Bring Attention To element - HTML: Hypertext Markup Language
WebHTMLElementb
further, stylesheets can change the default style of these elements, with the result that they are not necessarily displayed in bold.
...</p> keywords are displayed with the default style of the <b>element, likely in bold.</b> result specifications specification status comment html living standardthe definition of '<b>' in that specification.
<bgsound>: The Background Sound element (obsolete) - HTML: Hypertext Markup Language
WebHTMLElementbgsound
loop this attribute indicates the number of times a sound is to be played and either has a numeric value or the keyword infinite.
... src this attribute specifies the url of the sound file to be played, which must be one of the following types: .wav, .au, or .mid.
<embed>: The Embed External Content element - HTML: Hypertext Markup Language
WebHTMLElementembed
height the displayed height of the resource, in css pixels.
... width the displayed width of the resource, in css pixels.
<frame> - HTML: Hypertext Markup Language
WebHTMLElementframe
<frame> is an html element which defines a particular area in which another html document can be displayed.
... src this attribute specifies the document that will be displayed by the frame.
<input type="date"> - HTML: Hypertext Markup Language
WebHTMLElementinputdate
you can set a default value for the input with a date inside the value attribute, like so: <input type="date" value="2017-06-01"> the displayed date format will differ from the actual value — the displayed date is formatted based on the locale of the user's browser, but the parsed value is always formatted yyyy-mm-dd.
... you can also use the required attribute to make filling in the date mandatory — an error will be displayed if you try to submit an empty date field.
<input type="email"> - HTML: Hypertext Markup Language
WebHTMLElementinputemail
a placeholder is a value that demonstrates the form the value should take by presenting an example of a valid value, which is displayed inside the edit box when the element's value is "".
...that's because the title may be displayed or spoken as part of a validation error message.
<input type="search"> - HTML: Hypertext Markup Language
WebHTMLElementinputsearch
results the maximum number of items that should be displayed in the drop-down list of previous search queries.
... results the results attribute—supported only by safari—is a numeric value that lets you override the maximum number of entries to be displayed in the <input> element's natively-provided drop-down menu of previous search queries.
<input type="url"> - HTML: Hypertext Markup Language
WebHTMLElementinputurl
a placeholder is a value that demonstrates the form the value should take by presenting an example of a valid value, which is displayed inside the edit box when the element's value is "".
...that's because the title may be displayed or spoken as part of a validation error message.
<kbd>: The Keyboard Input element - HTML: Hypertext Markup Language
WebHTMLElementkbd
nesting a <samp> element inside a <kbd> element, on the other hand, represents input which is based on text presented by the system, such as the names of menus and menu items, or the names of buttons displayed on the screen.
... syntax error occurs, the tool will output the initial command you typed for your review:</p> <blockquote> <samp><kbd>custom-git ad my-new-file.cpp</kbd></samp> </blockquote> representing onscreen input options nesting a <samp> element inside a <kbd> element represents input which is based on text presented by the system, such as the names of menus and menu items, or the names of buttons displayed on the screen.
<tr>: The Table Row element - HTML: Hypertext Markup Language
WebHTMLElementtr
charoffobsolete since html5 a domstring indicating the number of characters on the tail end of the column's data should be displayed after the alignment character specified by the char attribute.
... for example, when displaying money values for currencies that use hundredths of a unit (such as the dollar, which is divided into 100 cents), you would typically specify a value of 2, so that in tandem with char being set to ".", the values in a column would be cleanly aligned on the decimal points, with the number of cents properly displayed to the right of the decimal point.
Inline elements - HTML: Hypertext Markup Language
because the <span> element is inline, the paragraph correctly renders as a single, unbroken text flow, like this: for looks, this css (not displayed in standard reading mode) is also used: body { margin: 0; padding: 4px; border: 1px solid #333; } .highlight { background-color:#ee3; } block-level now let's change that <span> into a block-level element, such as <p>: <div>the following paragraph is a <p class="highlight">block-level element;</p> its background has been colored to display both the beginning and end of the block-leve...
...l element's influence.</div> the css (not displayed in standard reading mode) is also used: body { margin: 0; padding: 4px; border: 1px solid #333; } .highlight { background-color:#ee3; } rendered using the same css as before, we get: see the difference?
description - Web app manifests
description is directionality-capable, which means it can be displayed left to right or right to left based on the values of the dir and lang manifest members.
... examples simple description in left-to-right language: "description": "awesome application that will help you achieve your dreams." description in arabic, which will be displayed right-to-left: "dir": "rtl", "lang": "ar", "description": ".تطبيق رائع سيساعدك على تحقيق أحلامك" specification specification status comment feedback web app manifestthe definition of 'description' in that specification.
name - Web app manifests
WebManifestname
type string mandatory yes the name member is a string that represents the name of the web application as it is usually displayed to the user (e.g., amongst a list of other applications, or as a label for an icon).
... name is directionality-capable, which means it can be displayed left-to-right or right-to-left based on the values of the dir and lang manifest members.
MathML attribute reference - MathML
bevelled <mfrac> specifies the style how the fraction should be displayed.
... displaystyle <mstyle>, <mtable> a boolean value specifying whether more vertical space is used for displayed equations or, if set to false, a more compact layout is used to display formulas.
<mfrac> - MathML
WebMathMLElementmfrac
syntax <mfrac>numerator denominator</mfrac> attributes bevelled specifies the way the fraction is displayed.
... if true, the fraction line is bevelled, which means that numerator and denominator are displayed side by side and separated by a slash (/).
<mstyle> - MathML
WebMathMLElementmstyle
displaystyle a boolean value specifying whether more vertical space is used for displayed equations or, if set to false, a more compact layout is used to display formulas.
... the main effect is that larger versions of operators are displayed, when displaystyle is set to true.
<mtable> - MathML
WebMathMLElementmtable
displaystyle a boolean value specifying whether more vertical space is used for displayed equations or, if set to false, a more compact layout is used to display formulas.
... the main effect is that larger versions of operators are displayed, when displaystyle is set to true.
MathML documentation index - MathML
WebMathMLIndex
by default, string literals are displayed as enclosed by double quotes (&quot;); by using the lquote and rquote attributes, you can set custom characters to display.
... 29 <msqrt> mathml, mathml reference, mathml:element, mathml:general layout schemata the mathml <msqrt> element is used to display square roots (no index is displayed).
Web video codec guide - Web media technologies
just as audio codecs do for the sound data, video codecs compress the video data and encode it into a format that can later be decoded and played back or edited.
...once an artifact has appeared, it may linger for a while, because of how video is displayed.
Installing and uninstalling web apps - Progressive web apps (PWAs)
firefox for android on an android device using firefox, you'll see a "home" icon with a plus (+) icon inside it—this is the "add to home screen" icon displayed for any site that has the necessary features in place.
...among the options should be the "add to home screen" option, unless it's been specifically removed from the list by the user editing the optons displayed: choosing "add to home screen" here presents the confirmation dialog box, which not only confirms that the user wants to add the app to the home screen, but also lets the user customize its name.
operator - SVG: Scalable Vector Graphics
out this value indicates that the parts of the source graphic defined in the in attribute that fall outside the destination graphic defined in the in2 attribute, are displayed.
... lighter this value indicates that the sum of the source graphic defined in the in attribute and the destination graphic defined in the in2 attribute is displayed.
Specification Deviations - SVG: Scalable Vector Graphics
in general this change will not be visible to svg authors (the elements for which the svg specification does not define the 'class' and 'style' attribute are elements that are not displayed directly).
...since these elements and their descendants are not displayed, it seems unlikely that anyone will either specify 'style' or call getcomputedstyle on them.
Same-origin policy - Web security
images displayed by <img>.
... media played by <video> and <audio>.
Web Components
html templates: the <template> and <slot> elements enable you to write markup templates that are not displayed in the rendered page.
... html templates <template> contains an html fragment that is not rendered when a containing document is initially loaded, but can be displayed at runtime using javascript, mainly used as the basis of custom element structures.
Content Scripts - Archive of obsolete content
the page-mod script will then issue an alert with the url of the link on which the context menu was displayed.
Porting the Library Detector - Archive of obsolete content
wcontent(tab.libraries); widgetview.width = tab.libraries.length * icon_width; } main.js will use the tabs module to update the widget's content when necessary (for example, when the user switches between tabs): tabs.on('activate', function(tab) { updatewidgetview(tab); }); tabs.on('ready', function(tab) { tab.libraries = []; }); showing the library detail the xul library detector displayed the detailed information about each library on mouseover in a tooltip: we can't do this using a widget, so instead will use a panel.
SDK API Lifecycle - Archive of obsolete content
the stability index for each module is written into that module’s metadata structure, and is displayed at the top of each module's documentation page.
addon-page - Archive of obsolete content
after this, the page loaded from "data/index.html" will not contain navigational elements: var addontab = require("sdk/addon-page"); var data = require("sdk/self").data; require("sdk/tabs").open(data.url("index.html")); this only affects the page at "data/index.html": all other pages are displayed normally.
context-menu - Archive of obsolete content
context menu items are displayed in the order created or in the case of sub menus the order added to the sub menu.
page-worker - Archive of obsolete content
the page is not displayed to the user.
private-browsing - Archive of obsolete content
ch as tabs) that are associated with private windows: the windows module will not list any private browser windows, generate any events for private browser windows, or let the add-on open any private browser windows the tabs module will not list any tabs that belong to private browser windows, and the add-on won't receive any events for such tabs any ui components will not be displayed in private browser windows any menus or menu items created using the context-menu will not be shown in context menus that belong to private browser windows the page-mod module will not attach content scripts to documents belonging to private browser windows any panel objects will not be shown if the active window is a private browser window the selection module will not in...
frame/hidden-frame - Archive of obsolete content
xul <iframe> elements) that are not displayed to the user.
lang/functional - Archive of obsolete content
; let setup = once(function (env) { // initializing important things console.log("successfully initialized " + env); return 1; // assume success and return 1 }); setup('dev'); // returns 1 // prints "successfully initialized dev" // future attempts to call this function just return the cached // value that was returned previously setup('production'); // returns 1 // no print message is displayed since the function isn't executed parameters fn : function the function that will be executed only once inside the once wrapper.
ui/frame - Archive of obsolete content
right now it can be used in conjunction with a toolbar: you create a frame, then supply it to the toolbar's constructor, and the content is then displayed inside the toolbar.
Low-Level APIs - Archive of obsolete content
xul <iframe> elements) that are not displayed to the user.
Annotator - Archive of obsolete content
whenever the user loads a page containing annotated elements these elements are highlighted, and if the user moves the mouse over an annotated element its annotation is displayed.
Display a Popup - Archive of obsolete content
function handleclick(state) { text_entry.show(); } // when the panel is displayed it generated an event called // "show": we will listen for that event and when it happens, // send our own "show" event to the panel's script, so the // script can prepare the panel for display.
Localization - Archive of obsolete content
the label attribute of each option is displayed to the user.
Customizing the download progress bar - Archive of obsolete content
this example illustrates how to customize the progress bar displayed for a given download in the downloads window.
Downloading Files - Archive of obsolete content
normally, nsiauthprompt expects a prompt to be displayed so the user can enter credentials, but you can return a username and password credentials directly without prompting the user.
Installing Extensions and Themes From Web Pages - Archive of obsolete content
iconurl the iconurl property specifies an icon to be displayed in the installation dialog.
Appendix: What you should know about open-source software licenses - Archive of obsolete content
this use permit is displayed when you install the software.
Chapter 4: Using XPCOM—Implementing advanced processes - Archive of obsolete content
the text will be displayed as-is.
Adding Events and Commands - Archive of obsolete content
it isn't hard for xul code to control the content on pages being loaded or displayed, as we will see later on, but it can be hard for your extension xul code to receive information from pages in a secure manner.
Adding sidebars - Archive of obsolete content
in the following example, the second child will be displayed, not the first which would be the default.
Adding windows and dialogs - Archive of obsolete content
the prompt service allows better alerts to be displayed.
Custom XUL Elements with XBL - Archive of obsolete content
content under the content tag you define the xul content that will be displayed for your element.
Extensions support in SeaMonkey 2 - Archive of obsolete content
/> </vbox> </window> thunderbird 3 gfolderdisplay api seamonkey 2.0 only supports a reduced set of methods: selectedcount selectedmessage selectedmessageisfeed selectedmessageisimap selectedmessageisnews selectedmessageisexternal selectedindices selectedmessages selectedmessageuris messagedisplay gmessagedisplay api seamonkey 2.0 only supports a reduced set of methods: displayedmessage visible javascript tweaks firefox supports some shorthand in various places.
An Interview With Douglas Bowman of Wired News - Archive of obsolete content
i think that fact played a critical role in our team's willingness to try out something completely new.
CSS3 - Archive of obsolete content
adds: control on how whitespaces are displayed using the css text-space-collapse and tab-size properties.
Creating a dynamic status bar extension - Archive of obsolete content
we do this so that upon loading, the stock information is displayed as soon as possible.
Install.js - Archive of obsolete content
install.js install.rdf (optional -- see above) code // install.js // xpiinstaller // by pike (heavily inspired by code from henrik gemal and stephen clavering) var xpiinstaller = { // --- editable items begin --- extfullname: 'sample extension', // the name displayed to the user (don't include the version) extshortname: 'sampleext', // the leafname of the jar file (without the .jar part) extversion: '1.0', extauthor: 'insert-your-name-here', extlocalenames: null, // e.g.
MCD, Mission Control Desktop, AKA AutoConfig - Archive of obsolete content
hile we have access to them lockpref("mail.server.server1.name", mail); lockpref("mail.identity.id1.fullname", cn); lockpref("mail.identity.id1.useremail", mail); defaultpref("network.ftp.anonymous_password", mail); // if $mozilla_debug=1, popup a debug message if (env_mozdebug) { displayerror("no error -> mci (jehan.procaccia@int-evry.fr)" + "\nthis message is displayed with displayerror()!
Download Manager preferences - Archive of obsolete content
browser.download.manager.showalertinterval the minimum number of milliseconds that must elapse between download complete alerts; if two downloads complete within this amount of time, only one alert is displayed.
Error Console - Archive of obsolete content
manipulating data displayed in error console information displayed in error console can be accessed and manipulated through the console service.
Proxy UI - Archive of obsolete content
right-click a menu is displayed that has the following items: online (proxy: none) online (proxy: auto discover) online (proxy: auto url) online (proxy: manual) --- proxy configuration...
Frequently Asked Questions - Archive of obsolete content
if source code is displayed without a gray area at the top, or if you just see gibberish, then the problem is server misconfiguration.
Actionscript Performance Tests - Archive of obsolete content
when the number of iterations is greater than 2 all times are displayed in [], faster time is displayed in the output column, and the 95% confidence interval is calculated.
Tamarin mercurial commit hook - Archive of obsolete content
when a violation is found the following will be displayed: > hg commit -m "change with a tab" tab(s) found in test/test.txt for rev 1458 (change 53543674b8e6): @@ -65,4 +65,6 @@ +# tab here ^ (n)o, (y)es, (a)llow tabs for current file are you sure you want to commit this change?
Venkman - Archive of obsolete content
peter venkman, played by bill murray in the movies ghostbusters and ghostbusters ii.
confirm - Archive of obsolete content
atext the string to be displayed in the confirmation dialog.
initInstall - Archive of obsolete content
the name of the software is displayed to the user.
alwaysopenpopup - Archive of obsolete content
« xul reference home alwaysopenpopup obsolete since gecko 1.9.1 type: boolean note: applies to: thunderbird and seamonkeyif true, the autocomplete popup will be displayed even when there are no matches.
autoFillAfterMatch - Archive of obsolete content
« xul reference home autofillaftermatch obsolete since gecko 1.9.1 type: boolean if set to true, the entire text of the best match will be displayed at the end of the input.
crop - Archive of obsolete content
ArchiveMozillaXULAttributecrop
if you wish to use the value none and the displayed text is larger than this maximum width, you may be able to use the max-width css property (or the maxwidth attribute) to override this size.
currentset - Archive of obsolete content
« xul reference home currentset not in seamonkey 1.x type: comma-separated string the current set of displayed items on the toolbar.
defaultset - Archive of obsolete content
« xul reference home defaultset not in seamonkey 1.x type: comma-separated list of item ids the default set of displayed items on the toolbar.
disablechrome - Archive of obsolete content
this is used to hide chrome when showing in-browser ui such as the about:addons page, and causes the toolbars to be hidden, with only the tab strip (and, if currently displayed, the add-on bar) left showing.
disablefastfind - Archive of obsolete content
this is used to prevent the find bar from being displayed when it's not supported by the content (such as in the add-ons manager tab).
enableColumnDrag - Archive of obsolete content
« xul reference home enablecolumndrag type: boolean when set to true, the user may drag the column headers around to change the order in which they are displayed.
equalsize - Archive of obsolete content
never all of the children are displayed at the size required by the content or as specified by the width and height attributes or the css width and height properties.
handleCtrlTab - Archive of obsolete content
if the shift key is also held down, the previous tab will be displayed.
height - Archive of obsolete content
the actual displayed height may be different if the element or its contents have a minimum or maximum height.
hidden - Archive of obsolete content
« xul reference home hidden type: boolean if set to true, the element is not displayed.
linkedpanel - Archive of obsolete content
« xul reference home linkedpanel type: id the id of the linked tabpanel element that will be displayed when the tab is selected.
menuitem.key - Archive of obsolete content
« xul reference home key type: id set to the id of a key element whose key shortcut is displayed in the menuitem.
minresultsforpopup - Archive of obsolete content
« xul reference home minresultsforpopup new in thunderbird 3requires seamonkey 2.0 type: integer the minimum number of results that must be returned for the popup to be displayed.
next - Archive of obsolete content
ArchiveMozillaXULAttributenext
when set, the page with this pageid is displayed when the next button is pressed.
oninput - Archive of obsolete content
this event is only called when the text displayed would change, thus it is not called when the user presses non-displayable keys.
ordinal - Archive of obsolete content
you can retrieve the displayed order by using the properties of the boxobject of the container.
size - Archive of obsolete content
ArchiveMozillaXULAttributesize
« xul reference home size type: integer the number of characters that can be displayed in the textbox.
state - Archive of obsolete content
open the content either before or after the splitter, depending on the value of the collapsed attribute, is currently displayed.
textbox.empty - Archive of obsolete content
« xul reference home empty type: boolean presence of this attribute indicates that the emptytext is now being displayed.
textbox.minResultsForPopup - Archive of obsolete content
« xul reference home minresultsforpopup obsolete since gecko 1.9.1 type: integer the minimum number of results that must be returned for the popup to be displayed.
toolbar.mode - Archive of obsolete content
« xul reference home mode not in seamonkey 1.x type: one of the values below how the toolbarbuttons on the toolbar are displayed.
toolbarbutton.title - Archive of obsolete content
the text that is displayed as a button's label when it's in the customize toolbar palette.
toolbarbutton.type - Archive of obsolete content
this will typically cause the button to be displayed differently.
tooltiptext - Archive of obsolete content
the tooltip is displayed in a default tooltip which displays only a label, however the default tooltip may be changed by setting the default attribute on a tooltip element.
treecol.src - Archive of obsolete content
you cannot have both an image and a label displayed in the header.
value - Archive of obsolete content
for those elements, setattribute("value", myvalue) and getattribute("value") do not access or affect the contents displayed to the user.
Deprecated and defunct markup - Archive of obsolete content
--neil 03 march 2011 <bulletinboard> (made to support left/top styles, but <stack> can now do as well) <gripper> (inside of <scrollbar><thumb>; not to be used by itself) <listboxbody> (internal use only; part of xbl for <listbox>) <menubutton> (experiment in combining buttons and menus; use <button type> instead) <nativescrollbar> (displayed a native scrollbar; had been for mac only with native themes on) <outliner> (former name for <tree>; <listbox> had been "<tree>") <popup> (use menupopup) <package> (no longer present but in older documentation) <scrollbarbutton> (button at end of scrollbar; had been only within larger <scrollbar>) so, not deprecated, but internal use only?
popupshowing - Archive of obsolete content
general info specification xul interface popupevent bubbles yes cancelable yes target element default action a popup is displayed properties property type description target read only eventtarget the event target (the topmost target in the dom tree).
XUL Events - Archive of obsolete content
this event is only called when the text displayed would change, thus it is not called when the user presses non-displayable keys.
Introduction to XUL - Archive of obsolete content
window chrome is displayed and managed by the same layout engine that manages html content in the browser.
ensureElementIsVisible - Archive of obsolete content
« xul reference home ensureelementisvisible( element ) return type: no return value if the specified element is not currently visible to the user, the displayed items are scrolled so that it is.
ensureIndexIsVisible - Archive of obsolete content
« xul reference home ensureindexisvisible( index ) return type: no return value if the item at the specified index is not currently visible to the user the displayed items are scrolled so that it is.
getIndexOfItem - Archive of obsolete content
items are numbered starting at the first item displayed in the list.
getRowCount - Archive of obsolete content
« xul reference home getrowcount() return type: integer returns the total number of rows in the element, regardless of how many rows are displayed.
goTo - Archive of obsolete content
ArchiveMozillaXULMethodgoTo
« xul reference home goto( pageid ) return type: no return value this method is used to change which page is currently displayed, specified by the pageid argument.
loadTabs - Archive of obsolete content
if loadinbackground is true, the tabs are loaded in the background, and if replace is true, the currently displayed tabs are replaced with the specified uris instead of adding new tabs.
removeAllTabsBut - Archive of obsolete content
if only one tab page is displayed, this method does nothing.
removeTab - Archive of obsolete content
if only one tab is displayed, this method does nothing (unless the preference browser.tabs.closewindowwithlasttab is true, in which case the window containing the tab is closed).
showPopup - Archive of obsolete content
each type of popup is intended to be displayed only temporarily; they are not expected to be displayed permanently.
Menus - Archive of obsolete content
when the 'help' label is pressed, the menupopup is displayed over top of the window, aligned along the bottom of the help menu label.
MoveResize - Archive of obsolete content
this method will change the left and top attributes to match the supplied arguments, so if these attributes are persisted the values will be restored when the window is displayed again.
OpenClose - Archive of obsolete content
the anchor of a popup is the element node that the popup is displayed next to.
amIndicator - Archive of obsolete content
« xul reference amindicator type: string the string value displayed for hours between midnight and noon, defaulting to am.
currentNotification - Archive of obsolete content
« xul reference currentnotification type: notification element the currently displayed notification element or null.
currentPage - Archive of obsolete content
« xul reference currentpage type: wizardpage element this property returns the wizardpage element that is currently displayed.
currentPane - Archive of obsolete content
« xul reference currentpane type: prefpane element reference to the currently displayed pane.
dateLeadingZero - Archive of obsolete content
« xul reference dateleadingzero type: boolean a read only value indicating whether a leading zero should be displayed before the date when it is less than 10.
enableColumnDrag - Archive of obsolete content
« xul reference enablecolumndrag type: boolean when set to true, the user may drag the column headers around to change the order in which they are displayed.
firstOrdinalColumn - Archive of obsolete content
« xul reference firstordinalcolumn type: treecol element a reference to the first treecol element, which or may not be the first column displayed in the tree.
hourLeadingZero - Archive of obsolete content
« xul reference hourleadingzero type: boolean a read only value indicating whether a leading zero should be displayed before the hour when it is less than 10.
minuteLeadingZero - Archive of obsolete content
« xul reference minuteleadingzero type: boolean a read only value indicating whether a leading zero should be displayed before the minute when it is less than 10.
monthLeadingZero - Archive of obsolete content
« xul reference monthleadingzero type: boolean a read only value indicating whether a leading zero should be displayed before the month when it is less than 10.
next - Archive of obsolete content
ArchiveMozillaXULPropertynext
when set, the page with this pageid is displayed when the next button is pressed.
pmIndicator - Archive of obsolete content
« xul reference pmindicator type: string the string value displayed for hours between noon and midnight, defaulting to pm.
secondLeadingZero - Archive of obsolete content
« xul reference secondleadingzero type: boolean a read only value indicating whether a leading zero should be displayed before the second when it is less than 10.
selectedBrowser - Archive of obsolete content
« xul reference selectedbrowser type: browser element this read-only property returns the currently displayed browser element.
view - Archive of obsolete content
ArchiveMozillaXULPropertyview
« xul reference view type: nsitreeview the view for the tree, which is the object which generates the data to be displayed.
yearLeadingZero - Archive of obsolete content
« xul reference yearleadingzero type: boolean a read only value indicating whether a leading zero should be displayed before the year when it is less than 1000.
Notes - Archive of obsolete content
implementing an nsicommandlinehandler on windows may trigger a bug that causes an error message ("windows cannot find the file specified") to be displayed when opening external links (like from a shortcut or from an external application).
monospace - Archive of obsolete content
« xul reference home monospace this class causes the text to be displayed in a monospace font.
plain - Archive of obsolete content
ArchiveMozillaXULStyleplain
« xul reference home plain this class causes the element to be displayed with no border or margin.
small-margin - Archive of obsolete content
« xul reference home small-margin this class causes the text to be displayed with a smaller margin.
Additional Navigation - Archive of obsolete content
<vbox uri="?photo" class="box-padded"> <image src="?photo"/> <label value="?title"/> <label value="country: ?countrytitle"/> </vbox> a label for the country will be displayed as well.
Building Trees - Archive of obsolete content
when the tree is displayed, it asks the view for the contents of each cell.
Multiple Rule Example - Archive of obsolete content
if you reversed the order of the two rules in the example above, three photos would still be displayed, but the larger rule that displays the image details would be dropped as the other rule has a higher priority.
Result Generation - Archive of obsolete content
if this were the last statement, mary would go on to become a match to be displayed.
Template Builder Interface - Archive of obsolete content
both types of builder share much of the same code except for how they generate output to be displayed.
Using Recursive Templates - Archive of obsolete content
in this example, both the parent groups and child people are displayed the same.
XML Templates - Archive of obsolete content
be aware that when xml data is included inline as in this example, the content may be displayed and may affect the layout of other parts of the window.
Complete - Archive of obsolete content
in the custom toolbar button extension, the only things that might depend on the locale are the text strings displayed in the user interface.
SeaMonkey - making custom toolbar (SM ver. 1.x) - Archive of obsolete content
explanation: this css stylesheet specifies how the button is diaplayed.
Accesskey display rules - Archive of obsolete content
this label will be displayed as "キャンセル(c)(c)" on the localized build.
Adding Methods to XBL-defined Elements - Archive of obsolete content
the first occurs when a window is displayed.
Adding Properties to XBL-defined Elements - Archive of obsolete content
when set, an alert will be displayed which displays the value to assign to the property.
Advanced Rules - Archive of obsolete content
this means that the city must have a name and prediction to be displayed, yet it does not matter if it has a temperature.
Box Model Details - Archive of obsolete content
the best interface is one that can be displayed at various sizes without problems.
Broadcasters and Observers - Archive of obsolete content
like other non-displayed elements, the broadcasterset element serves as a placeholder for broadcasters.
Creating an Installer - Archive of obsolete content
a progress bar is displayed to the user during this process.
Features of a Window - Archive of obsolete content
this, of course, causes the window to be displayed in a specific size.
List Controls - Archive of obsolete content
this is much like a regular row except that it is displayed differently.
Manipulating Lists - Archive of obsolete content
list scrolling if there are more rows in the listbox than can be displayed, a scroll bar will appear to allow the user to scroll the list.
More Tree Features - Archive of obsolete content
you can have the child rows initially displayed by adding the open attribute.
Persistent Data - Archive of obsolete content
you will typically want to save toolbar states, window positions and whether certain panels are displayed or not, but you can save almost anything.
Popup Menus - Archive of obsolete content
popup menus are typically displayed when the user presses the right mouse button.
Progress Meters - Archive of obsolete content
as was stated earlier, we only want the progress bar to be displayed while the search was occurring.
Tabboxes - Archive of obsolete content
when the user clicks on the mail tab, the contents of the first tab page will be displayed below the tabs.
Tree View Details - Archive of obsolete content
a non-empty container will be displayed with a twisty next to it so that the user may open and close the row to see child items.
XULBrowserWindow - Archive of obsolete content
boolean hidechromeforlocation( in string alocation ); parameters alocation the url to check to see if chrome should be hidden while that location is displayed.
XUL Template Primer - Bindings - Archive of obsolete content
when displayed in mozilla, something like this appears: note that even though poor lumpy has no nc:address property, he still appears in the content model!
XUL Event Propagation - Archive of obsolete content
in the diagram above, the alert dialog invoked by the menuitem itself is not displayed, since the root window element has used event capture to handle the event itself.
arrowscrollbox - Archive of obsolete content
methods ensureelementisvisible( element ) return type: no return value if the specified element is not currently visible to the user, the displayed items are scrolled so that it is.
broadcasterset - Archive of obsolete content
the broadcasterset and its descendants are not displayed.
button - Archive of obsolete content
if you wish to use the value none and the displayed text is larger than this maximum width, you may be able to use the max-width css property (or the maxwidth attribute) to override this size.
caption - Archive of obsolete content
if you wish to use the value none and the displayed text is larger than this maximum width, you may be able to use the max-width css property (or the maxwidth attribute) to override this size.
checkbox - Archive of obsolete content
if you wish to use the value none and the displayed text is larger than this maximum width, you may be able to use the max-width css property (or the maxwidth attribute) to override this size.
commandset - Archive of obsolete content
« xul reference home [ examples | attributes | properties | methods | related ] this element is not displayed and serves as a container for command elements.
deck - Archive of obsolete content
ArchiveMozillaXULdeck
the selectedindex attribute determines which child is displayed.
dialogheader - Archive of obsolete content
if you wish to use the value none and the displayed text is larger than this maximum width, you may be able to use the max-width css property (or the maxwidth attribute) to override this size.
keyset - Archive of obsolete content
the keyset and its descendants are not displayed.
listcell - Archive of obsolete content
if you wish to use the value none and the displayed text is larger than this maximum width, you may be able to use the max-width css property (or the maxwidth attribute) to override this size.
menubar - Archive of obsolete content
on the macintosh, the menubar is displayed along the top of the screen, and all non-menu related elements inside the menubar will be ignored.
notification - Archive of obsolete content
for those elements, setattribute("value", myvalue) and getattribute("value") do not access or affect the contents displayed to the user.
notificationbox - Archive of obsolete content
tbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref, removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties currentnotification type: notification element the currently displayed notification element or null.
panel - Archive of obsolete content
ArchiveMozillaXULpanel
typically, it will be attached to a button using the button's type attribute so that when the button is pressed, the panel will be displayed.
preference - Archive of obsolete content
in this case the actual value to be displayed in the ui is obtained from the defaultvalue property.
prefwindow - Archive of obsolete content
currentpane type: prefpane element reference to the currently displayed pane.
richlistitem - Archive of obsolete content
for those elements, setattribute("value", myvalue) and getattribute("value") do not access or affect the contents displayed to the user.
scrollbox - Archive of obsolete content
note that a scrollbox doesn't cause scrollbars to be displayed.
splitter - Archive of obsolete content
open the content either before or after the splitter, depending on the value of the collapsed attribute, is currently displayed.
stack - Archive of obsolete content
ArchiveMozillaXULstack
all elements are displayed at once.
<statusbarpanel> - Archive of obsolete content
if you wish to use the value none and the displayed text is larger than this maximum width, you may be able to use the max-width css property (or the maxwidth attribute) to override this size.
tabs - Archive of obsolete content
ArchiveMozillaXULtabs
items are numbered starting at the first item displayed in the list.
toolbarpalette - Archive of obsolete content
it is not displayed, but is used by the toolbar customization dialog to display the list of items.
toolbox - Archive of obsolete content
if a toolbar is placed inside a toolbox, a grippy is displayed on its left or upper edge.
Building XULRunner with Python - Archive of obsolete content
unhandled exceptions are displayed in the javascript error console which can be opened usingxulrunner -jsconsole.
Debugging a XULRunner Application - Archive of obsolete content
there are two different consoles available and various preferences which will ensure that the information you need to know is displayed on them.
calICalendarViewController - Archive of obsolete content
if no astarttime is specified, then an event-creation dialog should be displayed.
Gecko Compatibility Handbook - Archive of obsolete content
if pages should be displayed by legacy browsers such as netscape navigator 4 or internet explorer 4 and 5, be sure to specify quirks mode layout via the doctype.
2006-10-13 - Archive of obsolete content
(user feels print belongs on the context menu along with back, reload, etc.) questions about programming for firefox a student questions how to create an extension that changes fonts, and how to capture website content before it is displayed.
2006-11-10 - Archive of obsolete content
event in firefox similar to ondownloadcomplete event in ie an inquiry about how to change the font of a web page before it is displayed using an extenstion.
2006-10-27 - Archive of obsolete content
calling tb with a specific message to be displayed there's a new question by guenter about calling tb from an external program (eg.
2006-10-27 - Archive of obsolete content
problem with belarusian firefox 2 rc3 the broken message is displayed after user tries to visit non-existing site.
Monitoring plugins - Archive of obsolete content
on(subject, topic, data) { if (topic == "experimental-notify-plugin-call" ) { if (data > 0.500) { alert("runtime is: " + data); } } } note: this is just a simplified example and the use of alert() is discouraged as the component can send hundreds of notifications each second and could potentially cause your browser to crash if an excessive number of alert boxes are displayed.
NPN_Status - Archive of obsolete content
your message is always displayed, but you have no control over how long it stays in the status line before another message replaces it.
Introduction to Public-Key Cryptography - Archive of obsolete content
:8e:54:65:fc:06: 30:43:34:d1:63:1f:06:7d:c3:40:a8:2a:82:c1:a4:83:2a:fb:2e:8f:fb: f0:6d:ff:75:a3:78:f7:52:47:46:62:97:1d:d9:c6:11:0a:02:a2:e0:cc: 2a:75:6c:8b:b6:9b:87:00:7d:7c:84:76:79:ba:f8:b4:d2:62:58:c3:c5: b6:c1:43:ac:63:44:42:fd:af:c8:0f:2f:38:85:6d:d6:59:e8:41:42:a5: 4a:e5:26:38:ff:32:78:a1:38:f1:ed:dc:0d:31:d1:b0:6d:67:e9:46:a8: d:c4 here is the same certificate displayed in the 64-byte-encoded form interpreted by software: -----begin certificate----- miickzccazsgawibagibazanbgkqhkig9w0baqqfada3mqswcqydvqqgewjvuzer ma8ga1uechmitmv0c2nhcguxftatbgnvbastdfn1chjpewencybdqtaefw05nzew mtgwmtm2mjvafw05otewmtgwmtm2mjvamegxczajbgnvbaytalvtmrewdwydvqqk ewhozxrzy2fwztenmasga1uecxmeuhviczexmbuga1ueaxmou3vwcml5ysbtagv0 dhkwgz8wdqyjkozihvcnaqefbqadgy0amigjaogbamr6ezipgf...
Building a Theme - Archive of obsolete content
after it restarts this second time, you should see the background color of the toolbars is displayed in orange now.
Theme changes in Firefox 3 - Archive of obsolete content
instead .tabs-left now displayed and given the same width as the former margin-left.
Theme changes in Firefox 4 - Archive of obsolete content
note: add-ons always use a 24x24 pixels icon when the button is displayed in the toolbar customization palette.
Settings - Archive of obsolete content
show variables filter box enabling this option adds a "filter variables" search box to the variables pane, so that you can filter the displayed list of variables.
::-ms-reveal - Archive of obsolete content
the password reveal button is usually displayed at the edge of the password field.
CSS - Archive of obsolete content
ArchiveWebCSS
typically it is a triangle that points downward.::-ms-fillthe ::-ms-fill css pseudo-element is a microsoft extension that represents a progress bar displayed by <progress>.::-ms-fill-lowerthe ::-ms-fill-lower css pseudo-element represents the lower portion of the track of a slider control; that is, the portion corresponding to values less than the value currently selected by the thumb.
Displaying notifications (deprecated) - Archive of obsolete content
to see how to use the standard api, please read: using web notifications mobile only in gecko 2.0 available only in firefox mobile as of gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) firefox offers support for "desktop notifications"; these are notifications that are displayed to the user outside the context of the web content, using the standard notification system provided by the operating system.
Date.prototype.toLocaleFormat() - Archive of obsolete content
you might consider using some of the more general tolocale* methods of the date object or doing your own custom localization of the date to be displayed using some of the get* methods of the date object instead of using this method.
Writing JavaScript for XHTML - Archive of obsolete content
/*]]>*/ </style> and if you really need compatibility with very old browsers that do not recognize the script or style tags resulting in their contents displayed on the page, you can use this: <script type="text/javascript"><!--//--><![cdata[//><!-- ...
XForms Custom Controls - Archive of obsolete content
for example, if you have an instance node of type xsd:date and you'd like to see the date displayed in a local format.
XForms Alert Element - Archive of obsolete content
the alert element's message can also be displayed immediately after the containing form control element in the xforms document's layout.
XForms Help Element - Archive of obsolete content
the help message will be displayed if the f1 key is pressed while the containing form control has focus or if the containing form control recieves a xforms-help event.
XForms Input Element - Archive of obsolete content
characteristics used when the instance node is of type xsd:boolean or a type derived from it analogous widgets are <xhtml:input type="checkbox"/> and <xul:checkbox/> the corresponding label can be displayed before or after the checkbox by using the labelposition attribute.
XForms Repeat Element - Archive of obsolete content
for each node in the nodeset, the contents of the repeat element will be displayed in the form.
XForms Switch Module - Archive of obsolete content
only the contents of a single case may be displayed at one time.
XForms - Archive of obsolete content
other strengths that xforms brings to the table is the separation of data from presentation, strong data typing, the ability to submit xml data to servers instead of name/value pairs, and a descriptive way to author forms so that they can be displayed by a wide variety of devices.
Archived open Web documentation - Archive of obsolete content
browser feature detection an experimental approach to discovering degree of support for standards css obsolete css features displaying notifications (deprecated) firefox offers support for "desktop notifications"; these are notifications that are displayed to the user outside the context of the web content, using the standard notification system provided by the operating system.
Fixing Incorrectly Sized List Item Markers - Archive of obsolete content
in addition, when a document is displayed in "quirks" mode in mozilla 0.9.4 and later, the markers of lists will not use the font size of the list item text, but will instead stay the same as the user's default font size.
Using the Right Markup to Invoke Plugins - Archive of obsolete content
get it from <a href="http://java.sun.com/products/plugin/index.html">here.</a></p> </object> the above code mentions a version specific mime type, and if the mozilla-based browser such as netscape 7 doesn't have jre 1.4.1_01 installed, the alternate text is displayed.
Index - Game development
in this series of articles we will show you how you can approach building a game that can be played using touchscreen smartphones, mouse and keyboard, and also less common mechanisms such as gamepads.
Game monetization - Game development
freemium games that feature iaps are often referred to a freemium — a freemium game can be acquired and played for free, but you can pay for extra (premium) features, virtual goods or other benefits.
Explaining basic 3D theory - Game development
texture filtering is applied when the original resolution or the texture image is different from the displayed fragment — it will be minified or magnified accordingly.
Building up a basic demo with A-Frame - Game development
the animation direction is set to alternate so the animation will be played forward, and then back.
Building up a basic demo with Babylon.js - Game development
creating a scene a scene is the place where all the game content is displayed.
WebVR — Virtual Reality for the Web - Game development
boris smus has written about the concept of responsive webvr, where a single web game can be played on various devices like laptops without vr hardware, pcs with oculus rift, or smartphones inside google cardboard and still deliver a unique and valuable experience across all of them.
Implementing game control mechanisms - Game development
in this series of articles we will show you how you can approach building a game that can be played using touchscreen smartphones, mouse and keyboard, and also less common mechanisms such as gamepads.
Tiles and tilemaps overview - Game development
to be able to transform world coordinates into screen coordinates, we need the coordinates of the camera, since they determine which section of the world is being displayed.
Animations and tweens - Game development
add the following function just before your closing </script> tag: function ballhitpaddle(ball, paddle) { ball.animations.play('wobble'); } the animation is played every time the ball hits the paddle.
Browsing context - MDN Web Docs Glossary: Definitions of Web-related terms
each browsing context has a specific origin, the origin of the active document and a history that memorize all the displayed documents, in order.
Continuous Media - MDN Web Docs Glossary: Definitions of Web-related terms
web content displayed on a screen is continuous media, as is spoken content.
Favicon - MDN Web Docs Glossary: Definitions of Web-related terms
a favicon (favorite icon) is a tiny icon included along with a website, which is displayed in places like the browser's address bar, page tabs and bookmarks menu.
ITU - MDN Web Docs Glossary: Definitions of Web-related terms
from defining rules for ensuring transmissions get to where they need to go to and creating the "sos" alert signal used in morse code, the itu has long played a key role in how we use technology to exchange information and ideas.
MVC - MDN Web Docs Glossary: Definitions of Web-related terms
the view the view defines how the app's data should be displayed.
Media (Audio-visual presentation) - MDN Web Docs Glossary: Definitions of Web-related terms
media content can be recorded, played back, presented, and at times interacted with in various ways.
Pixel - MDN Web Docs Glossary: Definitions of Web-related terms
eg: a “800 x 600” pixel resolution means that 800 pixels can be displayed in width and 600 pixels in height.
Screen reader - MDN Web Docs Glossary: Definitions of Web-related terms
the content read aloud is displayed in a dark grey box.
Script-supporting element - MDN Web Docs Glossary: Definitions of Web-related terms
these elements may be important, but do not affect the displayed page unless the page's scripts explicitly cause them to do so.
Speed index - MDN Web Docs Glossary: Definitions of Web-related terms
it is the average time at which visible parts of the page are displayed.
Web performance - MDN Web Docs Glossary: Definitions of Web-related terms
web performance is the objective time from when a request for content is made until the requested content is displayed in the user's browser, objective render times, and the subjective user experience of load time and runtime.
caret - MDN Web Docs Glossary: Definitions of Web-related terms
a caret (sometimes called a "text cursor") is an indicator displayed on the screen to indicate where text input will be inserted.
HTML: A good basis for accessibility - Learn web development
other form elements have different controls, for example, the <select> element can have its options displayed and cycled between using the up and down arrow keys.
HTML: A good basis for accessibility - Learn web development
other form elements have different controls, for example, the <select> element can have its options displayed and cycled between using the up and down arrow keys.
Mobile accessibility - Learn web development
svg has a small file size and will stay sharp regardless of whatever size is being displayed (see adding vector graphics to the web for more details).
WAI-ARIA basics - Learn web development
the result of checking this checkbox is, as well as updating the aria-disabled state, and some visual indicators too: function togglemusician(bool) { let instruitem = formitems[formitems.length-1]; if(bool) { instruitem.input.disabled = false; instruitem.label.style.color = '#000'; instruitem.input.setattribute('aria-disabled', 'false'); hiddenalert.textcontent = 'instruments played field now enabled; use it to tell us what you play.'; } else { instruitem.input.disabled = true; instruitem.label.style.color = '#999'; instruitem.input.setattribute('aria-disabled', 'true'); instruitem.input.removeattribute('aria-label'); hiddenalert.textcontent = 'instruments played field now disabled.'; } } describing non-semantic buttons as buttons a few times in thi...
What is accessibility? - Learn web development
captions) that can be displayed along with video.
Images, media, and form elements - Learn web development
this means that it has a size in both the horizontal (x) and vertical (y) dimensions, and will be displayed using the intrinsic dimensions of the file by default.
Test your skills: Images and Form elements - Learn web development
try updating the live code below to recreate the example as displayed in the image: for assessment or further work purposes, download the starting point for this task to work in your own editor or in an online editor.
Test your skills: Overflow - Learn web development
try updating the live code below to recreate the example as displayed in the image: for assessment or further work purposes, download the starting point for this task to work in your own editor or in an online editor.
Test your skills: The Box Model - Learn web development
try updating the live code below to recreate the example as displayed in the image: for assessment or further work purposes, download the starting point for this task to work in your own editor or in an online editor.
Test your skills: Flexbox - Learn web development
flex layout two these list items are all different sizes, but we want them to be displayed as three equal sized columns, no matter what content is in each item.
Test Your Skills: Fundamental layout comprehension - Learn web development
this starting point has all of the content of your layout as displayed by the browser in normal flow.
Test your skills: Grid Layout - Learn web development
grid layout three there are four direct children in this grid; the starting point has them displayed using auto-placement.
Positioning - Learn web development
simply put, the absolutely positioned element will be displayed outside of the <html> element, and be positioned relative to the initial viewport.
Practical positioning examples - Learn web development
styling our tabs now we want to style tabs to look like tabs — basically, these are a horizontal navigation menu, but instead of loading different web pages when they are clicked on like we've seen previously in the course, they cause different panels to be displayed on the same page.
Using CSS generated content - Learn web development
this article describes some ways in which you can use css to add content when a document is displayed.
Fundamental text and font styling - Learn web development
text-overflow: define how overflowed content that is not displayed is signaled to users.
Web fonts - Learn web development
note: under the "find fonts" section in the right-hand column, you can click on the different tags and classifications to filter the displayed choices.
How can we design for all types of users? - Learn web development
yet, for many years internet explorer adamantly displayed 16 pixels as 16 pixels.
What is the difference between webpage, website, web server, and search engine? - Learn web development
we'll cover these terms and technologies in more detail as we explore further, but these quick definitions will be a great start for you: web page a document which can be displayed in a web browser such as firefox, google chrome, opera, microsoft internet explorer or edge, or apple's safari.
Basic native form controls - Learn web development
<input> elements on the other hand are empty elements; their displayed content is inserted inside the value attribute, and therefore only accepts plain text as content.
How the Web works - Learn web development
when a client device wants to access a webpage, a copy of the webpage is downloaded from the server onto the client machine to be displayed in the user's web browser.
The web and web standards - Learn web development
there are another class of languages called back-end (or server-side) languages, meaning that they are run on the server before the result is then sent to the browser to be displayed.
Tips for authoring fast-loading HTML pages - Learn web development
· <body> · user visible page content in small chunks ( <header>/ <main>/ <table>) that can be displayed without waiting for the full page to download.
Introduction to HTML - Learn web development
metadata in html the head of an html document is the part that is not displayed in the web browser when the page is loaded.
From object to iframe — other embedding technologies - Learn web development
a quick example first though — try loading the previous example we showed above into your browser — you can find it live on github (see the source code too.) you won't actually see anything displayed on the page, and if you look at the console in the browser developer tools, you'll see a message telling you why.
Introducing asynchronous JavaScript - Learn web development
' + image.src + 'displayed.'); you should now get an error in your console instead of the third message: typeerror: image is undefined; can't access its "src" property this is because at the time the browser tries to run the third console.log() statement, the fetch() block has not finished running so the image variable has not been given a value.
Graceful asynchronous programming with Promises - Learn web development
if you save the html file you've just created and load it in your browser, you'll see that the image is displayed in the page as expected.
Drawing graphics - Learn web development
now anything the renderer draws will be displayed in our window.
Manipulating documents - Learn web development
first of all, let's grab a reference to the div, and then grab the width and height of the viewport (the inner window, where your document is displayed) and store them in variables — these two values are handily contained in the window.innerwidth and window.innerheight properties.
Third-party APIs - Learn web development
above the closing curly brace: // use fetch() to make the request to the api fetch(url).then(function(result) { return result.json(); }).then(function(json) { displayresults(json); }); here we run the request by passing our url variable to fetch(), convert the response body to json using the json() function, then pass the resulting json to the displayresults() function so the data can be displayed in our ui.
Object prototypes - Learn web development
bye for now!'); }; save the code and load the page in the browser, and try entering the following into the text input: person1.farewell(); you should get an alert message displayed, featuring the person's name as defined inside the constructor.
Introducing JavaScript objects - Learn web development
sending some data from the server to the client, so it can be displayed on a web page).
CSS performance optimization - Learn web development
will-change: opacity, transform; the font-display property applied to the @font-face rule, the font-display property defines how font files are loaded and displayed by the browser, allowing text to appear with a fallback font while a font loads, or fails to load.
Server-side web frameworks - Learn web development
the team_level is a choice field, so we also provide a mapping between choices to be displayed and data to be stored, along with a default value.
Server-side website programming - Learn web development
displaying all of these using different static pages would be extremely inefficient, so instead such sites display static templates (built using html, css, and javascript), and then dynamically update the data displayed inside those templates when needed, such as when you want to view a different product on amazon.
TypeScript support in Svelte - Learn web development
this package allows you to detect errors and warnings normally displayed by a code editor from the command line, which makes it pretty useful for running it in a continuous integration (ci) pipeline.
Working with Svelte stores - Learn web development
our alert component will displayed by the app component, but any component can send notifications to it; whenever a notification arrives the alert component will be in charge of displaying it on screen.
Dynamic behavior in Svelte: working with variables and props - Learn web development
dynamically generating the todos from the data at the moment, our displayed todo items are all static.
Adding a new todo form: Vue events, methods, and models - Learn web development
/> element inside your app's <template>, like so: <template> <div id="app"> <h1>my to-do list</h1> <to-do-form></to-do-form> <ul> <li v-for="item in todoitems" :key="item.id"> <to-do-item :label="item.label" :done="item.done" :id="item.id"></to-do-item> </li> </ul> </div> </template> now when you view your running site, you should see the new form displayed.
Package management basics - Learn web development
a bundle is the term that’s generally used to refer to a single file on your web server that contains all the javascript for your software — typically compressed as much as possible to help reduce the time it takes to get your software downloaded and displayed in your visitors’ browser.
Accessibility Features in Firefox
also, usercontent.css allows users knowledgeable about cascading style sheets to customize the appearance of all pages that are displayed.
Mozilla's Section 508 Compliance
unknown - needs research (h) when animation is displayed, the information shall be displayable in at least one non-animated presentation mode at the option of the user.
Frequently Asked Questions for Lightweight themes
we are big fans of creativity, but want to ensure that the art displayed in the themes gallery meets a basic set of guidelines.
Lightweight themes
creating a theme header image the header image is displayed as the background of the top of the browser window, nestling in behind the toolbars, address bar, search bar and the tab strip.
A bird's-eye view of the Mozilla framework
if (link) return link.value; else return null; the document page for the link is displayed in thehelp viewer window.
Creating reftest-based unit tests
one should be able to "snap a picture" of the glyph as it should be displayed and then the reference page would include that graphic in an <img> element.
Error codes returned by Mozilla APIs
an error will typically be displayed on the error console, but can be captured using a try-catch block in javascript.
Experimental features in Firefox
yes developer edition 43 no beta 43 no release 43 no preference name layout.css.control-characters.enabled or layout.css.control-characters.visible property: initial-letter the initial-letter css property is part of the css inline layout specification and allows you to specify how dropped, raised, and sunken initial letters are displayed.
Storage access policy: Block cookies from trackers
that user lands on your website, which includes a conversion tracking tag from the same website that displayed your ad.
Site Identity Button
insecure renegotation - older versions of tls had a flaw in the basic design; if your server uses an affected version, the security ui will be downgraded but no web console message will be displayed.
Embedding the editor
as is the case for composer embedded in a native application, there is a requirement here that the composer ui be configurable, such that it can be displayed either as a toolbar at the top of the <htmlarea>, a floating palette, or a top-level toolbar.
How Mozilla determines MIME Types
when loading an uri with a type that mozilla can not handle, a helper app dialog shows up, and the displayed information comes from these sources: ask the os for a handler of the given <extension, mime type> pair.
How to implement a custom autocomplete search component
autocompletesearchparam='[{"value":"mark","comment":"cool dude"},{"value":"mary","comment":"nice lady"},{"value":"jimmy","comment":"very uncool guy"},{"value":"jimbo","comment":null}]' /> how to solve autocomplete panel focus problems in some situations there may be problems with the display of the autocomplete panel (this is the panel where the autocomplete results/suggestions are displayed): the autocomplete panel seems to appear seldom and very erratically.
Addon
if you don't provide an abouturl, a generic about dialog is displayed.
AddonManager
addontype viewtypes constant description view_type_list the type should be displayed in a regular list view in the ui.
AddonType
uipriority integer a number used to determine the order of types displayed in the user interface.
CustomizableUI.jsm
onwidgetoverflow(anode, acontainer) fired when a widget's dom node is overflowing its container, a toolbar, and will be displayed in the overflow panel.
source-editor.jsm
showlinenumbers boolean a boolean value indicating whether or not the line numbers gutter should be displayed.
Localization content best practices
for example accessibility (a11y) strings: in this case space is less important than clarity, since these strings are not displayed in the ui but used by tools like screen readers.
Localizing with Koala
also, searchbar.dtd is no longer displayed in the "compare" view, as it has been completely translated.
Creating localizable web applications
for right-to-left languages, the slideshow should go from right to left as well, making the last element in the html the first one to be displayed.
Basics
you can also make displayed equations, such as the following ones: x → maps to y = f n ⁡ ( x ) = ( 1 + 1 x n ) n ∫ a b f ( x ) d x = b - a 6 [ f ( a ) + 4 f ( a + b 2 ) + f ( b ) ] - ( b - a ) 5 4 !
MathML Demo: <mfrac> - fractions
displayed nested fractions are normal size at the first level, 1 6 2 + 1 3 + 1 4 + 1 5 + 1 6 + … script size at second level, and script-script size at all more nested levels.
MathML Demo: <mtable> - tables and matrices
1 4444 4444 4444 x 7777777 text after displayed math.
Investigating leaks using DMD heap scan mode
you can pass some additional options to affect how the results are displayed.
Gecko Profiler FAQ
that tree is then displayed in the usual way, with weights in decreasing order from top to bottom.
about:memory
sections memory reports are displayed on a per-process basis, with one process per section.
Performance
that log can then be replayed against firefox's default memory allocator independently or through another replace-malloc library, allowing the testing of other allocators under the exact same workload.
Preference reference
the effect is that the source xml file is not read and re-parsed each time the chrome in question is displayed.
PR_Assert
syntax #include <prlog.h> void pr_assert ( const char *s, const char *file, printn ln); parameters the function has these parameters: s a string to be displayed in the log.
NSS 3.38 release notes
the available orphan key ids can be displayed using command certutil -k.
Notes on TLS - SSL 3.0 Intolerant Servers
the connection seems terminated and a blank page is displayed.
PKCS11 FAQ
MozillaProjectsNSSPKCS11FAQ
once you've installed the module, the module's certificates simply appear in the list of certificates displayed in the certificate window.
PKCS11 Implement
the version numbers, manufacturer ids, and so on are displayed when the user views the information.
NSS tools : certutil
ids are displayed in hexadecimal ("0x" is not shown).
NSS Tools certutil
ids are displayed in hexadecimal ("0x" is not shown).
certutil
ids are displayed in hexadecimal ("0x" is not shown).
WebReplayRoadmap
recording firefox ui (partially implemented) right now only content tabs can be recorded and replayed.
Redis Tips
getting started with redis before you go any further in this document, make sure you have played with redis for at least 5 or 10 minutes.
Pinning violation reports
the error page displayed by firefox when you encounter a pin violation gives you the option of reporting this error.
Gecko states
state_expanded children of this object that have the role_outlineitem role are displayed.
Using the Places history service
this will cause the transition type of the next visit of the url to be marked as "bookmark." nsinavhistoryservice.setpageusertitle: sets the user-defined title for the page, which will override the actual page title when displayed in the ui.
Aggregating the In-Memory Datasource
that is, you want to reflect the contents of something as an rdf graph (presumably so that it can be aggregated with other information or displayed as styled content).
Receiving startup notifications
final-ui-startup sent just before the first application window is displayed.
Components.Exception
syntax var exception = [ new ] components.exception([ message [, result [, stack [, data ] ] ] ]); parameters message a string which can be displayed in the error console when your exception is thrown or in other developer-facing locations, defaulting to 'exception' result the nsresult value of the exception, which defaults to components.results.ns_error_failure stack an xpcom stack to be set on the exception (defaulting to the current stack chain) data any additional data you might want to store, defaulting to null example throw c...
nsIAbCard
allowremotecontent boolean allow remote content to be displayed in html mail received from this contact methods getcardvalue() astring getcardvalue(in string name) parameters name the attribute you want the value for.
nsIAccessNode
obsolete since gecko 2.0 ownerwindow voidptr the os window handle for the window this node is being displayed in.
nsIAccessibleStates
state_expanded 0x00000200 children of this object that have the role_outlineitem role are displayed.
nsIAutoCompleteInput
popup nsiautocompletepopup the view in which results will be displayed.read only.
nsIAutoCompleteItem
comment wstring an extra comment that will be displayed next to the value but that will not be part of the value itself.
nsICommandLineHandler
la/clh;1 command-line-handler y-final @mozilla.org/browser/clh-final;1 method overview void handle(in nsicommandline acommandline); attributes attribute type description helpinfo autf8string when the application is launched with the -help argument, this attribute is retrieved and displayed to the user (on stdout).
nsIContentViewer
note: if this container is the root of a view manager hierarchy (that is, this method returns null), and mparentwidget is also null, then this document should not even be displayed.
nsIDOMWindowInternal
fullscreen boolean whether the window is displayed in full screen mode or not frameelement nsidomelement readonly: the element in which the window is embedded, or null if the window is top-level.
nsIDirIndex
description wstring a description for the filename, which should be displayed by a viewer.
nsIDocShell
app_type_mail 1 this is the value of the apptype attribute used by thunderbird and seamonkey to indicate that email messages are displayed in this window.
nsIFaviconService
for a given page will give you a uri that, when displayed in chrome, will result in the given page's favicon.
nsIFeed
textinput nsiwritablepropertybag2 information about a text box that can be displayed along with the feed by aggregators that support it, to allow the reader to send a response back to the source of the feed.
nsIFeedEntry
mediacontent nsiarray an array of all the enclosures or other media that might be displayed inline in the entry.
nsIFilePicker
the dialog is displayed modally.
nsILoginManagerCrypto
uibusy boolean true when a master password prompt is being displayed.
nsIMarkupDocumentViewer
visual text will be displayed without reordering.
nsIMemoryReporter
paths are delimited with '/' characters to allow a hierarchy of memory to be displayed in about:memory.
nsIMemoryReporterManager
each code area is identified by a unique path string, which is displayed in about:memory.
nsIMsgAccountManagerExtension
boolean showpanel( in nsimsgincomingserver server ); parameters server the account for which the panel should be displayed.
nsIMsgDBViewCommandUpdater
displaymessagechanged() called when the displayed message has changed.
nsINavHistoryObserver
normally, transition types of transition_embed (corresponding to images in a page, for example) are not displayed in history results (unless includehidden is set).
nsIPlacesView
selectall() selects all the nodes displayed in the view.
nsIScrollable
example var nsiscr = gbrowser.selectedbrowser.docshell.queryinterface(components.interfaces.nsiscrollable); var v={}; var h={}; nsiscr.getscrollbarvisibility(v,h); v.value //returns true if the vertical scrollbar is displayed h.value //returns true if the horizontal scrollbar is displayed ...
nsISessionStartup
it will either be restored or about:sessionrestore will be displayed.
nsITreeBoxObject
a page is considered to be the amount displayed by the tree.
nsITreeColumn
index long the index of the nsitreecolumn in displayed order.
nsIWebNavigationInfo
this lets you determine whether a mime type can be displayed as-is inside a browser, or if the browser will instead forward handling of the data to a plug-in or an external helper application.
nsIWebPageDescriptor
docshell/base/nsiwebpagedescriptor.idlscriptable this interface allows content being displayed in one window to be loaded into another window without refetching it from the network.
nsIWebProgressListener
the status message is intended to be displayed to the user (for example, in the status bar of the browser).
nsIXFormsModelElement
extensions/xforms/nsixformsmodelelement.idlscriptable defines scriptable methods for manipulating instance data and updating computed and displayed values.
XPCOM Interface Reference by grouping
it is wrapped by system, but displayed for convenience.
XPCOM category image-sniffing-services
however, such decoders relied on servers sending correct mime types; images sent with incorrect mime types would not be correctly displayed.
XPCOM
however, such decoders relied on servers sending correct mime types; images sent with incorrect mime types would not be correctly displayed.xpcom gluethe xpcom glue is a static library which component developers and embedders can link against.
Address Book examples
photo display handlers a photo display handler determines how a contact photo can be extracted from a contact and displayed in an img element.
DB Views (message lists)
advanced search results are displayed with an nsmsgsearchdbview, and cross-folder saved searches use nsmsgxfvirtualfolderdbview, which inherits from nsmsgsearchdbview.
Events
ondisplayingfolder a folder gets displayed onfolderloading a folder is being loaded onleavingfolder a folder is being unloaded, includes deletion onloadingfolder a folder is being loaded onmakeactive a folderdisplaywidget becomes active onmessagecountschanged the counts of the messages changed onmessagesloaded the messages in the folder have be...
Filelink Providers
this function is called automatically once the dom content is done loading, and is passed a single parameter - the provider instance whose data is being displayed.
Index
the statusbar is usually displayed at the bottom of the thunderbird window.
Thunderbird Configuration Files
the default name new text document.txt should be displayed.
Building a Thunderbird extension 3: install manifest
<em:name>my first extension</em:name>: the extension name is displayed in the thunderbird add-on manager.
Building a Thunderbird extension 6: Adding JavaScript
the statusbar is usually displayed at the bottom of the thunderbird window.
Folders and message lists
to get the nsimsgfolder instance for the currently-displayed folder, just use gfolderdisplay.displayedfolder.
Theme Packaging
you must have a top-level chrome.manifest file which registers the chrome for the theme (as before) and also an install.rdf manifest that specifies metadata that is displayed in the appearance section of the add-ons manager.
customDBHeaders Preference
lay.xul install.rdf adding: chrome/ (stored 0%) adding: chrome.manifest (deflated 44%) adding: chrome/content/ (stored 0%) adding: chrome/content/superfluous.js (deflated 57%) adding: chrome/content/superfluous_overlay.xul (deflated 44%) adding: install.rdf (deflated 50%) end result ultimately, you want to be able to compose a message like this: and see the superfluous column displayed in your inbox like this: thanks many thanks go out to the thunderbird developers for the fine product that it is.
Using popup notifications
for example, this popup notification is displayed when a web site requests geolocation information: this lets the user decide whether or not to share their location when it's convenient to do so, instead of being compelled to do it at once.
Using tab-modal prompts
an alert!"]; prompt.alert.apply(null, promptargs); nsiprompt will automatically fall back to window-modal prompts when necessary (such as in situations in which tab-modal prompts aren't supported, or for prompts displayed outside the context of a tab).le to use other forms of the prompts of nsipromptservice interface see the example code.
Working with windows in chrome code
for example: // alerts the title of the document displayed in the content-primary widget alert(content.document.title); for example, you can use content.document in a browser.xul overlay to access the web page in the selected tab in a firefox window.
Add to iPhoto
hooking up to the context menu on startup, we find the content area's context menu and add an event listener to it that will be called when the context menu is displayed.
Drawing and Event Handling - Plugins
the content provider who writes the web page determines its display mode: whether the plug-in is embedded, or displayed in its own separate page.
Initialization and Destruction - Plugins
for example, a video player could save the last frame number to be displayed.
Streams - Plugins
for the complete list of codes, see "result codes." for an example that demonstrates using this function with npn_newstream and npn_write, see "example of sending a stream." example of sending a stream the following code creates a new stream of html text displayed by the browser in a new window, writes it, and destroys the stream.
Version, UI, and Status Information - Plugins
for this reason, your message is always displayed, but you have no control over how long it stays in the status line before another message replaces it.
Color vision simulation - Firefox Developer Tools
simulation image displayed none protanomaly (low red) deuteranomaly (low green) tritanomaly (low blue) protanopia (no red) deuteranopia (no green) tritanopia (no blue) contrast loss ...
Accessibility Inspector - Firefox Developer Tools
issues with a particular item are always displayed in the checks subpanel as you browse the tree.
Debugging service workers - Firefox Developer Tools
debugging your service worker in any case, when the service worker is successfully registered, you'll see information about it displayed in the application > service workers view (along with any other service workers registered on the same domain): this gives you a variety of information about your service worker: the url that the service worker is registered on.
Examine, modify, and watch variables - Firefox Developer Tools
you can filter the variables that are displayed, either by using the "*" modifier in the script filter, or by typing into the filter variables box, if you have enabled this in the debugger settings.
Ignore a source - Firefox Developer Tools
if the source file is displayed in the source pane, click the "eye" icon at the bottom.
Source map errors - Firefox Developer Tools
the message looks a little different in this case: in this case, the error will also be displayed in the source tab in the debugger: networkerror when attempting to fetch resource a bug in firefox prevents it from loading source maps for web extensions.
Tutorial: Show Allocations Per Call Path - Firefox Developer Tools
this stops logging allocations, and displays a tree of allocations: an allocation plot, displayed in the console the numbers at the left edge of each line show the total number of objects allocated at that site or at sites called from there.
Aggregate view - Firefox Developer Tools
you can use this to filter the contents of the snapshot that are displayed, so you can quickly see, for example, how many objects of a specific class were allocated.
Inspecting web sockets - Firefox Developer Tools
supported ws protocols the inspector currently supports the following web socket protocols: plain json socket.io sockjs signalr wamp the payload based on those protocols is parsed and displayed as an expandable tree for easy inspection, although you can of course still see the raw data (as sent over the wire) as well.
Network request details - Firefox Developer Tools
cookies tab this tab lists full details of any cookies sent with the request or response: as with headers, you can filter the list of cookies displayed.
CSS Flexbox Inspector: Examine Flexbox layouts - Firefox Developer Tools
flex item properties the flex items within the flex container are displayed as a numbered list in the flex items section.
Examine and edit HTML - Firefox Developer Tools
::before and ::after you can inspect pseudo-elements added using ::before and ::after: custom element definition when you open the inspector on a page that includes custom elements, you can view the class definition for the custom element in the debugger: inspect the element click on the word custom the source for the element's class will be displayed in the debugger.
Select an element - Firefox Developer Tools
the selected element is shown in the html pane and its css is displayed in the css pane.
Select and highlight elements - Firefox Developer Tools
the selected element is shown in the html pane and its css is displayed in the css pane.
Animation inspector (Firefox 41 and 42) - Firefox Developer Tools
the animation inspector enables you to: see information about all animations running in the page play/pause all animations play/pause/rewind/fast-forward each animation jump to a specific point in an animation highlight and inspect the animated node adjust the playback rate of each animation see whether an animation is running in the compositor thread (a lightning bolt icon is displayed next to such animations) ...
Flame Chart - Firefox Developer Tools
there are two main controls you can use to navigate the flame chart: zoom: increase/decrease the selected portion of the complete profile that's displayed in the flame chart 1) mouse wheel up/down in the flame chart.
How to - Firefox Developer Tools
select a tool to switch between the waterfall, call tree, and flame chart tools, use the buttons in the toolbar: configure markers displayed to control which markers are shown in the waterfall, use the button in the toolbar: zoom in to zoom into a slice of the recording, select that slice in the recording overview: ...
Waterfall - Firefox Developer Tools
filtering markers you can control which markers are displayed using a button in the toolbar: waterfall patterns exactly what you'll see in the waterfall is very dependent on the kind of thing your site is doing: javascript-heavy sites will have a lot of orange, while visually dynamic sites will have a lot of purple and green.
Rulers - Firefox Developer Tools
the dimensions of the viewport are displayed near the top-right corner of the viewport.
IndexedDB - Firefox Developer Tools
you can delete an indexeddb database using the context menu in the storage tree: if the database cannot be deleted (most commonly because there are still active connections to the database), a warning message will be displayed in the storage inspector: you can use the context menu in the table widget to delete all items in an object store, or a particular item: ...
Style Editor - Firefox Developer Tools
from firefox 35 onwards original sources are displayed by default.
Rich output - Firefox Developer Tools
click on the triangle, and the object will be expanded to show its contents: starting with firefox 67 (available now in firefox developer) you can use the arrow keys on your keyboard to navigate through objects displayed in the console.
The JavaScript input interpreter - Firefox Developer Tools
start typing part of the expression you are looking for and the first match is displayed in the console.
Web Console UI Tour - Firefox Developer Tools
funnel: click this icon to filter the messages that are displayed in the console.
Animation.currentTime - Web APIs
if the animation lacks a timeline, is inactive, or hasn't been played yet, currenttime's return value is null.
Animation.pause() - Web APIs
WebAPIAnimationpause
exceptions invalidstateerror the animation's currenttime is unresolved (for example, if it's never been played or isn't currently playing) and the end time of the animation is positive infinity.
Animation.ready - Web APIs
WebAPIAnimationready
syntax var readypromise = animation.ready; value a promise which resolves when the animation is ready to be played.
Animation.reverse() - Web APIs
WebAPIAnimationreverse
if called on an unplayed animation, the whole animation is played backwards.
AudioBuffer - Web APIs
once put into an audiobuffer, the audio can then be played by being passed into an audiobuffersourcenode.
AudioBufferSourceNode.AudioBufferSourceNode() - Web APIs
options optional options are as follows: buffer: an instance of audiobuffer to be played.
AudioBufferSourceNode.loopEnd - Web APIs
when the audio is played to the end, it loops, but you can control how long the loops last by altering loopstart and loopend.
AudioBufferSourceNode.loopStart - Web APIs
when the audio is played to the end, it loops, but you can control how long the loops last by altering loopstart and loopend.
AudioBufferSourceNode.playbackRate - Web APIs
the playbackrate property of the audiobuffersourcenode interface is a k-rate audioparam that defines the speed at which the audio asset will be played.
AudioContext.createMediaElementSource() - Web APIs
the createmediaelementsource() method of the audiocontext interface is used to create a new mediaelementaudiosourcenode object, given an existing html <audio> or <video> element, the audio from which can then be played and manipulated.
AudioContext.createMediaStreamSource() - Web APIs
the createmediastreamsource() method of the audiocontext interface is used to create a new mediastreamaudiosourcenode object, given a media stream (say, from a mediadevices.getusermedia instance), the audio from which can then be played and manipulated.
AudioNode - Web APIs
WebAPIAudioNode
on the other hand, a destination node has no outputs; instead, all its inputs are directly played back on the speakers (or whatever audio output device the audio context uses).
AudioScheduledSourceNode: ended event - Web APIs
bubbles no cancelable no interface event event handler property audioscheduledsourcenode.onended usage notes this event occurs when a audioscheduledsourcenode has stopped playing, either because it's reached a predetermined stop time, the full duration of the audio has been performed, or because the entire buffer has been played.
AudioScheduledSourceNode.start() - Web APIs
duration optional a floating-point number indicating the duration, in seconds, to be played.
AudioScheduledSourceNode - Web APIs
events listen to these events using addeventlistener() or by assigning an event listener to the oneventname property of this interface: ended fired when the source node has stopped playing, either because it's reached a predetermined stop time, the full duration of the audio has been performed, or because the entire buffer has been played.
BaseAudioContext.createDynamicsCompressor() - Web APIs
it is especially important in games and musical applications where large numbers of individual sounds are played simultaneously, where you want to control the overall signal level and help avoid clipping (distorting) of the audio output.
BaseAudioContext.createScriptProcessor() - Web APIs
.buffer = mybuffer; }, function(e){"error with decoding audio data" + e.err}); } request.send(); } // give the node a function to process audio events scriptnode.onaudioprocess = function(audioprocessingevent) { // the input buffer is the song we loaded earlier var inputbuffer = audioprocessingevent.inputbuffer; // the output buffer contains the samples that will be modified and played var outputbuffer = audioprocessingevent.outputbuffer; // loop through the output channels (in this case there is only one) for (var channel = 0; channel < outputbuffer.numberofchannels; channel++) { var inputdata = inputbuffer.getchanneldata(channel); var outputdata = outputbuffer.getchanneldata(channel); // loop through the 4096 samples for (var sample = 0; sample < input...
BaseAudioContext.decodeAudioData() - Web APIs
usually you'll want to put the decoded data into an audiobuffersourcenode, from which it can be played and manipulated how you want.
BaseAudioContext - Web APIs
baseaudiocontext.createbiquadfilter() creates a biquadfilternode, which represents a second order filter configurable as several different common filter types: high-pass, low-pass, band-pass, etc baseaudiocontext.createbuffer() creates a new, empty audiobuffer object, which can then be populated by data and played via an audiobuffersourcenode.
Drawing text - Web APIs
there are some more properties which let you adjust the way the text gets displayed on the canvas: font = value the current text style being used when drawing text.
console.count() - Web APIs
WebAPIConsolecount
examples for example, given code like this: let user = ""; function greet() { console.count(); return "hi " + user; } user = "bob"; greet(); user = "alice"; greet(); greet(); console.count(); console output will look something like this: "default: 1" "default: 2" "default: 3" "default: 4" the label is displayed as default because no explicit label was supplied.
console.debug() - Web APIs
WebAPIConsoledebug
the message is only displayed to the user if the console is configured to display debug output.
Console.info() - Web APIs
WebAPIConsoleinfo
in firefox, a small "i" icon is displayed next to these items in the web console's log.
Console.table() - Web APIs
WebAPIConsoletable
// an object whose properties are objects var family = {}; family.mother = new person("jane", "smith"); family.father = new person("john", "smith"); family.daughter = new person("emily", "smith"); console.table(family); restricting the columns displayed by default, console.table() lists all elements in each row.
Console.timeLog() - Web APIs
WebAPIConsoletimeLog
examples console.time("answer time"); alert("click to continue"); console.timelog("answer time"); alert("do a bunch of other stuff..."); console.timeend("answer time"); the output from the example above shows the time taken by the user to dismiss the first alert box, followed by the time it took for the user to dismiss the second alert: notice that the timer's name is displayed when the timer value is logged using timelog() and again when it's stopped.
console.trace() - Web APIs
WebAPIConsoletrace
example function foo() { function bar() { console.trace(); } bar(); } foo(); in the console, the following trace will be displayed: bar foo <anonymous> specifications specification status comment console apithe definition of 'console.trace()' in that specification.
console - Web APIs
WebAPIConsole
ven this code: console.time("answer time"); alert("click to continue"); console.timelog("answer time"); alert("do a bunch of other stuff..."); console.timeend("answer time"); will log the time needed by the user to dismiss the alert box, log the time to the console, wait for the user to dismiss the second alert, and then log the ending time to the console: notice that the timer's name is displayed both when the timer is started and when it's stopped.
Constraint validation API - Web APIs
this will be displayed in the ui if the element is the only form control with a validity problem; if a custom error message is set using setcustomvalidity(), this will be shown.
DOMHighResTimeStamp - Web APIs
if during the process of unloading the previous document which was loaded in the window, a confirmation dialog was displayed to let the user confirm whether or not to leave the previous page, the time origin is the time at which the user confirmed that navigating to the new page was acceptable.
DataTransfer.clearData() - Web APIs
drophandler (event) { dropped = true; status.innerhtml = 'drop done'; event.preventdefault(); // get data linked to event format « text » var _data = event.datatransfer.getdata('text/plain'); var element = document.getelementbyid(_data); // append drag source element to event's target element event.target.appendchild(element); // change css styles and displayed text element.style.csstext = 'border: 1px solid black;display: block; color: red'; element.innerhtml = "i'm in the drop zone!"; } }) specifications specification status comment html living standardthe definition of 'datatransfer.cleardata()' in that specification.
DataTransfer.dropEffect - Web APIs
it will affect which cursor is displayed while dragging.
DeprecationReportBody - Web APIs
the report details are displayed via the displayreports() fuction, which takes the observer callback's reports parameter as its parameter: function displayreports(reports) { const outputelem = document.queryselector('.output'); const list = document.createelement('ul'); outputelem.appendchild(list); for(let i = 0; i < reports.length; i++) { let listitem = document.createelement('li'); let textnode = document.cr...
Document.createDocumentFragment() - Web APIs
you can also use the documentfragment constructor to create a new fragment: let fragment = new documentfragment(); example this example creates a list of major web browsers in a documentfragment, then adds the new dom subtree to the document to be displayed.
Document.queryCommandState() - Web APIs
contenteditable="true">select a part of this text!</div> <button onclick="makebold();">test the state of the 'bold' command</button> javascript function makebold() { var state = document.querycommandstate("bold"); switch (state) { case true: alert("the bold formatting will be removed from the selected text."); break; case false: alert("the selected text will be displayed in bold."); break; case null: alert("the state of the 'bold' command is indeterminable."); break; } document.execcommand('bold'); } result specifications specification status comment execcommand ...
Document.title - Web APIs
WebAPIDocumenttitle
the assignment affects the return value of document.title, the title displayed for the document (e.g.
Examples of web and XML development using the DOM - Web APIs
but the stopevent method has stopped propagation, and so after the data in the table is updated, the event phase is effectively ended, and an alert box is displayed to confirm this.
Introduction to the DOM - Web APIs
this document can be either displayed in the browser window or as the html source.
DynamicsCompressorNode() - Web APIs
that can occur when multiple sounds are played and multiplexed together at once.
DynamicsCompressorNode - Web APIs
the dynamicscompressornode interface provides a compression effect, which lowers the volume of the loudest parts of the signal in order to help prevent clipping and distortion that can occur when multiple sounds are played and multiplexed together at once.
Element: contextmenu event - Web APIs
in the latter case, the context menu is displayed at the bottom left of the focused element, unless the element is a tree, in which case the context menu is displayed at the bottom left of the current row.
Element.onfullscreenchange - Web APIs
this gives us a value, isfullscreen, which we pass into a function called adjustmycontrols(), which we imagine to be a function that makes adjustments to the app's user interface to present itself optimally when it's in full-screen mode versus being displayed in a window.
Element.requestFullscreen() - Web APIs
the element.requestfullscreen() method issues an asynchronous request to make the element be displayed in full-screen mode.
Element: show event - Web APIs
bubbles no cancelable no interface event event handler property onshow examples <div contextmenu="test"></div> <menu type="context" id="test"> <menuitem label="alert" onclick="alert('the alert label has been clicked')" /> </menu> <script> document.getelementbyid("test").addeventlistener("show", function(e){ alert("the context menu will be displayed"); }, false); </script> specifications specification status html5the definition of 'show event' in that specification.
File.webkitRelativePath - Web APIs
when the change event occurs, a list of all files contained within the selected directory hierarchies is generated and displayed.
FontFace.display - Web APIs
WebAPIFontFacedisplay
the display property of the fontface interface determines how a font face is displayed based on whether and when it is downloaded and ready to use.
FontFace - Web APIs
WebAPIFontFace
fontface.display a cssomstring that determines how a font face is displayed based on whether and when it is downloaded and ready to use.
FullscreenOptions.navigationUI - Web APIs
let elem = document.documentelement; elem.requestfullscreen({ navigationui: "show" }).then({}).catch(err => { alert(`an error occurred while trying to switch into full-screen mode: ${err.message} (${err.name})`); }); the promise's resolve handler does nothing, but if the promise is rejected, an error message is displayed by calling alert().
GlobalEventHandlers.onanimationcancel - Web APIs
result assembled together, you get this: if your browser supports animationcancel, hiding the box using the button will cause a message to be displayed about the event.
GlobalEventHandlers.onanimationiteration - Web APIs
it simply sets the box's animation-play-state to "paused", then updates the text displayed in the button to indicate that clicking the button will start playing the next iteration of theanimation.
HTMLAnchorElement.download - Web APIs
the htmlanchorelement.download property is a domstring indicating that the linked resource is intended to be downloaded rather than displayed in the browser.
HTMLAnchorElement - Web APIs
htmlanchorelement.download is a domstring indicating that the linked resource is intended to be downloaded rather than displayed in the browser.
HTMLAreaElement - Web APIs
htmlareaelement.download is a domstring indicating that the linked resource is intended to be downloaded rather than displayed in the browser.
msAudioCategory - Web APIs
game audio needed for the game experience (dancing games, music games) feature films (designed to pause when they go to the background) no gameeffects game sound effects designed to mix with existing audio characters talking all non-music sounds no gamemedia background music played by a game no soundeffects game or other sound effects designed to mix with existing audio: characters talking beeps, dings, brief sounds no other default audio type, and recommended for all audio media that does not need to continue playing in the background.
HTMLButtonElement - Web APIs
htmlbuttonelement.menu is a htmlmenuelement representing the menu element to be displayed if the button is clicked and is of type="menu".
HTMLElement.hidden - Web APIs
example here's an example where a hidden block is used to contain a thank you message that is displayed after a user agrees to an unusual request.
HTMLElement.title - Web APIs
WebAPIHTMLElementtitle
the htmlelement.title property represents the title of the element: the text usually displayed in a 'tooltip' popup when the mouse is over the node.
HTMLImageElement.naturalHeight - Web APIs
javascript let output = document.queryselector(".output"); let image = document.queryselector("img"); window.addeventlistener("load", event => { output.innerhtml += `natural size: ${image.naturalwidth} x ` + `${image.naturalheight} pixels<br>`; output.innerhtml += `displayed size: ${image.width} x ` + `${image.height} pixels`; }); the javascript code simply dumps the natural and as-displayed sizes into the <div> with the class output.
HTMLImageElement.naturalWidth - Web APIs
javascript let output = document.queryselector(".output"); let image = document.queryselector("img"); window.addeventlistener("load", event => { output.innerhtml += `natural size: ${image.naturalwidth} x ` + `${image.naturalheight} pixels<br>`; output.innerhtml += `displayed size: ${image.width} x ` + `${image.height} pixels`; }); the javascript code simply dumps the natural and as-displayed sizes into the <div> with the class output.
HTMLImageElement.srcset - Web APIs
let box = document.queryselector(".box"); let image = box.queryselector("img"); let newelem = document.createelement("p"); newelem.innerhtml = `image: <code>${image.currentsrc}</code>`; box.appendchild(newelem); result in the displayed output below, the selected url will correspond with whether your display results in selecting the 1x or the 2x version of the image.
HTMLInputElement.webkitdirectory - Web APIs
when the change event occurs, a list of all files contained within the selected directory hierarchies is generated and displayed.
HTMLMediaElement.readyState - Web APIs
have_enough_data 4 enough data is available—and the download rate is high enough—that the media can be played through to the end without interruption.
HTMLMediaElement.setSinkId() - Web APIs
xceptions exception explanation domexception no permission to use the requested device examples const devices = await navigator.mediadevices.enumeratedevices(); const audiodevices = devices.filter(device => device.kind === 'audiooutput'); const audio = document.createelement('audio'); await audio.setsinkid(audiodevices[0].deviceid); console.log('audio is being played on ' + audio.sinkid); specifications specification status comment audio output devices apithe definition of 'sinkid' in that specification.
HTMLMediaElement.volume - Web APIs
the htmlmediaelement.volume property sets the volume at which the media will be played.
HTMLObjectElement.height - Web APIs
the height property of the htmlobjectelement interface returns a domstring that reflects the height html attribute, specifying the displayed height of the resource in css pixels.
HTMLObjectElement.width - Web APIs
the width property of the htmlobjectelement interface returns a domstring that reflects the width html attribute, specifying the displayed width of the resource in css pixels.
Option() - Web APIs
the displayed text.
HTMLVideoElement.getVideoPlaybackQuality() - Web APIs
this value includes any dropped or corrupted frames, so it's not the same as "total number of frames played." var videoelem = document.getelementbyid("my_vid"); var counterelem = document.getelementbyid("counter"); var quality = videoelem.getvideoplaybackquality(); counterelem.innertext = quality.totalvideoframes; specifications specification status comment media playback qualitythe definition of 'htmlvideoelement.getvideoplaybackquality()' in that specification.
HTMLVideoElement.videoHeight - Web APIs
this can happen when the element switches from displaying the poster frame to displaying video content, or when the displayed video track changes.
HTMLVideoElement.videoWidth - Web APIs
this can happen when the element switches from displaying the poster frame to displaying video content, or when the displayed video track changes.
The HTML DOM API - Web APIs
nodes don't have any concept of including the content that is actually displayed in the document.
Dragging and Dropping Multiple Items - Web APIs
multiple drop example the following example provides a box where the lists of items and formats dropped on it are displayed.
IDBCursor.continue() - Web APIs
store = transaction.objectstore('rushalbumlist'); objectstore.opencursor().onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var listitem = document.createelement('li'); listitem.innerhtml = cursor.value.albumtitle + ', ' + cursor.value.year; list.appendchild(listitem); cursor.continue(); } else { console.log('entries all displayed.'); } }; }; specifications specification status comment indexed database api 2.0the definition of 'continue()' in that specification.
IDBCursor.delete() - Web APIs
WebAPIIDBCursordelete
even power windows is better.'); }; } else { var listitem = document.createelement('li'); listitem.innerhtml = '<strong>' + cursor.value.albumtitle + '</strong>, ' + cursor.value.year; list.appendchild(listitem); } cursor.continue(); } else { console.log('entries displayed.'); } }; }; specifications specification status comment indexed database api 2.0the definition of 'delete()' in that specification.
IDBCursor.direction - Web APIs
prev').onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var listitem = document.createelement('li'); listitem.innerhtml = '<strong>' + cursor.value.albumtitle + '</strong>, ' + cursor.value.year; list.appendchild(listitem); console.log(cursor.direction); cursor.continue(); } else { console.log('entries displayed backwards.'); } }; }; specifications specification status comment indexed database api 2.0the definition of 'direction' in that specification.
IDBCursor.key - Web APIs
WebAPIIDBCursorkey
('rushalbumlist'); objectstore.opencursor().onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var listitem = document.createelement('li'); listitem.innerhtml = cursor.value.albumtitle + ', ' + cursor.value.year; list.appendchild(listitem); console.log(cursor.key); cursor.continue(); } else { console.log('entries all displayed.'); } }; }; specifications specification status comment indexed database api 2.0the definition of 'key' in that specification.
IDBCursor.primaryKey - Web APIs
lbumlist'); objectstore.opencursor().onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var listitem = document.createelement('li'); listitem.innerhtml = cursor.value.albumtitle + ', ' + cursor.value.year; list.appendchild(listitem); console.log(cursor.primarykey); cursor.continue(); } else { console.log('entries all displayed.'); } }; }; specifications specification status comment indexed database api 2.0the definition of 'primarykey' in that specification.
IDBCursor.request - Web APIs
WebAPIIDBCursorrequest
quest.onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var listitem = document.createelement('li'); listitem.innerhtml = '<strong>' + cursor.value.albumtitle + '</strong>, ' + cursor.value.year; list.appendchild(listitem); console.log(cursor.request); cursor.continue(); } else { console.log('entries all displayed.'); } }; }; specification specification status comment indexed database api draftthe definition of 'request' in that specification.
IDBCursor.source - Web APIs
WebAPIIDBCursorsource
ushalbumlist'); objectstore.opencursor().onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var listitem = document.createelement('li'); listitem.innerhtml = cursor.value.albumtitle + ', ' + cursor.value.year; list.appendchild(listitem); console.log(cursor.source); cursor.continue(); } else { console.log('entries all displayed.'); } }; }; specifications specification status comment indexed database api 2.0the definition of 'source' in that specification.
IDBCursor.update() - Web APIs
WebAPIIDBCursorupdate
quest = cursor.update(updatedata); request.onsuccess = function() { console.log('a better album year?'); }; }; const listitem = document.createelement('li'); listitem.innerhtml = '<strong>' + cursor.value.albumtitle + '</strong>, ' + cursor.value.year; list.appendchild(listitem); cursor.continue(); } else { console.log('entries displayed.'); } }; }; specifications specification status comment indexed database api 2.0the definition of 'update()' in that specification.
IDBCursor - Web APIs
WebAPIIDBCursor
store = transaction.objectstore('rushalbumlist'); objectstore.opencursor().onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var listitem = document.createelement('li'); listitem.innerhtml = cursor.value.albumtitle + ', ' + cursor.value.year; list.appendchild(listitem); cursor.continue(); } else { console.log('entries all displayed.'); } }; } specifications specification status comment indexed database api 2.0the definition of 'cursor' in that specification.
IDBCursorWithValue.value - Web APIs
rushalbumlist'); objectstore.opencursor().onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var listitem = document.createelement('li'); listitem.innerhtml = cursor.value.albumtitle + ', ' + cursor.value.year; list.appendchild(listitem); console.log(cursor.value); cursor.continue(); } else { console.log('entries all displayed.'); } }; }; specifications specification status comment indexed database api 2.0the definition of 'source' in that specification.
IDBCursorWithValue - Web APIs
store = transaction.objectstore('rushalbumlist'); objectstore.opencursor().onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var listitem = document.createelement('li'); listitem.innerhtml = cursor.value.albumtitle + ', ' + cursor.value.year; list.appendchild(listitem); cursor.continue(); } else { console.log('entries all displayed.'); } }; }; specifications specification status comment indexed database api 2.0the definition of 'idbcursorwithvalue' in that specification.
IDBIndex.count() - Web APIs
WebAPIIDBIndexcount
.jtitle + '</td>' + '<td>' + cursor.value.company + '</td>' + '<td>' + cursor.value.email + '</td>' + '<td>' + cursor.value.phone + '</td>' + '<td>' + cursor.value.age + '</td>'; tableentry.appendchild(tablerow); cursor.continue(); } else { console.log('entries all displayed.'); } }; }; specification specification status comment indexed database api 2.0the definition of 'count()' in that specification.
IDBIndex.get() - Web APIs
WebAPIIDBIndexget
.jtitle + '</td>' + '<td>' + cursor.value.company + '</td>' + '<td>' + cursor.value.email + '</td>' + '<td>' + cursor.value.phone + '</td>' + '<td>' + cursor.value.age + '</td>'; tableentry.appendchild(tablerow); cursor.continue(); } else { console.log('entries all displayed.'); } }; }; specification specification status comment indexed database api 2.0the definition of 'get()' in that specification.
IDBIndex.getKey() - Web APIs
WebAPIIDBIndexgetKey
.jtitle + '</td>' + '<td>' + cursor.value.company + '</td>' + '<td>' + cursor.value.email + '</td>' + '<td>' + cursor.value.phone + '</td>' + '<td>' + cursor.value.age + '</td>'; tableentry.appendchild(tablerow); cursor.continue(); } else { console.log('entries all displayed.'); } }; }; specification specification status comment indexed database api 2.0the definition of 'getkey()' in that specification.
IDBIndex.isAutoLocale - Web APIs
.jtitle + '</td>' + '<td>' + cursor.value.company + '</td>' + '<td>' + cursor.value.email + '</td>' + '<td>' + cursor.value.phone + '</td>' + '<td>' + cursor.value.age + '</td>'; tableentry.appendchild(tablerow); cursor.continue(); } else { console.log('entries all displayed.'); } }; }; specifications not currently part of any specification.
IDBIndex.keyPath - Web APIs
WebAPIIDBIndexkeyPath
.jtitle + '</td>' + '<td>' + cursor.value.company + '</td>' + '<td>' + cursor.value.email + '</td>' + '<td>' + cursor.value.phone + '</td>' + '<td>' + cursor.value.age + '</td>'; tableentry.appendchild(tablerow); cursor.continue(); } else { console.log('entries all displayed.'); } }; }; specification specification status comment indexed database api 2.0the definition of 'keypath' in that specification.
IDBIndex.locale - Web APIs
WebAPIIDBIndexlocale
.jtitle + '</td>' + '<td>' + cursor.value.company + '</td>' + '<td>' + cursor.value.email + '</td>' + '<td>' + cursor.value.phone + '</td>' + '<td>' + cursor.value.age + '</td>'; tableentry.appendchild(tablerow); cursor.continue(); } else { console.log('entries all displayed.'); } }; }; specification not currently part of any specification.
IDBIndex.multiEntry - Web APIs
.jtitle + '</td>' + '<td>' + cursor.value.company + '</td>' + '<td>' + cursor.value.email + '</td>' + '<td>' + cursor.value.phone + '</td>' + '<td>' + cursor.value.age + '</td>'; tableentry.appendchild(tablerow); cursor.continue(); } else { console.log('entries all displayed.'); } }; }; specification specification status comment indexed database api 2.0the definition of 'multientry' in that specification.
IDBIndex.name - Web APIs
WebAPIIDBIndexname
.jtitle + '</td>' + '<td>' + cursor.value.company + '</td>' + '<td>' + cursor.value.email + '</td>' + '<td>' + cursor.value.phone + '</td>' + '<td>' + cursor.value.age + '</td>'; tableentry.appendchild(tablerow); cursor.continue(); } else { console.log('entries all displayed.'); } }; }; specification specification status comment indexed database api 2.0the definition of 'name' in that specification.
IDBIndex.objectStore - Web APIs
.jtitle + '</td>' + '<td>' + cursor.value.company + '</td>' + '<td>' + cursor.value.email + '</td>' + '<td>' + cursor.value.phone + '</td>' + '<td>' + cursor.value.age + '</td>'; tableentry.appendchild(tablerow); cursor.continue(); } else { console.log('entries all displayed.'); } }; }; specification specification status comment indexed database api 2.0the definition of 'objectstore' in that specification.
IDBIndex.openCursor() - Web APIs
.jtitle + '</td>' + '<td>' + cursor.value.company + '</td>' + '<td>' + cursor.value.email + '</td>' + '<td>' + cursor.value.phone + '</td>' + '<td>' + cursor.value.age + '</td>'; tableentry.appendchild(tablerow); cursor.continue(); } else { console.log('entries all displayed.'); } }; }; specification specification status comment indexed database api 2.0the definition of 'opencursor()' in that specification.
IDBIndex.openKeyCursor() - Web APIs
index.openkeycursor().onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var tablerow = document.createelement('tr'); tablerow.innerhtml = '<td>' + cursor.key + '</td>' + '<td>' + cursor.primarykey + '</td>'; tableentry.appendchild(tablerow); cursor.continue(); } else { console.log('all last names displayed.'); } }; }; specification specification status comment indexed database api 2.0the definition of 'openkeycursor()' in that specification.
IDBIndex.unique - Web APIs
WebAPIIDBIndexunique
.jtitle + '</td>' + '<td>' + cursor.value.company + '</td>' + '<td>' + cursor.value.email + '</td>' + '<td>' + cursor.value.phone + '</td>' + '<td>' + cursor.value.age + '</td>'; tableentry.appendchild(tablerow); cursor.continue(); } else { console.log('entries all displayed.'); } }; }; specification specification status comment indexed database api 2.0the definition of 'unique' in that specification.
IDBIndex - Web APIs
WebAPIIDBIndex
.jtitle + '</td>' + '<td>' + cursor.value.company + '</td>' + '<td>' + cursor.value.email + '</td>' + '<td>' + cursor.value.phone + '</td>' + '<td>' + cursor.value.age + '</td>'; tableentry.appendchild(tablerow); cursor.continue(); } else { console.log('entries all displayed.'); } }; }; specification specification status comment indexed database api 2.0the definition of 'idbindex' in that specification.
IDBKeyRange.bound() - Web APIs
WebAPIIDBKeyRangebound
; objectstore.opencursor(keyrangevalue).onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var listitem = document.createelement('li'); listitem.innerhtml = '<strong>' + cursor.value.fthing + '</strong>, ' + cursor.value.frating; list.appendchild(listitem); cursor.continue(); } else { console.log('entries all displayed.'); } }; }; specification specification status comment indexed database api 2.0the definition of 'bound()' in that specification.
IDBKeyRange.lower - Web APIs
WebAPIIDBKeyRangelower
; objectstore.opencursor(keyrangevalue).onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var listitem = document.createelement('li'); listitem.innerhtml = '<strong>' + cursor.value.fthing + '</strong>, ' + cursor.value.frating; list.appendchild(listitem); cursor.continue(); } else { console.log('entries all displayed.'); } }; }; specification specification status comment indexed database api 2.0the definition of 'lower' in that specification.
IDBKeyRange.lowerBound() - Web APIs
; objectstore.opencursor(keyrangevalue).onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var listitem = document.createelement('li'); listitem.innerhtml = '<strong>' + cursor.value.fthing + '</strong>, ' + cursor.value.frating; list.appendchild(listitem); cursor.continue(); } else { console.log('entries all displayed.'); } }; }; specification specification status comment indexed database api 2.0the definition of 'lowerbound()' in that specification.
IDBKeyRange.lowerOpen - Web APIs
; objectstore.opencursor(keyrangevalue).onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var listitem = document.createelement('li'); listitem.innerhtml = '<strong>' + cursor.value.fthing + '</strong>, ' + cursor.value.frating; list.appendchild(listitem); cursor.continue(); } else { console.log('entries all displayed.'); } }; }; specification specification status comment indexed database api 2.0the definition of 'loweropen' in that specification.
IDBKeyRange.only() - Web APIs
WebAPIIDBKeyRangeonly
; objectstore.opencursor(keyrangevalue).onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var listitem = document.createelement('li'); listitem.innerhtml = '<strong>' + cursor.value.fthing + '</strong>, ' + cursor.value.frating; list.appendchild(listitem); cursor.continue(); } else { console.log('entries all displayed.'); } }; }; specification specification status comment indexed database api 2.0the definition of 'only' in that specification.
IDBKeyRange.upper - Web APIs
WebAPIIDBKeyRangeupper
; objectstore.opencursor(keyrangevalue).onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var listitem = document.createelement('li'); listitem.innerhtml = '<strong>' + cursor.value.fthing + '</strong>, ' + cursor.value.frating; list.appendchild(listitem); cursor.continue(); } else { console.log('entries all displayed.'); } }; }; specification specification status comment indexed database api 2.0the definition of 'upper' in that specification.
IDBKeyRange.upperBound() - Web APIs
; objectstore.opencursor(keyrangevalue).onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var listitem = document.createelement('li'); listitem.innerhtml = '<strong>' + cursor.value.fthing + '</strong>, ' + cursor.value.frating; list.appendchild(listitem); cursor.continue(); } else { console.log('entries all displayed.'); } }; }; specification specification status comment indexed database api 2.0the definition of 'upperbound()' in that specification.
IDBKeyRange.upperOpen - Web APIs
; objectstore.opencursor(keyrangevalue).onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var listitem = document.createelement('li'); listitem.innerhtml = '<strong>' + cursor.value.fthing + '</strong>, ' + cursor.value.frating; list.appendchild(listitem); cursor.continue(); } else { console.log('entries all displayed.'); } }; }; specification specification status comment indexed database api 2.0the definition of 'upperopen' in that specification.
IDBKeyRange - Web APIs
ore('fthings'); objectstore.opencursor(keyrangevalue).onsuccess = function(event) { var cursor = event.target.result; if(cursor) { var listitem = document.createelement('li'); listitem.innerhtml = '<strong>' + cursor.value.fthing + '</strong>, ' + cursor.value.frating; list.appendchild(listitem); cursor.continue(); } else { console.log('entries all displayed.'); } }; } specifications specification status comment indexed database api 2.0the definition of 'idbkeyrange' in that specification.
IDBLocaleAwareKeyRange - Web APIs
&lt;td&gt;' + cursor.value.company + '&lt;/td&gt;' + '&lt;td&gt;' + cursor.value.email + '&lt;/td&gt;' + '&lt;td&gt;' + cursor.value.phone + '&lt;/td&gt;' + '&lt;td&gt;' + cursor.value.age + '&lt;/td&gt;'; tableentry.appendchild(tablerow); cursor.continue(); } else { console.log('entries all displayed.'); } }; }; specifications not currently part of any specification.
IDBObjectStore.index() - Web APIs
.jtitle + '</td>' + '<td>' + cursor.value.company + '</td>' + '<td>' + cursor.value.email + '</td>' + '<td>' + cursor.value.phone + '</td>' + '<td>' + cursor.value.age + '</td>'; tableentry.appendchild(tablerow); cursor.continue(); } else { console.log('entries all displayed.'); } }; }; specification specification status comment indexed database api 2.0the definition of 'index()' in that specification.
Checking when a deadline is due - Web APIs
the basic problem in the to-do app, we wanted to first record time and date information in a format that is both machine readable and human understandable when displayed, and then check whether each time and date is occurring at the current moment.
installChrome - Web APIs
url url is a string containing a full or relative url to download name name is displayed in the dialog, but is also used to *select* the theme somust match exactly the name in the internal manifest.rdf file.
KeyframeEffect - Web APIs
these can then be played using the animation() constructor.
MediaError.message - Web APIs
only the relevant parts of the code are displayed; you can see the complete source code here.
MediaImage - Web APIs
its contents can be displayed by the user agent in appropriate contexts, like player interface to show the current playing video or audio track.
MediaMetadata.album - Web APIs
the album property of the mediametadata interface returns or sets the name of the album or collection containing the media to be played.
MediaMetadata.artist - Web APIs
the artist property of the mediametadata interface returns or sets the name of the artist, group, creator, etc., of the media to be played.
MediaMetadata.title - Web APIs
the title property of the mediametadata interface returns or sets the title of the media to be played.
MediaPositionState.position - Web APIs
if the media is still playing when the interval is fired, setpositionstate() is called with an object that specifies the duration, playback rate, and position as reported by a mymedia object that describes the track being played.
MediaPositionState - Web APIs
playbackrate a floating-point value indicating the rate at which the media is being played, as a ratio relative to its normal playback speed.
MediaSession.metadata - Web APIs
syntax var mediametadata = navigator.mediasession.metadata; navigator.mediasession.metadata = mediametadata; value an instance of mediametadata containing information about the media currently being played.
MediaSession.setPositionState() - Web APIs
if the media is still playing when the interval is fired, setpositionstate() is called with an object that specifies the duration, playback rate, and position as reported by a mymedia object that describes the track being played.
MediaSource - Web APIs
a mediasource object can be attached to a htmlmediaelement to be played in the user agent.
MediaStreamConstraints - Web APIs
streams isolated in this way can only be displayed in a media element (<audio> or <video>) where the content is protected just as if cors cross-origin rules were in effect.
Using the MediaStream Recording API - Web APIs
we then use the mediarecorder api to record the stream, and output each recorded snippet into the source of a generated <audio> element so it can be played back.
Using the Media Capabilities API - Web APIs
the framerate is the number of frames which are played per second of time when playing the video.
Transcoding assets for Media Source Extensions - Web APIs
note: if "invalid duration specification for force_key_frames: 'expr:eq(mod(n" is displayed as an error message, modify mp4-dash-encode.py and remove two "'" from "-force_key_frames 'expr:eq(mod(n,%d),0)'".
MerchantValidationEvent.complete() - Web APIs
another payment request is currently being processed, the current payment request is not currently being displayed to the user, or payment information is currently being updated.
MimeType - Web APIs
WebAPIMimeType
mimetype.suffixes a string containing valid file extensions for the data displayed by the plugin, or an empty string if an extension is not valid for the particular module.
Navigator.mediaSession - Web APIs
this information can include typical metadata such as the title, artist, and album name of the song being played as well as potentially one or more images containing things like album art, artist photos, and so forth.
Navigator.msLaunchUri() - Web APIs
syntax navigator.mslaunchuri(uri, successcallback, nohandlercallback); parameters uri a domstring specifying the url containing including the protocol of the document or resource to be displayed.
msSaveBlob - Web APIs
return value true is returned as long as the download notification bar is displayed, or false if a failure occured.
msSaveOrOpenBlob - Web APIs
return value true is returned as long as the download notification bar is displayed, or false if a failure occurred.
Navigator.registerProtocolHandler() - Web APIs
this will be displayed to the user, such as prompting “allow this site to handle [scheme] links?” or listing registered handlers in the browser’s settings.
Node.baseURI - Web APIs
WebAPINodebaseURI
details the base url of a document the base url of a document defaults to the document's address (as displayed by the browser and available in window.location), but it can be changed: when an html <base> tag is found in the document when the document is new (created dynamically) see the base urls section of the html living standard for details.
Notification.close() - Web APIs
the close() method of the notification interface is used to close/remove a previously displayed notification.
Notification.icon - Web APIs
WebAPINotificationicon
the icon read-only property of the notification interface contains the url of an icon to be displayed as part of the notification, as specified in the icon option of the notification() constructor.
Notification.image - Web APIs
the image read-only property of the notification interface contains the url of an image to be displayed as part of the notification, as specified in the image option of the notification() constructor.
Notification.onclick - Web APIs
these events occur when the user clicks on a displayed notification.
Notification.onerror - Web APIs
these events occur when something goes wrong with a notification (in many cases an error preventing the notification from being displayed.) syntax notification.onerror = function() { ...
Notification.onshow - Web APIs
these events occur when a notification is displayed.
NotificationAction - Web APIs
notificationaction.title read only the string describing the action that is displayed to the user.
Notifications API - Web APIs
these are outside the top-level browsing context viewport, so therefore can be displayed even when the user has switched tabs or moved to a different app.
OfflineAudioContext: complete event - Web APIs
bubbles no cancelable no default action none interface offlineaudiocompletionevent event handler property offlineaudiocontext.oncomplete examples when processing is complete, you might want to use the oncomplete handler the prompt the user that the audio can now be played, and enable the play button: let offlineaudioctx = new offlineaudiocontext(); offlineaudioctx.addeventlistener('complete', () => { console.log('offline audio processing now complete'); showmodaldialog('song processed and ready to play'); playbtn.disabled = false; }) you can also set up the event handler using the offlineaudiocontext.oncomplete property: let offlineaudioctx = new offline...
OfflineAudioContext.oncomplete - Web APIs
} example when processing is complete, you might want to use the oncomplete handler the prompt the user that the audio can now be played, and enable the play button.
OfflineAudioContext.startRendering() - Web APIs
this is then played as part of a simple standard audio graph.
OfflineAudioContext - Web APIs
this is then played as part of a simple standard audio graph.
PannerNode.orientationX - Web APIs
depending on the directionality of the sound (as specified using the attributes coneinnerangle, coneouterangle, and coneoutergain), the orientation of the sound may alter the perceived volume of the sound as it's being played.
PannerNode.orientationY - Web APIs
depending on the directionality of the sound (as specified using the attributes coneinnerangle, coneouterangle, and codeoutergain), the orientation of the sound may alter the perceived volume of the sound as it's being played.
PannerNode.orientationZ - Web APIs
depending on the directionality of the sound (as specified using the attributes coneinnerangle, coneouterangle, and codeoutergain), the orientation of the sound may alter the perceived volume of the sound as it's being played.
PannerNode.positionX - Web APIs
depending on the directionality of the sound (as specified using the attributes coneinnerangle, coneouterangle, and codeoutergain), the orientation of the sound may alter the perceived volume of the sound as it's being played.
PannerNode.positionY - Web APIs
depending on the directionality of the sound (as specified using the attributes coneinnerangle, coneouterangle, and codeoutergain), the orientation of the sound may alter the perceived volume of the sound as it's being played.
PannerNode.positionZ - Web APIs
depending on the directionality of the sound (as specified using the attributes coneinnerangle, coneouterangle, and codeoutergain), the orientation of the sound may alter the perceived volume of the sound as it's being played.
PayerErrors.name - Web APIs
WebAPIPayerErrorsname
this string will be displayed to the user by the user agent's payment handling user interface.
PayerErrors.phone - Web APIs
WebAPIPayerErrorsphone
this string will be displayed to the user by the user agent's payment handling user interface as appropriate.
PaymentDetailsUpdate.error - Web APIs
the paymentdetailsupdate dictionary's error property is a human-readable domstring which provides an error message to be displayed if the specified information doesn't offer any valid shipping options.
PaymentItem - Web APIs
this may be displayed to the user by the user agent, depending on the design of the interface.
Push API - Web APIs
WebAPIPush API
in comparison, chrome applies no limit, but requires that every push message causes a notification to be displayed.
RTCDTMFSender: tonechange event - Web APIs
examples this example establishes a handler for the tonechange event which updates an element to display the currently playing tone in its content, or, if all tones have played, the string "<none>".
RTCDTMFSender - Web APIs
ize="12px" font-family="consolas,monaco,andale mono,monospace" fill="#4d4e53" text-anchor="middle" alignment-baseline="middle">rtcdtmfsender</text></a></svg></div> a:hover text { fill: #0095dd; pointer-events: all;} properties rtcdtmfsender.tonebuffer read only a domstring which contains the list of dtmf tones currently in the queue to be transmitted (tones which have already been played are no longer included in the string).
RTCDTMFToneChangeEvent.tone - Web APIs
syntax var tone = dtmftonechangeevent.tone; example this example establishes a handler for the tonechange event which updates an element to display the currently playing tone in its content, or, if all tones have played, the string "<none>".
RTCDTMFToneChangeEvent - Web APIs
it appends each tone to a display box as it's played, and, once all tones have been sent, re-enabled a previously-disabled "send" button, allowing the next dmtf string to be entered.
RTCDataChannel.onmessage - Web APIs
example this code snippet creates a peer connection, adds a data channel to it, and starts creating new <p> (paragraph) elements each time a message arrives, with the message's contents displayed inside it.
RTCError - Web APIs
WebAPIRTCError
this message is then displayed using a function called showmyalertmessage(), which stands in for whatever output mechanism this code might use.
RTCErrorEvent.error - Web APIs
this message is then displayed using a function called showmyalertmessage(), which stands in for whatever output mechanism this code might use.
RTCInboundRtpStreamStats.framesDecoded - Web APIs
this represents the number of frames that would have been displayed assuming no frames were skipped.
RTCRtpContributingSource.audioLevel - Web APIs
the read-only audiolevel property of the rtcrtpcontributingsource interface indicates the audio level contained in the last rtp packet played from the described source.
RTCRtpContributingSource.timestamp - Web APIs
syntax var domhighrestimestamp = rtcrtpcontributingsource.timestamp value a domhighrestimestamp which indicates the time at which the most recent rtp packet from the corresponding source was played out.
RTCRtpSynchronizationSource.voiceActivityFlag - Web APIs
syntax var voiceactivity = rtcrtpsynchronizationsource.voiceactivityflag value a boolean value which is true if voice activity is present in the most recently received rtp packet played by the associated source, or false if voice activity is not present.
RTCRtpSynchronizationSource - Web APIs
voiceactivityflag optional a boolean value indicating whether or not voice activity is included in the last rtp packet played from the source.
Report - Web APIs
WebAPIReport
the report details are displayed via the displayreports() fuction, which takes the observer callback's reports parameter as its parameter: function displayreports(reports) { const outputelem = document.queryselector('.output'); const list = document.createelement('ul'); outputelem.appendchild(list); for(let i = 0; i < reports.length; i++) { let listitem = document.createelement('li'); let textnode = document.cr...
Screen - Web APIs
WebAPIScreen
screen.availheight specifies the height of the screen, in pixels, minus permanent or semipermanent user interface features displayed by the operating system, such as the taskbar on windows.
Screen Wake Lock API - Web APIs
for example, a ticketing app which uses qr codes to transmit ticket information, might acquire screen wake lock when the qr code is displayed (so that code is successfully scanned) but release afterwards.
ScriptProcessorNode: audioprocess event - Web APIs
lt action none interface audioprocessingevent event handler property scriptprocessornode.onaudioprocess examples scriptnode.addeventlistener('audioprocess', function(audioprocessingevent) { // the input buffer is a song we loaded earlier var inputbuffer = audioprocessingevent.inputbuffer; // the output buffer contains the samples that will be modified and played var outputbuffer = audioprocessingevent.outputbuffer; // loop through the output channels (in this case there is only one) for (var channel = 0; channel < outputbuffer.numberofchannels; channel++) { var inputdata = inputbuffer.getchanneldata(channel); var outputdata = outputbuffer.getchanneldata(channel); // loop through the 4096 samples for (var sample = 0; sample < input...
ScriptProcessorNode.bufferSize - Web APIs
.buffer = mybuffer; }, function(e){"error with decoding audio data" + e.err}); } request.send(); } // give the node a function to process audio events scriptnode.onaudioprocess = function(audioprocessingevent) { // the input buffer is the song we loaded earlier var inputbuffer = audioprocessingevent.inputbuffer; // the output buffer contains the samples that will be modified and played var outputbuffer = audioprocessingevent.outputbuffer; // loop through the output channels (in this case there is only one) for (var channel = 0; channel < outputbuffer.numberofchannels; channel++) { var inputdata = inputbuffer.getchanneldata(channel); var outputdata = outputbuffer.getchanneldata(channel); // loop through the 4096 samples for (var sample = 0; sample < input...
ScriptProcessorNode.onaudioprocess - Web APIs
.buffer = mybuffer; }, function(e){"error with decoding audio data" + e.err}); } request.send(); } // give the node a function to process audio events scriptnode.onaudioprocess = function(audioprocessingevent) { // the input buffer is the song we loaded earlier var inputbuffer = audioprocessingevent.inputbuffer; // the output buffer contains the samples that will be modified and played var outputbuffer = audioprocessingevent.outputbuffer; // loop through the output channels (in this case there is only one) for (var channel = 0; channel < outputbuffer.numberofchannels; channel++) { var inputdata = inputbuffer.getchanneldata(channel); var outputdata = outputbuffer.getchanneldata(channel); // loop through the 4096 samples for (var sample = 0; sample < input...
ScriptProcessorNode - Web APIs
.buffer = mybuffer; }, function(e){"error with decoding audio data" + e.err}); } request.send(); } // give the node a function to process audio events scriptnode.onaudioprocess = function(audioprocessingevent) { // the input buffer is the song we loaded earlier var inputbuffer = audioprocessingevent.inputbuffer; // the output buffer contains the samples that will be modified and played var outputbuffer = audioprocessingevent.outputbuffer; // loop through the output channels (in this case there is only one) for (var channel = 0; channel < outputbuffer.numberofchannels; channel++) { var inputdata = inputbuffer.getchanneldata(channel); var outputdata = outputbuffer.getchanneldata(channel); // loop through the 4096 samples for (var sample = 0; sample < input...
ServiceWorkerGlobalScope.onnotificationclick - Web APIs
the serviceworkerglobalscope.onnotificationclick property is an event handler called whenever the notificationclick event is dispatched on the serviceworkerglobalscope object, that is when a user clicks on a displayed notification spawned by serviceworkerregistration.shownotification().
onnotificationclose - Web APIs
the serviceworkerglobalscope.onnotificationclose property is an event handler called whenever the notificationclose event is dispatched on the serviceworkerglobalscope object, that is when a user closes a displayed notification spawned by serviceworkerregistration.shownotification().
Using Service Workers - Web APIs
note: as of firefox 44, when appcache is used to provide offline support for a page a warning message is now displayed in the console advising developers to use service workers instead (bug 1204581.) service workers should finally fix these issues.
SourceBuffer - Web APIs
the sourcebuffer interface represents a chunk of media to be passed into an htmlmediaelement and played, via a mediasource object.
TextTrack - Web APIs
WebAPITextTrack
thus, for displayed cues such as captions or subtitles, the active cues are currently being displayed.
VTTCue() - Web APIs
WebAPIVTTCueVTTCue
var cue = new vttcue(2, 3, 'cool text to be displayed'); specifications specification status comment webvtt: the web video text tracks formatthe definition of 'vttcue()' in that specification.
VTTRegion - Web APIs
WebAPIVTTRegion
var cue = new vttcue(2, 3, 'cool text to be displayed'); cue.region = region; // this cue will be drawn only within this region.
VideoPlaybackQuality.droppedVideoFrames - Web APIs
the read-only droppedvideoframes property of the videoplaybackquality interface returns the number of video frames which have been dropped rather than being displayed since the last time the media was loaded into the htmlvideoelement.
WebGLRenderingContext.makeXRCompatible() - Web APIs
the webglrenderingcontext method makexrcompatible() ensures that the rendering context described by the webglrenderingcontext is ready to render the scene for the immersive webxr device on which it will be displayed.
Boilerplate 1 - Web APIs
any additional non-trivial css and html will be displayed on the pages of specific examples.
Clearing with colors - Web APIs
<p>a very simple webgl program that shows some color.</p> <!-- text within a canvas element is displayed only if canvas is not supported.
Detect WebGL - Web APIs
the canvas is not added to the // document itself, so it is never displayed in the // browser window.
Raining rectangles - Web APIs
in this example, we use an object-oriented approach for the displayed rectangles, which helps to keep the state of the rectangle (its position, color, and so on) organized in one place, and the overall code more compact and reusable.
WebGL by example - Web APIs
color masking modifying random colors by applying color masking and thus limiting the range of displayed colors to specific shades.
Taking still photos with WebRTC - Web APIs
capturing a frame from the stream there's one last function to define, and it's the point to the entire exercise: the takepicture() function, whose job it is to capture the currently displayed video frame, convert it into a png file, and display it in the captured frame box.
WebRTC API - Web APIs
rtcrtpcontributingsource contains information about a given contributing source (csrc) including the most recent time a packet that the source contributed was played out.
Writing WebSocket servers - Web APIs
as usual, it may also give the reason why the handshake failed in the http response body, but the message may never be displayed (browsers do not display it).
Fundamentals of WebXR - Web APIs
caves a cave automated virtual environment (cave) is an immersive vr environment in which the scene is projected or otherwise displayed on the walls (as well as possibly the ceiling and/or floor), thus completely surrounding the user with the simulation and allowing them to be immersed in the scene.
Movement, orientation, and motion: A WebXR example - Web APIs
each entry is displayed with up to two decimal places.
Spaces and reference spaces: Spatial tracking in WebXR - Web APIs
the player, avatar, or camera; the origin of this space is used as the camera position for rendering the scene to be displayed to the user.
Starting up and shutting down a WebXR session - Web APIs
detecting changes to session's visibility state when the state of the xrsession's visibility changes—such as when the session is hidden or displayed, or when the user has focused another context—the session receives an eventvisibilitychange event.
Using the Web Animations API - Web APIs
writing css animations with the web animations api one of the more familiar ways to approach learning the web animations api is to start with something most web developers have played with before: css animations.
Web Animations API - Web APIs
these can then be played using the animation() constructor.
Visualizations with Web Audio API - Web APIs
analyser.fftsize = 256; var bufferlength = analyser.frequencybincount; console.log(bufferlength); var dataarray = new uint8array(bufferlength); canvasctx.clearrect(0, 0, width, height); next, we start our draw() function off, again setting up a loop with requestanimationframe() so that the displayed data keeps updating, and clearing the display with each animation frame.
Web Audio API - Web APIs
dynamicscompressornode the dynamicscompressornode interface provides a compression effect, which lowers the volume of the loudest parts of the signal in order to help prevent clipping and distortion that can occur when multiple sounds are played and multiplexed together at once.
Using the Web Speech API - Web APIs
inputtxt.blur(); } updating the displayed pitch and rate values the last part of the code simply updates the pitch/rate values displayed in the ui, each time the slider positions are moved.
Using the Web Storage API - Web APIs
next, we set the values displayed in the form elements to those values, so that they keep in sync when you reload the page.
Using Web Workers - Web APIs
the numbers are sent to a dedicated worker, multiplied together, and the result is returned to the page and displayed.
Window.alert() - Web APIs
WebAPIWindowalert
syntax window.alert(message); parameters message optional a string you want to display in the alert dialog, or, alternatively, an object that is converted into a string and displayed.
Window.defaultStatus - Web APIs
syntax var smsg = window.defaultstatus; window.defaultstatus = smsg; parameters smsg is a string containing the text to be displayed by default in the statusbar.
Window.fullScreen - Web APIs
WebAPIWindowfullScreen
the fullscreen property of the window interface indicates whether the window is displayed in full screen mode or not.
Window.getSelection() - Web APIs
when called on an <iframe> that is not displayed (eg.
Window.outerHeight - Web APIs
the height of the page being displayed, see window.innerheight.
Window.outerWidth - Web APIs
WebAPIWindowouterWidth
the width of the page being displayed, see window.innerwidth.
Window: popstate event - Web APIs
it happens after the new location has loaded (if needed), displayed, made visible, and so on, after the pageshow event is sent, but before the persisted user state information is restored and the hashchange event is sent.
Window.prompt() - Web APIs
WebAPIWindowprompt
default optional a string containing the default value displayed in the text input field.
Window.showModalDialog() - Web APIs
the window.showmodaldialog() created and displayed a modal dialog box containing a specified html document.
Window.status - Web APIs
WebAPIWindowstatus
however, the html standard now requires setting window.status to have no effect on the text displayed in the status bar.
Window - Web APIs
WebAPIWindow
window.fullscreen this property indicates whether the window is displayed in full screen or not.
WindowOrWorkerGlobalScope.setTimeout() - Web APIs
firefox 51 further amends this such that background tabs are no longer throttled if an audiocontext is present in the tab at all, even if no sound is being played.
Synchronous and asynchronous requests - Web APIs
if an error occurred, an error message is displayed.
XRPermissionDescriptor.mode - Web APIs
immersive-vr indicates that the rendered session will be displayed using an immersive xr device in vr mode; it is not intended to be overlaid or integrated into the surrounding environment.
XRSession.requestAnimationFrame() - Web APIs
example the following example requests xrsession with "inline" mode so that it can be displayed in an html element (without the need for a separate ar or vr device).
XRSession: visibilitychange event - Web APIs
.visiblitystate) { case "visible": case "visible-blurred": mysessionvisible(true); break; case "hidden": mysessionvisible(false); break; } }); }); when a visibility state change occurs, the event is received and dispatched to a function mysessionvisible(), with a boolean parameter indicating whether or not the session is presently being displayed to the user.
XRSession - Web APIs
WebAPIXRSession
example this example establishes a new xrsession in inline mode so that it can be displayed within an html element, avoiding the need for a dedicated ar or vr viewing device such as a headset.
XRSessionMode - Web APIs
immersive-vr indicates that the rendered session will be displayed using an immersive xr device in vr mode; it is not intended to be overlaid or integrated into the surrounding environment.
XRSystem: requestSession() - Web APIs
immersive-vr indicates that the rendered session will be displayed using an immersive xr device in vr mode; it is not intended to be overlaid or integrated into the surrounding environment.
XRViewerPose - Web APIs
taken together, these views can reproduce the 3d effect when displayed on the xr device.
ARIA: figure role - Accessibility
</figure> generally, you should reference the figure from the main text, but the figure need not be displayed at the same location as the referencing element.
ARIA: row role - Accessibility
if the columns displayed are contiguous, then it can be placed on the row.
Accessibility Information for Web Authors - Accessibility
the output data report is displayed in a clear and well structured table where each and all checkpoints are identified and described (along with an helpful clickable link to the related reference guideline) into logical groups and according to measurable results: passed, warning, failed for automated verification, warning for manual verification, not selected, not available, not related, etc.
Web accessibility for seizures and physical reactions - Accessibility
here are some highlights: inverted-colors according to the section, user preference media features , "the inverted-colors media feature indicates whether the content is displayed normally, or whether colors have been inverted." forced-colors in forced-colors-mode, the user agent enforces the user's preferred color palette on the page, overriding the author's chosen colors.
-webkit-touch-callout - CSS: Cascading Style Sheets
/* keyword values */ -webkit-touch-callout: default; -webkit-touch-callout: none; /* global values */ -webkit-touch-callout: initial; -webkit-touch-callout: inherit; -webkit-touch-callout: unset; syntax values default the default callout is displayed.
:-moz-handler-blocked - CSS: Cascading Style Sheets
the :-moz-handler-blocked css pseudo-class is a mozilla extension that matches elements that can't be displayed because their handlers have been blocked.
:-moz-handler-crashed - CSS: Cascading Style Sheets
the :-moz-handler-crashed css pseudo-class is a mozilla extension that matches elements that can't be displayed because the plugin responsible for drawing them has crashed.
:-moz-handler-disabled - CSS: Cascading Style Sheets
the :-moz-handler-disabled css pseudo-class is a mozilla extension that matches elements that can't be displayed because their handlers have been disabled by the user.
:-moz-loading - CSS: Cascading Style Sheets
the :-moz-loading css pseudo-class is a mozilla extension that matches elements that can't be displayed because they have not started loading, such as images that haven't started to arrive yet.
:-moz-locale-dir(ltr) - CSS: Cascading Style Sheets
the :-moz-locale-dir(ltr) css pseudo-class is a mozilla extension that matches an element if the user interface is being displayed left-to-right.
:-moz-locale-dir(rtl) - CSS: Cascading Style Sheets
the :-moz-locale-dir(rtl) css pseudo-class is a mozilla extension that matches an element if the user interface is being displayed right-to-left.
::backdrop - CSS: Cascading Style Sheets
/* backdrop is only displayed when dialog is opened with dialog.showmodal() */ dialog::backdrop { background: rgba(255,0,0,.25); } all full-screen elements are placed in a last-in/first out (lifo) stack in the top layer, which is a special layer in the viewport which is always rendered last (and therefore on top) before drawing the viewport's contents to the screen.
:placeholder-shown - CSS: Cascading Style Sheets
you can use the text-overflow property to alter the way overflowing text is displayed.
font-display - CSS: Cascading Style Sheets
the font-display descriptor determines how a font face is displayed based on whether and when it is downloaded and ready to use.
font-weight - CSS: Cascading Style Sheets
the font-weight property can separately be used to set how thick or thin characters in text should be displayed.
@font-face - CSS: Cascading Style Sheets
syntax @font-face { font-family: "open sans"; src: url("/fonts/opensans-regular-webfont.woff2") format("woff2"), url("/fonts/opensans-regular-webfont.woff") format("woff"); } descriptors font-display determines how a font face is displayed based on whether and when it is downloaded and ready to use.
overflow-inline - CSS: Cascading Style Sheets
none content that overflows the inline axis is not displayed.
Box alignment in grid layout - CSS: Cascading Style Sheets
the block axis crosses the inline axis in the direction that blocks are displayed down the page — for example paragraphs in english are displayed one below the other vertically.
Introduction to the CSS basic box model - CSS: Cascading Style Sheets
finally, note that for non-replaced inline elements, the amount of space taken up (the contribution to the height of the line) is determined by the line-height property, even though the borders and padding are still displayed around the content.
Color picker tool - CSS: Cascading Style Sheets
as you adjust the parameters that define the color, it gets displayed in all three standard web css formats.
Basic Concepts of Multicol - CSS: Cascading Style Sheets
the column-count property the column-count property specifies the number of columns that you would like the content to be displayed as.
Typical use cases of Flexbox - CSS: Cascading Style Sheets
navigation a common pattern for navigation is to have a list of items displayed as a horizontal bar.
In Flow and Out of Flow - CSS: Cascading Style Sheets
the list is displayed using flexbox to arrange the items into a row, however it too is participating in block and inline layout - the container has an outside display type of block.
OpenType font features guide - CSS: Cascading Style Sheets
uncheck the box below and you'll see more characters displayed.
CSS Fragmentation - CSS: Cascading Style Sheets
css fragmentation is a module of css that defines how content is displayed when it is broken (fragmented) across multiple pages, regions, or columns.
Basic Concepts of grid layout - CSS: Cascading Style Sheets
in a web browser, you won’t see any difference to how these items are displayed before turning them into a grid, as grid has created a single column grid for the items.
Box alignment in CSS Grid Layout - CSS: Cascading Style Sheets
this will be important to understand, if you develop sites that are then displayed in multiple languages, or if you want to mix languages or writing modes in a design.
Grid template areas - CSS: Cascading Style Sheets
the image might be displayed on the right or left of the box.
Consistent list indentation - CSS: Cascading Style Sheets
according to the css box model, the list items' boxes must be displayed within the parent element's content area.
Using CSS counters - CSS: Cascading Style Sheets
displaying a counter the value of a counter can be displayed using either the counter() or counters() function in a content property.
Basic concepts of Logical Properties and Values - CSS: Cascading Style Sheets
if instead of the width property we use the logical property inline-size, the component now works the same way no matter which writing mode it is displayed using.
Overview of CSS Shapes - CSS: Cascading Style Sheets
this allows the overlay of wrapped content around an image, or the use of an image which is never displayed on the page purely as a method of creating a complex shape without needing to carefully map a polygon.
Shapes From Images - CSS: Cascading Style Sheets
many demos do this as it helps to show the shape we are following, however the shape-outside property is not related to the image that is displayed on the page and so you do not need to display an image to use an image to create a shape.
Filter Effects - CSS: Cascading Style Sheets
filter effects is a module of css that defines a way of processing an element’s rendering before it is displayed in the document.
List group with badges - CSS: Cascading Style Sheets
requirements our list items should be displayed with the badges lined up on the right, no matter how much content the item has.
Using media queries - CSS: Cascading Style Sheets
a media query computes to true when the media type (if specified) matches the device on which a document is being displayed and all media feature expressions compute as true.
Viewport concepts - CSS: Cascading Style Sheets
any sub-viewport that is fully or partially displayed within the layout viewport is considered a visual viewport.
Visual formatting model - CSS: Cascading Style Sheets
if the viewport is smaller than the size of the document then the user agent needs to offer a way to scroll to the parts of the document that are not displayed.
animation-fill-mode - CSS: Cascading Style Sheets
the element will instead be displayed using any other css rules applied to it.
background-image - CSS: Cascading Style Sheets
note: even if the images are opaque and the color won't be displayed in normal circumstances, web developers should always specify a background-color.
background-repeat - CSS: Cascading Style Sheets
the background-position property is ignored unless only one image can be displayed without clipping.
border-image-source - CSS: Cascading Style Sheets
the appearance defined by border-style is displayed instead.
border-image - CSS: Cascading Style Sheets
note: if the computed value of border-image-source is none, or if the image cannot be displayed, the border-style will be displayed instead.
content - CSS: Cascading Style Sheets
WebCSScontent
it can be displayed using either the counter() or counters() function.
<display-box> - CSS: Cascading Style Sheets
however it also has display: contents specified therefore this <div> will not be rendered, the border and width will no longer apply, and the child element will be displayed as if the parent had never existed.
<display-outside> - CSS: Cascading Style Sheets
examples in the following example, span elements (normally displayed as inline elements) are set to display: block and so break onto new lines and expand to fill their container in the inline dimension.
font-size - CSS: Cascading Style Sheets
WebCSSfont-size
html { font-size: 62.5%; /* font-size 1em = 10px on default browser settings */ } span { font-size: 1.6rem; } then we apply this css to the same html, which looks like this: <span>outer <span>inner</span> outer</span> in this example, the words “outer inner outer” are all displayed at 16px (assuming that the browser's font-size has been left at the default value of 10px).
font-variant-ligatures - CSS: Cascading Style Sheets
<historical-lig-values> these values control the ligatures used historically, in old books, like the german tz digraph being displayed ß.
mask-repeat - CSS: Cascading Style Sheets
the mask-position property is ignored unless only one image can be displayed without clipping.
<resolution> - CSS: Cascading Style Sheets
due to the 1:96 fixed ratio of css in to css px, 1dppx is equivalent to 96dpi, which corresponds to the default resolution of images displayed in css as defined by image-resolution.
scroll-snap-coordinate - CSS: Cascading Style Sheets
ate: 50px 50px; /* single coordinate */ scroll-snap-coordinate: 100px 100px, 100px bottom; /* multiple coordinates */ /* global values */ scroll-snap-coordinate: inherit; scroll-snap-coordinate: initial; scroll-snap-coordinate: unset; if the element has been transformed, the snap coordinates are likewise transformed, thus aligning the snap points with the element as it is displayed.
Live streaming web audio and video - Developer guides
this approach allows us to download chunks of the video stream using xhr and "append" the chunks to the stream that's played by the <video> element.
Video player styling basics - Developer guides
the player currently works fairly well until displayed on a "medium" screen (e.g.
Event developer guide - Developer guides
WebGuideEvents
the window in which the browser is displayed can trigger events; for example, change size if the user maximizes the window or otherwise changes it.
Graphics on the Web - Developer guides
static images can easily be displayed using the <img> element, or by setting the background of html elements using the background-image property.
Constraint validation - Developer guides
visual styling of constraint validation apart from setting constraints, web developers want to control what messages are displayed to the users and how they are styled.
HTML5 - Developer guides
WebGuideHTMLHTML5
fullscreen api controls the usage of the whole screen for a web page or application, without the browser ui displayed.
<applet>: The Embed Java Applet element - HTML: Hypertext Markup Language
WebHTMLElementapplet
alt this attribute causes a descriptive text alternate to be displayed on browsers that do not support java.
<area> - HTML: Hypertext Markup Language
WebHTMLElementarea
the text should be phrased so that it presents the user with the same kind of choice as the image would offer when displayed without the alternative text.
<audio>: The Embed Audio element - HTML: Hypertext Markup Language
WebHTMLElementaudio
captions, which are specified using webvtt, allow people who are experiencing hearing loss to understand an audio recording's content as the recording is being played, while transcripts allow people who need additional time to be able to review the recording's content at a pace and format that is comfortable for them.
<canvas>: The Graphics Canvas element - HTML: Hypertext Markup Language
WebHTMLElementcanvas
sizing the canvas using css versus html the displayed size of the canvas can be changed using css, but if you do this the image is scaled during rendering to fit the styled size, which can make the final graphics rendering end up being distorted.
<code>: The Inline Code element - HTML: Hypertext Markup Language
WebHTMLElementcode
by default, the content text is displayed using the user agent's default monospace font.
<dialog>: The Dialog element - HTML: Hypertext Markup Language
WebHTMLElementdialog
the ::backdrop css pseudo-element can be used to style behind a <dialog> element when the dialog is displayed with htmldialogelement.showmodal().
<div>: The Content Division element - HTML: Hypertext Markup Language
WebHTMLElementdiv
html <div class="shadowbox"> <p>here's a very interesting note displayed in a lovely shadowed box.</p> </div> css .shadowbox { width: 15em; border: 1px solid #333; box-shadow: 8px 8px 5px #444; padding: 8px 12px; background-image: linear-gradient(180deg, #fff, #ddd 40%, #ccc); } result specifications specification status comment html living standardthe definition of '<div>' in that specification.
<em>: The Emphasis element - HTML: Hypertext Markup Language
WebHTMLElementem
typically this element is displayed in italic type.
<hgroup> - HTML: Hypertext Markup Language
WebHTMLElementhgroup
however, given that a key purpose of the <hgroup> element is to affect how headings are displayed by the outline algorithm defined in the html specification—but the html outline algorithm is not implemented in any browsers—then the <hgroup> semantics are in practice only theoretical.
<hr>: The Thematic Break (Horizontal Rule) element - HTML: Hypertext Markup Language
WebHTMLElementhr
while it may still be displayed as a horizontal rule in visual browsers, this element is now defined in semantic terms, rather than presentational terms, so if you wish to draw a horizontal line, you should do so using appropriate css.
<iframe>: The Inline Frame element - HTML: Hypertext Markup Language
WebHTMLElementiframe
after creating the frame, when the user clicks a button, its title is displayed in an alert.
<img>: The Image Embed element - HTML: Hypertext Markup Language
WebHTMLElementimg
alt text is also displayed on the page if the image can't be loaded for some reason: for example, network errors, content blocking, or linkrot.
<input type="datetime-local"> - HTML: Hypertext Markup Language
you can set a default value for the input by including a date and time inside the value attribute, like so: <label for="party">enter a date and time for your party booking:</label> <input id="party" type="datetime-local" name="partydate" value="2017-06-01t08:30"> one thing to note is that the displayed date and time formats differ from the actual value; the displayed date and time are formatted according to the user's locale as reported by their operating system, whereas the date/time value is always formatted yyyy-mm-ddthh:mm.
<input type="hidden"> - HTML: Hypertext Markup Language
WebHTMLElementinputhidden
important: while the value isn't displayed to the user in the page's content, it is visible—and can be edited—using any browser's developer tools or "view source" functionality.
<input type="image"> - HTML: Hypertext Markup Language
WebHTMLElementinputimage
the path to the image to be displayed is specified in the src attribute.
<input type="month"> - HTML: Hypertext Markup Language
WebHTMLElementinputmonth
you can set a default value for the input control by including a month and year inside the value attribute, like so: <label for="bday-month">what month were you born in?</label> <input id="bday-month" type="month" name="bday-month" value="2017-06"> one thing to note is that the displayed date format differs from the actual value; most user agents display the month and year in a locale-appropriate form, based on the set locale of the user's operating system, whereas the date value is always formatted yyyy-mm.
<input type="number"> - HTML: Hypertext Markup Language
WebHTMLElementinputnumber
it is displayed inside the edit box when the element's value is "".
<input type="submit"> - HTML: Hypertext Markup Language
WebHTMLElementinputsubmit
<input type="submit" value="send request"> value a domstring used as the button's label events click supported common attributes type and value idl attributes value methods none value an <input type="submit"> element's value attribute contains a domstring which is displayed as the button's label.
<input type="tel"> - HTML: Hypertext Markup Language
WebHTMLElementinputtel
a placeholder is a value that demonstrates the form the value should take by presenting an example of a valid value, which is displayed inside the edit box when the element's value is "".
<input type="week"> - HTML: Hypertext Markup Language
WebHTMLElementinputweek
you can set a default value for the input by including a value inside the value attribute, like so: <label for="week">what week would you like to start?</label> <input id="week" type="week" name="week" value="2017-w01"> one thing to note is that the displayed format may differ from the actual value, which is always formatted yyyy-www.
theme-color - HTML: Hypertext Markup Language
WebHTMLElementmetanametheme-color
example <meta name="theme-color" content="#4285f4"> the following image shows the effect that the <meta> element above will have on a document displayed in chrome running on an android mobile device.
<object> - HTML: Hypertext Markup Language
WebHTMLElementobject
height the height of the displayed resource, in css pixels.
<output>: The Output element - HTML: Hypertext Markup Language
WebHTMLElementoutput
the two numbers are added together, and the result is displayed in the <output> element each time the value of any of the controls changes.
<plaintext>: The Plain Text element (Deprecated) - HTML: Hypertext Markup Language
if <plaintext> is the first element on the page (other than any non-displayed elements, like <head>), do not use html at all.
<pre>: The Preformatted Text element - HTML: Hypertext Markup Language
WebHTMLElementpre
whitespace inside this element is displayed as written.
<progress>: The Progress Indicator element - HTML: Hypertext Markup Language
WebHTMLElementprogress
the html <progress> element displays an indicator showing the completion progress of a task, typically displayed as a progress bar.
<rp>: The Ruby Fallback Parenthesis element - HTML: Hypertext Markup Language
WebHTMLElementrp
the <rp> element is used in the case of lack of <ruby> element support; the <rp> content provides what should be displayed in order to indicate the presence of a ruby annotation, usually parentheses.
<select>: The HTML Select element - HTML: Hypertext Markup Language
WebHTMLElementselect
you can affect certain aspects like any element — for example, manipulating the box model, the displayed font, etc., and you can use the appearance property to remove the default system appearance.
<source>: The Media or Image Source element - HTML: Hypertext Markup Language
WebHTMLElementsource
if the audio or video element is not supported by the browser, a notice is displayed instead.
<sub>: The Subscript element - HTML: Hypertext Markup Language
WebHTMLElementsub
the html subscript element (<sub>) specifies inline text which should be displayed as subscript for solely typographical reasons.
<summary>: The Disclosure Summary element - HTML: Hypertext Markup Language
WebHTMLElementsummary
this makes it possible to change or remove the icon displayed as the disclosure widget next to the label from the default, which is typically a triangle.
<sup>: The Superscript element - HTML: Hypertext Markup Language
WebHTMLElementsup
the html superscript element (<sup>) specifies inline text which is to be displayed as superscript for solely typographical reasons.
<th> - HTML: Hypertext Markup Language
WebHTMLElementth
but, if a column's width is too narrow to show a particular cell properly, it will be widened when displayed.
<title>: The Document Title element - HTML: Hypertext Markup Language
WebHTMLElementtitle
example <title>awesome interesting stuff</title> this example establishes a page whose title (as displayed at the top of the window or in the window's tab) as "awesome interesting stuff".
<tt>: The Teletype Text element (obsolete) - HTML: Hypertext Markup Language
WebHTMLElementtt
this element was created for the purpose of rendering text as it would be displayed on a fixed-width display such as a teletype, text-only screen, or line printer.
<ul>: The Unordered List element - HTML: Hypertext Markup Language
WebHTMLElementul
typically, unordered-list items are displayed with a bullet, which can be of several forms, like a dot, a circle, or a square.
hidden - HTML: Hypertext Markup Language
for instance, elements styled display: flex will be displayed despite the hidden attribute's presence.
itemprop - HTML: Hypertext Markup Language
>my band is called <span itemprop="band">four parts water</span>.</p> <p>i am <span itemprop="nationality">british</span>.</p> </div> one property, "image", whose value is a url <div itemscope> <img itemprop="image" src="google-logo.png" alt="google"> </div> when a string value can't be easily read and understood by a person (e.g., a long string of numbers and letters), it can be displayed using the value attribute of the data element, with the more easily-understood-by-a human-version given in the element's contents (which is not part of the structured data - see example below).
Evolution of HTTP - HTTP
the amount of visual media displayed, the volume and size of scripts adding interactivity, has also increased: much more data is transmitted over significantly more http requests.
MIME types (IANA media types) - HTTP
only resources with the correct mime type will be played in <video> or <audio> elements.
Browser detection using the user agent - HTTP
the first method uses horizontal flexboxes to group the content such that when the page is displayed to the end user, all the dogs boxes are at the top of the page and all the cat boxes are lower on the page.
Connection management in HTTP/1.x - HTTP
not all types of http requests can be pipelined: only idempotent methods, that is get, head, put and delete, can be replayed safely: should a failure happen, the pipeline content can simply be repeated.
Large-Allocation - HTTP
this error is displayed when loading a document with a large-allocation header with a non-get http method.
HTTP headers - HTTP
WebHTTPHeaders
downloads content-disposition indicates if the resource transmitted should be displayed inline (default behavior without the header), or if it should be handled like a download and the browser should present a “save as” dialog.
HTTP Index - HTTP
WebHTTPIndex
255 425 too early browser, client error, http, status code the hypertext transfer protocol (http) 425 too early response status code indicates that the server is unwilling to risk processing a request that might be replayed, which creates the potential for a replay attack.
An overview of HTTP - HTTP
WebHTTPOverview
this means some parts of displayed text are links which can be activated (usually by a click of the mouse) to fetch a new web page, allowing the user to direct their user-agent and navigate through the web.
Redirections in HTTP - HTTP
if the reload button is pressed, only that page is redisplayed, without replaying the unsafe requests.
204 No Content - HTTP
WebHTTPStatus204
the common use case is to return 204 as a result of a put request, updating a resource, without changing the current content of the page displayed to the user.
425 Too Early - HTTP
WebHTTPStatus425
the hypertext transfer protocol (http) 425 too early response status code indicates that the server is unwilling to risk processing a request that might be replayed, which creates the potential for a replay attack.
HTTP response status codes - HTTP
WebHTTPStatus
425 too early indicates that the server is unwilling to risk processing a request that might be replayed.
A re-introduction to JavaScript (JS tutorial) - JavaScript
there are two ways in which the name might be displayed: as "first last" or as "last, first".
Closures - JavaScript
no matter what field you focus on, the message about your age will be displayed.
Using Promises - JavaScript
ct) => { console.log('initial'); resolve(); }) .then(() => { throw new error('something failed'); console.log('do this'); }) .catch(() => { console.error('do that'); }) .then(() => { console.log('do this, no matter what happened before'); }); this will output the following text: initial do that do this, no matter what happened before note: the text do this is not displayed because the something failed error caused a rejection.
Inheritance and the prototype chain - JavaScript
after running this code, the console should have displayed an object that looks similar to this.
JavaScript error reference - JavaScript
errors displayed in the web console may include a link to the corresponding page below to help you quickly comprehend the problem in your code.
Intl.Locale.prototype.region - JavaScript
knowing the locale's region helps javascript programmers make sure that the content from their sites and applications is correctly displayed when viewed from different areas of the world.
Intl.NumberFormat() constructor - JavaScript
notation the formatting that should be displayed for the number, the defaults is "standard" "standard" plain number formatting "scientific" return the order-of-magnitude for formatted number.
String.prototype.big() - JavaScript
the big() method creates a <big> html element that causes a string to be displayed in a big font.
String.prototype.bold() - JavaScript
the bold() method creates a <b> html element that causes a string to be displayed as bold.
String.prototype.fixed() - JavaScript
the fixed() method creates a <tt> html element that causes a string to be displayed in fixed-pitch font.
String.prototype.fontcolor() - JavaScript
the fontcolor() method creates a <font> html element that causes a string to be displayed in the specified font color.
String.prototype.fontsize() - JavaScript
the fontsize() method creates a <font> html element that causes a string to be displayed in the specified font size.
String.prototype.small() - JavaScript
the small() method creates a <small> html element that causes a string to be displayed in a small font.
String.prototype.strike() - JavaScript
the strike() method creates a <strike> html element that causes a string to be displayed as struck-out text.
String.prototype.sub() - JavaScript
the sub() method creates a <sub> html element that causes a string to be displayed as subscript.
String.prototype.sup() - JavaScript
the sup() method creates a <sup> html element that causes a string to be displayed as superscript.
for...in - JavaScript
var obj = {a: 1, b: 2, c: 3}; for (const prop in obj) { console.log(`obj.${prop} = ${obj[prop]}`); } // output: // "obj.a = 1" // "obj.b = 2" // "obj.c = 3" iterating own properties the following function illustrates the use of hasownproperty(): the inherited properties are not displayed.
shortcuts - Web app manifests
a user agent can use these values to assemble a context menu to be displayed by the operating system when a user engages with the web app's icon.
Web app manifests
splash screens in chrome 47 and later, a splash screen is displayed for sites launched from a homescreen.
Authoring MathML - MathML
a preview of the formula is displayed using the rendering engine of mozilla.
<maction> - MathML
tooltip: when the pointer moves over the expression, a tooltip box with a message is displayed near the expression.
<math> - MathML
WebMathMLElementmath
it can have one of the following values: block, which means that this element will be displayed outside the current span of text, as a block that can be positioned anywhere without changing the meaning of the text; inline, which means that this element will be displayed inside the current span of text, and cannot be moved out of it without changing the meaning of that text.
<mglyph> - MathML
WebMathMLElementmglyph
users will see this displayed if the image url is wrong, the image is not in one of the supported formats, or until the image is downloaded.
<ms> - MathML
WebMathMLElementms
by default, string literals are displayed as enclosed by double quotes (&quot;); by using the lquote and rquote attributes, you can set custom characters to display.
<msqrt> - MathML
WebMathMLElementmsqrt
the mathml <msqrt> element is used to display square roots (no index is displayed).
Digital audio concepts - Web media technologies
when it comes time to play back that sound later, these amplitudes are used to generate an approximation of the original waveform; instead of playing back an exact duplicate of the original, smooth wave, the rougher, blue wave is played.
Media container formats (file types) - Web media technologies
if neither of those can be played, the text "this browser does not support the html5 video element." is presented.
Handling media support issues in web content - Web media technologies
a similar concept can be applied to still images; if an image you wish to present is very large and may take time to download (especially for slower devices or connections), you can offer a lower-resolution or alternate version that will be displayed until the full-quality version is available to be displayed.
Using images in HTML - Web media technologies
WebMediaimages
references these articles cover some of the html elements and css properties that are used to control how images are displayed on the web.
Web media technologies
the mixed reality content can then be displayed on the device's screen or using goggles or a headset.
Performance fundamentals - Web Performance
framerate framerate is the rate at which the system changes pixels displayed to the user.
Navigation and resource timings - Web Performance
as displayed in the image below, the navigation process goes from navigationstart, unloadeventstart, unloadeventend, redirectstart, redirectend, fetchstart, domainlookupstart, domainlookupend, connectstart , connectend, secureconnectionstart, requeststart, responsestart, responseend, domloading, dominteractive, domcontentloadedeventstart, domcontentloadedeventend, domcomplete, loadeventstart, and loadeventend...
Optimizing startup performance - Web Performance
for games, consider having background music playing or a nice splash screen displayed.
How to make PWAs installable - Progressive web apps (PWAs)
display: how the app is displayed; can be fullscreen, standalone, minimal-ui, or browser.
How to make PWAs re-engageable using Notifications and Push - Progressive web apps (PWAs)
this means that notifications can be displayed to the user even when they are not looking at the web app, and the notifications look similar to ones displayed by native apps.
The building blocks of responsive design - Progressive web apps (PWAs)
another challenge is dealing with high resolution screens — raster graphics designed for low resolutions are in danger of appearing tiny when displayed on a high resolution screen, so devices often apply a default zoom factor to rendered pages to avoid this.
Structural overview of progressive web apps - Progressive web apps (PWAs)
the first thing it does is to generate the app's displayed content using the following template: var template = "<article>\n\ <img src='data/img/slug.jpg' alt='name'>\n\ <h3>#pos.
SVG Presentation Attributes - SVG: Scalable Vector Graphics
value: auto|optimizespeed|optimizequality|inherit; animatable: yes cursor it specifies the mouse cursor displayed when the mouse pointer is over an element.
cursor - SVG: Scalable Vector Graphics
WebSVGAttributecursor
« svg attribute reference home the cursor attribute specifies the mouse cursor displayed when the mouse pointer is over an element.
display - SVG: Scalable Vector Graphics
WebSVGAttributedisplay
html, body, svg { height: 100%; } <svg viewbox="0 0 220 100" xmlns="http://www.w3.org/2000/svg"> <!-- here the yellow rectangle is displayed --> <rect x="0" y="0" width="100" height="100" fill="skyblue"></rect> <rect x="20" y="20" width="60" height="60" fill="yellow"></rect> <!-- here the yellow rectangle is not displayed --> <rect x="120" y="0" width="100" height="100" fill="skyblue"></rect> <rect x="140" y="20" width="60" height="60" fill="yellow" display="none"></rect> </svg> usage notes default value in...
requiredExtensions - SVG: Scalable Vector Graphics
note: if several extension reference objects are enclosed in a <switch> and none of them matches, this may lead to situations where no content is displayed.
systemLanguage - SVG: Scalable Vector Graphics
note: if several alternative language objects are enclosed in a <switch> and none of them matches, this may lead to situations where no content is displayed.
textLength - SVG: Scalable Vector Graphics
html the html is also simple, with only two displayed elements contained inside a grouping <div>: <div class="controls"> <input type="range" id="widthslider" min="80" max="978"> <span id="widthdisplay"></span> </div> the <input> element, of type "range", is used to create the slider control the user will manipulate to change the width of the text.
<image> - SVG: Scalable Vector Graphics
WebSVGElementimage
svg files displayed with <image> are treated as an image: external resources aren't loaded, :visited styles aren't applied, and they cannot be interactive.
SVG documentation index - SVG: Scalable Vector Graphics
WebSVGIndex
51 cursor svg, svg attribute the cursor attribute specifies the mouse cursor displayed when the mouse pointer is over an element.
SVG 1.1 Support in Firefox - SVG: Scalable Vector Graphics
the title is displayed as a tooltip when the mouse hovers over the svg object.
Getting started - SVG: Scalable Vector Graphics
svg files on the web can be displayed directly in the browser or embedded in html files via several methods: if the html is xhtml and is delivered as type application/xhtml+xml, the svg can be directly embedded in the xml source.
SVG fonts - SVG: Scalable Vector Graphics
this defines what should be displayed if a certain glyph is not found in the font and if there are no fallback mechanisms.
Texts - SVG: Scalable Vector Graphics
WebSVGTutorialTexts
setting font properties an essential part of a text is the font in which it is displayed.
How to fix a website with blocked mixed content - Web security
passive mixed content is displayed by default, but users can set a preference to block this type of content, as well.
Web security
passive mixed content is displayed by default, but users can set a preference to block this type of content, as well.
XML introduction - XML: Extensible Markup Language
if you don't define a specific way for the xml to be rendered, the raw xml is displayed in the browser.
Transforming XML with XSLT - XSLT: Extensible Stylesheet Language Transformations
xslt allows a stylesheet author to transform a primary xml document in two significant ways: manipulating and sorting the content, including a wholesale reordering of it if so desired, and transforming the content into a different format (and in the case of firefox, the focus is on converting it on the fly into html which can then be displayed by the browser).