Compare Revisions

Template:DragRelatedEvents

Change Revisions

Revision 322841:

Revision 322841 by louisremi on

Revision 415975:

Revision 415975 by ethertank on

Title:
Template:DragRelatedEvents
Template:DragRelatedEvents
Slug:
Template:DragRelatedEvents
Template:DragRelatedEvents
Content:

Revision 322841
Revision 415975
nn1<%
2 
3var el = env.locale;
4var path = "/" + el + "/docs/";
5 
6path += mdn.localString({
7    "ja" : "Web/Reference/Events/",
8    "en-US" : "Web/Reference/Events/"
9});
10 
11switch (el) {
12 
13    case "ja":
14 
15%>
n9        <a href="/en-US/Mozilla_event_reference/drag"><code>drag<n24        <a href="%3C%-%20path%20%%3Edrag"><code>drag</code></a>
>/code></a> 
n12        <a href="/en-US/Mozilla_event_reference/dragstart"><code>n27        <a href="%3C%-%20path%20%%3Edragstart"><code>dragstart</c
>dragstart</code></a>>ode></a>
n15        <a href="/en-US/Mozilla_event_reference/dragend"><code>drn30        <a href="%3C%-%20path%20%%3Edragend"><code>dragend</code>
>agend</code></a>></a>
n18        <a href="/en-US/Mozilla_event_reference/dragover"><code>dn33        <a href="%3C%-%20path%20%%3Edragover"><code>dragover</cod
>ragover</code></a>>e></a>
n21        <a href="/en-US/Mozilla_event_reference/dragenter"><code>n36        <a href="%3C%-%20path%20%%3Edragenter"><code>dragenter</c
>dragenter</code></a>>ode></a>
n24        <a href="/en-US/Mozilla_event_reference/dragleave"><code>n39        <a href="%3C%-%20path%20%%3Edragleave"><code>dragleave</c
>dragleave</code></a>>ode></a>
n27        <a href="/en-US/Mozilla_event_reference/drop"><code>drop<n42        <a href="%3C%-%20path%20%%3Edrop"><code>drop</code></a>
>/code></a> 
tt44    </ul><%
45 
46            break;
47        default:
48 
49    %>
29    </ul>50    <ul>
51      <li>
52        <a href="/en-US/docs/Web/Reference/Events/drag"><code>dra
 >g</code></a>
53      </li>
54      <li>
55        <a href="/en-US/docs/Web/Reference/Events/dragstart"><cod
 >e>dragstart</code></a>
56      </li>
57      <li>
58        <a href="/en-US/docs/Web/Reference/Events/dragend"><code>
 >dragend</code></a>
59      </li>
60      <li>
61        <a href="/en-US/docs/Web/Reference/Events/dragover"><code
 >>dragover</code></a>
62      </li>
63      <li>
64        <a href="/en-US/docs/Web/Reference/Events/dragenter"><cod
 >e>dragenter</code></a>
65      </li>
66      <li>
67        <a href="/en-US/docs/Web/Reference/Events/dragleave"><cod
 >e>dragleave</code></a>
68      </li>
69      <li>
70        <a href="/en-US/docs/Web/Reference/Events/drop"><code>dro
 >p</code></a>
71      </li>
72    </ul><%
73 
74    } %>

Back to History