blob: 3eeef483949dc1511b2aa4b5171c9ea7a46dc03f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>Transmit Attributes</name>
<id>org.inkscape.web.transmit_attribute</id>
<param name="tab" type="notebook">
<page name="Options" gui-text="Options">
<param name="att" type="string" gui-text="Attribute to transmit:">fill</param>
<param name="when" type="optiongroup" appearance="combo" gui-text="When to transmit:">
<option value="onclick">on click</option>
<option value="onfocusin">on focus</option>
<option value="onfocusout">on blur</option>
<option value="onactivate">on activate</option>
<option value="onmousedown">on mouse down</option>
<option value="onmouseup">on mouse up</option>
<option value="onmouseover">on mouse over</option>
<option value="onmousemove">on mouse move</option>
<option value="onmouseout">on mouse out</option>
<option value="onload">on element loaded</option>
</param>
<param name="compatibility" type="optiongroup" appearance="combo" gui-text="Compatibility with previews code to this event:">
<option value="append">Run it after</option>
<option value="prepend">Run it before</option>
<option value="replace">Replace</option>
</param>
<label>The next parameter is useful when you select more than two elements</label>
<param name="from-and-to" type="optiongroup" appearance="combo" gui-text="Source and destination of transmitting:">
<option value="g-to-one">All selected ones transmit to the last one</option>
<option value="one-to-g">The first selected transmits to all others</option>
</param>
</page>
<page name="Help" gui-text="Help">
<label>This effect adds a feature visible (or usable) only on a SVG enabled web browser (like Firefox).</label>
<label>This effect transmits one or more attributes from the first selected element to the second when an event occurs.</label>
<label>If you want to transmit more than one attribute, you should separate this with a space, and only with a space.</label>
</page>
</param>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu name="Web">
<submenu name="JavaScript"/>
</submenu>
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">web_transmit_att.py</command>
</script>
</inkscape-extension>
|