ЄС-11

Цифрова комутаційна система

Науково-виробничий центр
"Автоматизовані мікропроцесорні системи"
ЄДРПОУ: 13807402 тел: +380-32-237-21-36

Користувальницькькі налаштування

Налаштування сайту


wiki:rotate_plugin

Rotate Plugin for Dokuwiki

Examples/Usage

This plugin animating series of imager while user moves mouse over it. The plugin uses jQuery.

Download rotate plugin (3.43 KiB, 4y ago, 179 downloads).

The usage is similar to the image and zoom plugin syntax. Series of images must be called name_1…name_N. just prefix your last viewable image with rotate> and give the size if resizing needed. E.g.:

{{rotate>demo_18.jpg?500x200}}

You can align the image using spaces and '*' (no align is default).

Right align without word-wrapping:

{{rotate> demo_18.jpg?500x200}}

Left align without word-wrapping:

{{rotate>demo_18.jpg?500x200 }}

Center align without word-wrapping:

{{rotate> demo_18.jpg?500x200 }}  

Left align with word-wrapping:

{{rotate>demo_18.jpg?500x200*}}  

Right align with word-wrapping:

{{rotate>*demo_18.jpg?500x200}} 

It's possible to only specify the width or height of the image. The missing size will be calculated automatically considering the ratio:

Only width:

{{rotate>demo_18.jpg?500}}

Only height:

{{rotate>demo_18.jpg?x300}}

No scaling at all:

{{rotate>demo_18.jpg}}

The rotaing image can be done with the mouse just moving cursor over image left or right.

DEMO - move mouse over the image

Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with Some text with float: left. You can write description here.

Next chapner

{{rotate> :hardware:processors:kk78_18.png }} 
{{rotate> :hardware:processors:kk78_10.png}} 
{{rotate>*:hardware:processors:kk78_18.png?100}} 

some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left some more text float left

Next chapter

wiki/rotate_plugin.txt · В останнє змінено: 2015/04/17 15:25 (зовнішнє редагування)