Template:FocusRelatedEvents

by 3 contributors:
<%

var el = env.locale;
var path = "/" + el + "/docs/";

path += mdn.localString({
    "ja" : "Web/Reference/Events/",
    "en-US" : "Web/Reference/Events/"
});

switch (el) {

    case "ja":

%><ul>
<li><a href="<%- path %>focus"><code>focus</code></a></li>
<li><a href="<%- path %>blur"><code>blur</code></a></li>
<li><a href="<%- path %>focusin"><code>focusin</code></a></li>
<li><a href="<%- path %>focusout"><code>focusout</code></a></li>
</ul><%

        break;
    default:

%><ul>
<li><a href="/en-US/docs/Web/Reference/Events/focus"><code>focus</code></a></li>
<li><a href="/en-US/docs/Web/Reference/Events/blur"><code>blur</code></a></li>
<li><a href="/en-US/docs/Web/Reference/Events/focusin"><code>focusin</code></a></li>
<li><a href="/en-US/docs/Web/Reference/Events/focusout"><code>focusout</code></a></li>
</ul><%

} %>
Search for pages that use Template:FocusRelatedEvents to see example use cases and how many pages use this macro.

Document Tags and Contributors

Contributors to this page: teoli, ethertank, louisremi
Last updated by: teoli,