Search completed in 1.25 seconds.
:-moz-window-inactive - CSS: Cascading Style Sheets
the :-moz-window-
inactive css pseudo-class is a mozilla extension that matches any element while it's in an
inactive window.
... :-moz-window-
inactive works in content html documents, too.
... syntax :-moz-window-
inactive examples this example alters the appearance of a box's background depending on whether its window is active or not.
... html <div id="mybox"> <p>this is a box!</p> </div> css #mybox { background: linear-gradient(to bottom, yellow, cyan); width: 200px; height: 200px; } #mybox:-moz-window-
inactive { background: cyan; } result the result of this code is shown below.
Index - Web APIs
this will be unresolved if the animation was not associated with a timeline at the time the event was generated or if the associated timeline was
inactive.
... 97 animationtimeline.currenttime api, animation, animationtimeline, experimental, property, read-only, reference, web animations, currenttime, waapi, web animations api the currenttime read-only property of the web animations api's animationtimeline interface returns the timeline's current time in milliseconds, or null if the timeline is
inactive.
... 2258 lockedfile.abort() api, files, method, reference, référence(2) the abort method is used to release the lock on the lockedfile object, making it
inactive: its active property is set to false and all ongoing operations are canceled.
...And 5 more matches
Template Logging - Archive of obsolete content
if the query was
inactive, the log would say 'new
inactive query'.
... in template with id root using ref http://www.some-fictitious-zoo.com/birds removed
inactive result for query 2 (active query is 1): http://www.some-fictitious-zoo.com/birds/barnowl in this example, a result with the id 'http://www.some-fictitious-zoo.com/birds/barnowl' has been removed.
...however, note that the result is specified as being '
inactive'.
...And 4 more matches
<color> - CSS: Cascading Style Sheets
inactiveborder
inactive window border.
...
inactivecaption
inactive window caption.
... should be used with the
inactivecaptiontext foreground color.
...And 3 more matches
tabs - Archive of obsolete content
usage open a tab you can open a new tab, specifying various properties including location: var tabs = require("sdk/tabs"); tabs.open("http://www.example.com"); track tabs you can register event listeners to be notified when tabs open, close, finish loading dom content, or are made active or
inactive: var tabs = require("sdk/tabs"); // listen for tab openings.
... activate this event is emitted when an
inactive tab is made active.
... deactivate this event is emitted when the active tab is made
inactive.
...And 2 more matches
windows - Archive of obsolete content
ondeactivate function a callback function that is called when the window is made
inactive.
... activate event emitted when an
inactive window is made active.
... deactivate event emitted when the active window is made
inactive.
... arguments window : listeners are passed the window object that has become
inactive.
MediaRecorder.start() - Web APIs
then, each time that amount of media has been recorded, an event will be delivered to let you act upon the recorded media, while a new blob is created to record the next slice of the media assuming the mediarecorder's state is
inactive, start() sets the state to recording, then begins capturing media from the input stream.
... when the source stream ends, state is set to
inactive and data gathering stops.
... invalidstateerror the mediarecorder is not in the
inactive state; you can't start recording media if it's already being recorded.
... notsupportederror the media stream you're attempting to record is
inactive, or one or more of the stream's tracks is in a format that can't be recorded using the current configuration.
MediaRecorder.stop() - Web APIs
when the stop() method is invoked, the ua queues a task that runs the following steps: if mediarecorder.state is "
inactive", raise a dom invalidstate error and terminate these steps.
... if the mediarecorder.state is not "
inactive", continue on to the next step.
... set the mediarecorder.state to "
inactive" and stop capturing media.
... syntax mediarecorder.stop() errors an invalidstate error is raised if the stop() method is called while the mediarecorder object’s mediarecorder.state is "
inactive" — it makes no sense to stop media capture if it is already stopped.
List of Former Mozilla-Based Applications - Archive of obsolete content
es software installation over internet no longer using mozilla technology -- need confirmation and details second life virtual world desktop client switched from embedded mozilla browser to a plugin architecture with a qtwebkit plugin applications that are no longer being developed name description additional information aphrodite browser
inactive aol client for mac internet software no longer available beonex communicator internet software last news item on site from 2004 chameleon theme builder
inactive civil netizen p2p file delivery (email attachment replacement) site not updated since 2006 compuserve client internet software no longer available doczill...
...a sgml/xml/html browser last release on site from july 2005 fabula language learning application
inactive galeon browser last news item on site from september 2006 gencatrss rss reader domain switched over to domain parking service ghostzilla browser archived version of ghostzilla site from 2005 homebase desktop operating environment for internet computers no longer available hp printer assistant printer utility hall of fame page mentions that this used an embedded version of mozilla at some point but i can't find reference to current status (may still be using mozilla code?) icebrowser java browser sdk uses mozilla rhino --eol'ed in 2009 (jin'sync) office app launcher down...
...ser support for netscape ended on february 1, 2008 nvu web authoring tool development stopped in 2005 and is being continued as an unofficial bugfix release by the kompozer project pogo browser from at&t site no longer accessible as of may 2009 pyro desktop desktop environment last news item on site from july 2007 script editor editor
inactive skipstone gtk+ browser last news item on site from february 2008 xabyl visual xbl editor
inactive xulplayer media player last project update on 3/14/09 zoomcreator photo collage tool on april 29, 2010 the site announced zoomara was shutting down.
XUL Events - Archive of obsolete content
this event would be used to update the disabled status of its commands.dommenuitemactivethe dommenuitemactive event is executed when a <menu> or a <menuitem> has been hovered or highlighted.dommenuitem
inactivethe dommenuitem
inactive event is executed when a <menu> or a <menuitem> in no longer hovered or highlighted.popuphiddenthe popuphidden event is executed when a <menupopup>, <panel> or <tooltip> has become hidden.popuphidingthe popuphiding event is executed when a <menupopup>, <panel> or <tooltip> is about to be hidden.popupshowingthe popupshowing event is executed when a <menupopup>, <panel> or <t...
... dommenuitem
inactive this event is sent when a menu or menuitem is no longer being hovered over, or highlighted.
... deactivate sent when a window becomes
inactive.
Using IndexedDB - Web APIs
if you make a transaction and return to the event loop without using it then the transaction will become
inactive.
...if you return to the event loop without extending the transaction then it will become
inactive, and so on.
...if you start seeing transaction_
inactive_err error codes then you've messed something up.
MediaRecorder.resume() - Web APIs
when the resume() method is invoked, the browser queues a task that runs the following steps: if mediarecorder.state is "
inactive", raise a dom invalidstate error and terminate these steps.
... if mediarecorder.state is not "
inactive", continue to the next step.
... syntax mediarecorder.resume() errors an invalidstate error is raised if the resume() method is called while the mediarecorder object’s mediarecorder.state is "
inactive" — the recording cannot be resumed if it is not already paused; if mediarecorder.state is already "recording", resume() has no effect.
ime-mode - CSS: Cascading Style Sheets
/* keyword values */ ime-mode: auto; ime-mode: normal; ime-mode: active; ime-mode:
inactive; ime-mode: disabled; /* global values */ ime-mode: inherit; ime-mode: initial; ime-mode: unset; the ime-mode property is only partially and inconsistently implemented in browsers.
...
inactive the input method editor is initially
inactive, but the user may activate it if they wish.
... formal definition initial valueautoapplies totext fieldsinheritednocomputed valueas specifiedanimation typediscrete formal syntax auto | normal | active |
inactive | disabled examples disabling input method support this example disables input method support for a form field.
Implementing the widget - Archive of obsolete content
the widget will have two icons: one to display when it's active, one to display when it's
inactive.
... data.url('widget/pencil-on.png') : data.url('widget/pencil-off.png'); }); widget.port.on('right-click', function() { console.log('show annotation list'); }); } the annotator is
inactive by default.
Index - Archive of obsolete content
904
inactivetitlebarcolor xul attributes, xul reference no summary!
... 1713 dommenuitem
inactive the dommenuitem
inactive event is executed when a <menu> or a <menuitem> in no longer hovered or highlighted.
Index - Archive of obsolete content
157
inactivetitlebarcolor xul attributes, xul reference no summary!
... 982 dommenuitem
inactive the dommenuitem
inactive event is executed when a <menu> or a <menuitem> in no longer hovered or highlighted.
IME handling guide
"closed" is also called "
inactive" or "turned off") so, this document is useful when you're try to fix a bug for text input in gecko.
...this is specified only when ime-mode of the new focused element is
inactive.
Observer Notifications
user-interaction-
inactive nsidomwindow null sent when the chrome document has seen no user activity for a while.
...unlike the user-interaction-active and user-interaction-
inactive topics listed above, the idle service monitors user activity in general, whether related to the mozilla application or not (acting somewhat like the user activity/inactivity events a screen saver would be interested in).
Debugger.Frame - Firefox Developer Tools
this allows the code using each debugger instance to place whatever properties it likes on its debugger.frame instances, without worrying about interfering with other debuggers.) when the debuggee pops a stack frame (say, because a function call has returned or an exception has been thrown from it), the debugger.frame instance referring to that frame becomes
inactive: its live property becomes false, and accessing its other properties or calling its methods throws an exception.
... note that frames only become
inactive at times that are predictable for the debugger: when the debuggee runs, or when the debugger removes frames from the stack itself.
AnimationTimeline.currentTime - Web APIs
the currenttime read-only property of the web animations api's animationtimeline interface returns the timeline's current time in milliseconds, or null if the timeline is
inactive.
... syntax var currenttime = animationtimeline.currenttime; value a number representing the timeline's current time in milliseconds, or null if the timeline is
inactive.
DOMException - Web APIs
transaction
inactiveerror a request was placed against a transaction that is currently not active or is finished (no legacy code value and constant name).
...adds the notreadableerror, unknownerror, constrainterror, dataerror, transaction
inactiveerror, readonlyerror, versionerror, operationerror, and notallowederror values.
Document.timeline - Web APIs
prior to establishing the navigationstart moment, the document timeline is
inactive.
... note: a document timeline that is associated with a non-active document is also considered to be
inactive.
IDBDatabaseException - Web APIs
more specific variants of this error includes: transaction_
inactive_err and read_only_err.
... transaction_
inactive_err 7 a request was made against a transaction that is either not currently active or is already finished.
LockedFile.active - Web APIs
if the object is
inactive then it is impossible to perform any read or write operation with it.
... typically, a lockedfile object becomes
inactive when the lockedfile.abort() method is called or if an error occurs.
MediaRecorder.onerror - Web APIs
invalidstateerror an attempt was made to stop or pause or an
inactive recorder, start or resume an active recorder, or otherwise manipulate the mediarecorder while in the wrong state.
...recording stops, the mediarecorder's state becomes
inactive, one last dataavailable event is sent to the mediarecorder with the remaining received data, and finally a stop event is sent.
MediaRecorder.pause() - Web APIs
when a mediarecorder object’s pause()method is called, the browser queues a task that runs the below steps: if mediarecorder.state is "
inactive", raise a dom invalidstate error and terminate these steps.
... exceptions invalidstateerror the mediarecorder is currently "
inactive"; you can't pause recording if it's not active.
VideoTrackList - Web APIs
onchange an event handler to be called when the change event occurs — that is, when the value of the selected property for a track has changed, due to the track being made active or
inactive.
... change fired when a video track has been made active or
inactive.
Mozilla CSS extensions - CSS: Cascading Style Sheets
ground-color -moz-default-color -moz-cellhighlight -moz-cellhighlighttext -moz-field -moz-fieldtext -moz-dialog -moz-dialogtext -moz-dragtargetzone -moz-mac-accentdarkestshadow -moz-mac-accentdarkshadow -moz-mac-accentface -moz-mac-accentlightesthighlight -moz-mac-accentlightshadow -moz-mac-accentregularhighlight -moz-mac-accentregularshadow -moz-mac-chrome-active -moz-mac-chrome-
inactive -moz-mac-focusring -moz-mac-menuselect -moz-mac-menushadow -moz-mac-menutextselect -moz-menuhover -moz-menuhovertext -moz-win-communicationstext -moz-win-mediatext -moz-nativehyperlinktext display -moz-box -moz-inline-block -moz-inline-box -moz-inline-gridobsolete since gecko 62 -moz-inline-stackobsolete since gecko 62 -moz-inline-table -moz-gridobsolete since gecko ...
...-tree-cell-text :-moz-tree-cell-text(hover) :-moz-tree-checkbox :-moz-tree-column :-moz-tree-drop-feedback :-moz-tree-image :-moz-tree-indentation :-moz-tree-line :-moz-tree-progressmeter :-moz-tree-row :-moz-tree-row(hover) :-moz-tree-separator :-moz-tree-twisty u – x :-moz-ui-invalid :-moz-ui-valid :-moz-user-disabled ::-moz-viewport ::-moz-viewport-scroll :-moz-window-
inactive ::-moz-xul-anonymous-block at-rules @-moz-document media features -moz-mac-graphite-theme -moz-maemo-classic -moz-device-pixel-ratio -moz-os-version -moz-scrollbar-end-backward -moz-scrollbar-end-forward -moz-scrollbar-start-backward -moz-scrollbar-start-forward -moz-scrollbar-thumb-proportional -moz-touch-enabled -moz-windows-accent-color-in-titlebar -moz-windows-classi...
Event reference
svg events svgabort svgerror svgload svgresize svgscroll svgunload svgzoom database events abort blocked complete error success upgradeneeded versionchange script events afterscriptexecute beforescriptexecute menu events dommenuitemactive dommenuitem
inactive window events close popup events popuphidden popuphiding popupshowing popupshown tab events visibilitychange battery events chargingchange chargingtimechange dischargingtimechange levelchange call events alerting busy callschanged cfstatechange connecting dialing disconnected disconnecting error held, holding incoming resuming statechange voicechange sensor events compassneedscalib...
... dommenuitem
inactive xul a menu or menuitem is no longer hovered or highlighted.
Supporting private browsing mode - Archive of obsolete content
e, if you want to use a different background color for the url bar when in private browsing mode, you could do the following: [browsingmode=private] #urlbar { -moz-appearance: none; background: #eee } similarly, if you want to theme the firefox button in firefox 4 differently when private browsing mode is permanent: #main-window[privatebrowsingmode=temporary] #appmenu-button:not(:-moz-window-
inactive) { -moz-border-left-colors: rgba(255,255,255,.5) rgba(43,8,65,.9); -moz-border-bottom-colors: rgba(255,255,255,.5) rgba(43,8,65,.9); -moz-border-right-colors: rgba(255,255,255,.5) rgba(43,8,65,.9); } this snippet is pulled directly from the standard skin; you can customize as you see fit.
menuactive - Archive of obsolete content
a dommenuitemactive event will be sent to the item when the item is hovered over, and a dommenuitem
inactive event will be sent to the item when the selection moves away.
Attribute (XUL) - Archive of obsolete content
y equalsize eventnode events expr firstdayofweek firstpage first-tab fixed flags flex focused forcecomplete grippyhidden grippytooltiptext group handlectrltab height helpuri hidden hidechrome hidecolumnpicker hideheader hideseconds hidespinbuttons highlightnonmatches homepage href icon id ignoreblurwhilesearching ignorecase ignoreincolumnpicker ignorekeys image
inactivetitlebarcolor increment index inputtooltiptext insertafter insertbefore instantapply inverted iscontainer isempty key keycode keytext label lastpage lastselected last-tab left linkedpanel max maxheight maxlength maxpos maxrows maxwidth member menu menuactive min minheight minresultsforpopup minwidth mode modifiers mousethrough movetoclick multiline multiple n...
menu - Archive of obsolete content
a dommenuitemactive event will be sent to the item when the item is hovered over, and a dommenuitem
inactive event will be sent to the item when the selection moves away.
Routing in Ember - Learn web development
>active</a> <a href="#">completed</a> update it to <linkto @route='index'>all</linkto> <linkto @route='active'>active</linkto> <linkto @route='completed'>completed</linkto> <linkto> is a built-in ember component that handles all the state changes when navigating routes, as well as setting an "active" class on any link that matches the url, in case there is a desire to style it differently from
inactive links.
Index
442 js_saveframechain jsapi reference, spidermonkey these two functions are used to set aside cx's call stack while that stack is
inactive.
JS_SaveFrameChain
description these two functions are used to set aside cx's call stack while that stack is
inactive.
nsIContentView
note: when this view becomes
inactive, the new content view will have scroll values that are reset to the default.
nsIDownloadManager
removedownloadsbytimeframe() removes all
inactive downloads that were started inclusively within the specified time frame.
nsITextInputProcessor
if it's not stored, i.e., the modifier state is
inactive, the instance stores the modifier key, otherwise forgets the key.
Flash Activation: Browser Comparison - Plugins
mozilla firefox google chrome microsoft edge setting name ask to activate html5 by default click-to-run 'application/x-shockwave-flash' in navigator.mimetypes by default when flash is
inactive yes no no 'application/x-shockwave-flash' in navigator.mimetypes when user enables flash yes yes yes <object> with fallback content triggers ui yes, with exceptions no yes small/hidden flash triggers additional ui yes no no enabling flash automatically reloads the page no yes yes other features related to fl...
Debugger.Memory - Firefox Developer Tools
al_too_slow” “dom_window_utils” “component_utils” “mem_pressure” “cc_waiting” “cc_forced” “load_end” “page_hide” “nsjscontext_destroy” “set_new_document” “set_doc_shell” “dom_utils” “dom_ipc” “dom_worker” “inter_slice_gc” “refresh_frame” “full_gc_timer” “shutdown_cc” “user_
inactive” nonincrementalreason if spidermonkey’s collector determined it could not incrementally collect garbage, and had to do a full gc all at once, this is a short string describing the reason it determined the full gc was necessary.
Animation - Web APIs
if the animation lacks a timeline, is
inactive or hasn't been played yet, its value is null.
AnimationTimeline - Web APIs
properties animationtimeline.currenttime read only returns the time value in milliseconds for this timeline or null if this timeline is
inactive.
AudioWorkletProcessor.process - Web APIs
a node that transforms its input, but has a so-called tail-time — this means that it will produce an output for some time even after its inputs are disconnected or are
inactive (producing zero-channels).
DocumentTimeline - Web APIs
animationtimeline.currenttime returns the time value in milliseconds for this timeline or null if it is
inactive.
Element.className - Web APIs
example let el = document.getelementbyid('item'); if (el.classname === 'active'){ el.classname = '
inactive'; } else { el.classname = 'active'; } notes the name classname is used for this property instead of class because of conflicts with the "class" keyword in many languages which are used to manipulate the dom.
IDBCursor.advance() - Web APIs
exceptions this method may raise a domexception of one of the following types: exception description transaction
inactiveerror this idbcursor's transaction is
inactive.
IDBCursor.continue() - Web APIs
exceptions this method may raise a domexception of one of the following types: exception description transaction
inactiveerror this idbcursor's transaction is
inactive.
IDBCursor.continuePrimaryKey() - Web APIs
exceptions this method may raise a domexception of one of the following types: exception description transaction
inactiveerror this idbcursor's transaction is
inactive.
IDBCursor.delete() - Web APIs
exceptions this method may raise a domexception of one of the following types: exception description transaction
inactiveerror this idbcursor's transaction is
inactive.
IDBCursor.update() - Web APIs
exceptions this method may raise a domexception of one of the following types: exception description transaction
inactiveerror this idbcursor's transaction is
inactive.
IDBIndex.count() - Web APIs
exceptions this method may raise a domexception of one of the following types: exception description transaction
inactiveerror this idbindex's transaction is
inactive.
IDBIndex.get() - Web APIs
exceptions this method may raise a domexception of one of the following types: exception description transaction
inactiveerror this idbindex's transaction is
inactive.
IDBIndex.getAll() - Web APIs
exceptions this method may raise a domexception of the following types: exception description transaction
inactiveerror this idbindex's transaction is
inactive.
IDBIndex.getAllKeys() - Web APIs
exceptions this method may raise a domexception of the following types: exception description transaction
inactiveerror this idbindex's transaction is
inactive.
IDBIndex.getKey() - Web APIs
exceptions this method may raise a domexception of one of the following types: exception description transaction
inactiveerror this idbindex's transaction is
inactive.
IDBIndex.openCursor() - Web APIs
exceptions this method may raise a domexception of one of the following types: exception description transaction
inactiveerror this idbindex's transaction is
inactive.
IDBIndex.openKeyCursor() - Web APIs
exceptions this method may raise a domexception of one of the following types: exception description transaction
inactiveerror this idbindex's transaction is
inactive.
IDBObjectStore.delete() - Web APIs
exceptions this method may raise a domexception of the following types: exception description transaction
inactiveerror this object store's transaction is
inactive.
IDBObjectStore.get() - Web APIs
exceptions this method may raise a domexception of one of the following types: exception description transaction
inactiveerror this idbobjectstore's transaction is
inactive.
IDBObjectStore.getAll() - Web APIs
exceptions this method may raise a domexception of one of the following types: exception description transaction
inactiveerror this idbobjectstore's transaction is
inactive.
IDBObjectStore.getAllKeys() - Web APIs
exceptions this method may raise a domexception of one of the following types: exception description transaction
inactiveerror this idbobjectstore's transaction is
inactive.
IDBObjectStore.getKey() - Web APIs
exceptions this method may raise a domexception of one of the following types: exception description transaction
inactiveerror this idbobjectstore's transaction is
inactive.
LockedFile.abort() - Web APIs
summary the abort method is used to release the lock on the lockedfile object, making it
inactive: its active property is set to false and all ongoing operations are canceled.
LockedFile - Web APIs
lockedfile.abort() makes the lockedfile
inactive and cancels all ongoing operations.
MediaRecorder.state - Web APIs
syntax var state = mediarecorder.state values a animationplaystate object containing one of the following values: enumeration description
inactive recording is not occuring — it has either not been started yet, or it has been started and then stopped.
MediaRecorder - Web APIs
mediarecorder.state read only returns the current state of the mediarecorder object (
inactive, recording, or paused.) mediarecorder.stream read only returns the stream that was passed into the constructor when the mediarecorder was created.
RTCDTMFSender.insertDTMF() - Web APIs
return value undefined exceptions invalidstateerror the dtmf tones couldn't be sent because the track has been stopped, or is in a read-only or
inactive state.
RTCPeerConnection.addTrack() - Web APIs
the associated rtcrtptransceiver has its currentdirection updated to include sending; if its current value is "recvonly", it becomes "sendrecv", and if its current value is "
inactive", it becomes "sendonly".
Screen Wake Lock API - Web APIs
only active documents can acquire screen wake locks and previously acquired locks are automatically released when document becomes
inactive.
StyleSheet.disabled - Web APIs
a style sheet may be disabled by manually setting this property to true or if it's an
inactive alternative style sheet.
VideoTrack.selected - Web APIs
only a single video track can be active at any given time, so setting this property to true for one track while another track is active will make that other track
inactive.
VideoTrack - Web APIs
only a single video track can be active at any given time, so setting this property to true for one track while another track is active will make that other track
inactive.
WakeLockSentinel - Web APIs
this can happen if the document becomes
inactive or looses visibility, if the device is low on power or the user turns on a power save mode.
WindowOrWorkerGlobalScope.setInterval() - Web APIs
example: var intervalid = setinterval(function(arg1) {}.bind(undefined, 10), 1000);
inactive tabs requires gecko 5.0(firefox 5.0 / thunderbird 5.0 / seamonkey 2.2) starting in gecko 5.0 (firefox 5.0 / thunderbird 5.0 / seamonkey 2.2), intervals are clamped to fire no more often than once per second in
inactive tabs.
WindowOrWorkerGlobalScope.setTimeout() - Web APIs
timeouts in
inactive tabs throttled to ≥ 1000ms to reduce the load (and associated battery usage) from background tabs, timeouts are throttled to firing no more often than once per second (1,000 ms) in
inactive tabs.
ARIA: Main role - Accessibility
if a document contains two main roles, say updating page content when triggered by javascript, the
inactive main role's presence should be removed from assistive technology via techniques such as toggling the hidden attribute.
ARIA: tab role - Accessibility
there is some basic styling applied that restyles the buttons and changes the z-index to of tab elements to give the illusion of it connecting to the tabpanel for active elements, and the illusion that
inactive elements are behind the active tabpanel.
Color contrast - Accessibility
ontrast ratios: type of content minimum ratio (aa rating) enhanced ratio (aaa rating) body text 4.5 : 1 7 : 1 large-scale text (120-150% larger than body text) 3 : 1 4.5 : 1 active user interface components and graphical objects such as icons and graphs 3 : 1 not defined these ratios do not apply to "incidental" text, such as
inactive controls, logotypes, or purely decorative text.
Adding captions and subtitles to HTML5 video - Developer guides
: var subtitlemenubuttons = []; var createmenuitem = function(id, lang, label) { var listitem = document.createelement('li'); var button = listitem.appendchild(document.createelement('button')); button.setattribute('id', id); button.classname = 'subtitles-button'; if (lang.length > 0) button.setattribute('lang', lang); button.value = label; button.setattribute('data-state', '
inactive'); button.appendchild(document.createtextnode(label)); button.addeventlistener('click', function(e) { // set all buttons to
inactive subtitlemenubuttons.map(function(v, i, a) { subtitlemenubuttons[i].setattribute('data-state', '
inactive'); }); // find the language to activate var lang = this.getattribute('lang'); for (var i = 0; i < video.texttra...