[ HelpTop ]
abc &align(right) { def "><&' } &align(center) { ghi } &align(left) { jkl } mno
abc
def "><&'
ghi
jkl
mno
line1 "><&' #align|right|> line2 "><&' line3 ||< #align|left|> line4 "><&' line5 ||< #align|center|> line6 "><&' line7 ||< line8
line1 "><&'
line2 "><&'
line3
line4 "><&'
line5
line6 "><&'
line7
line8
Copy and Paste HTML tags generated by Amazon associate. <iframe> (text + image) and <a> + <img> (text only) types are available.
#amazon||> <iframe src="xxyy" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe> ||<
&amazon() { <iframe src="xxyy" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe> }
#amazon||> <a href="xxyy">book title</a> <img src="wwzz" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> ||<
&amazon() { <a href="xxyy">book title</a><img src="wwzz" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> }
&anchor(1234) { Headline }
line1 #block||> line2 "><&' line3 line4 ||< line5
line1
line2 "><&'
line3
line4
line5
line1 #blockquote||> line2 "><&' line3 line4 ||< line5
line1
line2 "><&'
line3
line4
line5
| abc | def &br() ghi | jkl |
abc | def ghi |
jkl |
line1 #br|| line2
line1
line2
#cat| (arg1) (, arg2 (, arg3) ) |> ... ||<
Display right-aligned line number. If arg1 start with "0"(zero), line number will be filled with zero. Else, filled with space.
arg1 is column size of line number.
arg2 is start number of lines.
arg3 is increment step of line number.
#cat||> line1 "><&' line2 line3 ||<
1: line1 "><&' 2: line2 3: line3
// right-align, column size is 10, filled with space. #cat|10|> line1 "><&' line2 line3 ||<
1: line1 "><&' 2: line2 3: line3
// column size is 5, filled with zero. #cat|05|> line1 "><&' line2 line3 ||<
00001: line1 "><&' 00002: line2 00003: line3
// line number starts from 10. #cat|05,10|> line1 "><&' line2 line3 ||<
00010: line1 "><&' 00011: line2 00012: line3
// start is 10, increment step is 3. #cat|05,10,3|> line1 "><&' line2 line3 ||<
00010: line1 "><&' 00013: line2 00016: line3
This is useful with "image" inline plugin using "float" attribute.
#clear|right| -> <div style="clear: right;"></div> #clear|left| -> <div style="clear: left;"></div> #clear|both| -> <div style="clear: both;"></div> #clear|none| -> <div style="clear: none;"></div>
#code| languag-name (, numbers) (, tabsize=tabwidth) |> ... ||<
Available "language-name"s are listed below (at 2009-07). case-insensitive.
#code|PHP|> <?php print "Hello, World\n"; ||<
print "Hello, World\n";
#code|c,numbers,tabsize=2|> #include <stdio.h> int main(int argc, char *argv[]) { /* \"><&' */ printf("Hello, World\n"); exit(0); } ||<
If no arguments, handled as "pre" block plugin.
#code||> #include <stdio.h> int main(int argc, char *argv[]) { /* \"><&' */ printf("Hello, World\n"); exit(0); } ||<
#include <stdio.h> int main(int argc, char *argv[]) { /* \"><&' */ printf("Hello, World\n"); exit(0); }
abc &color(red) { def * def "><&' * } ghi
abc def def "><&' ghi
line1 #color|#9900AA|> '' line2 "><&' '' line3 line4 ||< line5
line1
line2 "><&'
line3
line4
line5
abc &del() { def ''' ghi"><&' ''' jkl } mno
abc def ghi"><&' jkl mno
&gmap(parameter1) &gmap(parameter1){ parameter2 }
You need to prepare following things before starting gmap plugin.
JavaScript for GoogleMap is not loaded if _YB('js.enable') is false or _YB('js.google.map.key') is empty.
Instead, a link to google map with lat/long and zoom level is displayed.
About parameter1, 2, see below.
Specify map size, control features.
id | map id (alphabets and numbers only, "id" attribute of <div> tag)(*2) |
w | map width by pixel |
h | map height by pixel |
lat | latitude by floating number |
lng | longitude by floating number |
zoom | zoom level |
fixed | disable mouse drag feature. |
marker | display default "marker" at point specified by lat/lng |
control | display some typical map controls. (described later.) |
You can omit any parameters.
If you omitted gmap id, random string is used automatically.
Parameters and each values are given by "name=value" format. Multiple parameters and values is joined with ","(comma).
"fixed" parameter has no value.
You can specify following conrols by "control" parameter. Join control names with "+" mark.
small | Displays a control with buttons to pan in four directions, and zoom in and zoom out. |
large | Displays a control with buttons to pan in four directions, and zoom in and zoom out, and a zoom slider. |
maptype | Displays a standard map type control for selecting and switching between supported map types via buttons. |
where | Displays a control which retrieve latitude/longitude of current map's center point. |
Specify text for information window displayed when marker is clicked.
This parameter is ignored when "marker" parameter is false.
If parameter2 is omitted, information window will not be displayed. (only marker)
&gmap(id=map0)
&gmap(lat=35.680987,lng=139.767358,zoom=8) { Here's Tokyo-Station! }
&gmap(id=map2,lat=35.680987,lng=139.767358,zoom=8,fixed) { Here's Tokyo-Station! }
&gmap(id=map3,control=large+maptype+where,marker=false)
&gmap(lat=35.680987,lng=139.767358,zoom=8,w=200,h=100,control=small+where)
Multiple GoogleMaps in one html page causes bad web browser performance.
Some times, it costs several minuts until all google maps are shown in browser window. (And while loading maps, cpu load average may reach to 100% !!)
This happens often at search list mode particularly.
Putting gmap plugin after 'more' plugin is strongly recommended.
[ HelpTop ]