<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Блог  geloni-el. Linux, программирование, математика.</title>
	<atom:link href="http://geloni-el.ru/feed/" rel="self" type="application/rss+xml" />
	<link>http://geloni-el.ru</link>
	<description>Блог  geloni-el. Linux, программирование, математика.</description>
	<lastBuildDate>Tue, 03 Jan 2012 12:26:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>0 A.D. историческая стратегия</title>
		<link>http://geloni-el.ru/0-a-d-istoricheskaya-strategiya/2012/01/03/</link>
		<comments>http://geloni-el.ru/0-a-d-istoricheskaya-strategiya/2012/01/03/#comments</comments>
		<pubDate>Mon, 02 Jan 2012 23:17:23 +0000</pubDate>
		<dc:creator>geLoni-eL</dc:creator>
				<category><![CDATA[Linux Игры]]></category>
		<category><![CDATA[RTS]]></category>
		<category><![CDATA[стратегия]]></category>

		<guid isPermaLink="false">http://geloni-el.ru/?p=856</guid>
		<description><![CDATA[Жанр: RTS Геймплей: 7 из 10. Графика: 6,5 из 10. Озвучка: 6 из 10. 0 A.D. замечательная игра  основаная на историческом, экономическом составляющем. Период игры составляет от 500 до н.э. до 500 н.э.. В игре возможно пройти кампанию, поиграть с ботами или с кем нибудь по интернету. Советаю поиграть всем любителям стратегии. &#160; Скриншоты. Видео: [...]]]></description>
			<content:encoded><![CDATA[<p>Жанр: RTS<br />
Геймплей: 7 из 10.<br />
Графика: 6,5 из 10.<br />
Озвучка: 6 из 10.</p>
<p>0 A.D. замечательная игра  основаная на историческом, экономическом составляющем. Период игры составляет от 500 до н.э. до 500 н.э.. В игре возможно пройти кампанию, поиграть с ботами или с кем нибудь по интернету. Советаю поиграть всем любителям стратегии.</p>
<p>&nbsp;</p>
<p>Скриншоты.</p>
<table>
<tbody>
<tr>
<td><a href="http://wildfiregames.com/0ad/album_image.php?pic_id=12782" target="_blank"><img src="http://wildfiregames.com/0ad/album_image.php?pic_id=12782" alt="" width="200" height="150" /></a></td>
<td><a href="http://wildfiregames.com/0ad/album_image.php?pic_id=14162" target="_blank"><img src="http://wildfiregames.com/0ad/album_image.php?pic_id=14162" alt="" width="200" height="150" /></a></td>
</tr>
<tr>
<td><a href="http://wildfiregames.com/0ad/album_image.php?pic_id=12162" target="_blank"><img src="http://wildfiregames.com/0ad/album_image.php?pic_id=12162" alt="" width="200" height="150" /></a></td>
<td><a href="http://wildfiregames.com/0ad/album_image.php?pic_id=12436" target="_blank"><img src="http://wildfiregames.com/0ad/album_image.php?pic_id=12436" alt="" width="200" height="150" /></a></td>
</tr>
<tr>
<td><a href="http://wildfiregames.com/0ad/album_image.php?pic_id=9534" target="_blank"><img src="http://wildfiregames.com/0ad/album_image.php?pic_id=9534" alt="" width="200" height="150" /></a></td>
<td><a href="http://wildfiregames.com/0ad/album_image.php?pic_id=6308" target="_blank"><img src="http://wildfiregames.com/0ad/album_image.php?pic_id=6308" alt="" width="200" height="150" /></a></td>
</tr>
</tbody>
</table>
<p>Видео:</p>
<p>&nbsp;</p>
<p><a class="download-n" href="http://wildfiregames.com/0ad/page.php?p=14448">Скачать игру</a></p>
]]></content:encoded>
			<wfw:commentRss>http://geloni-el.ru/0-a-d-istoricheskaya-strategiya/2012/01/03/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Поле комплексных чисел.</title>
		<link>http://geloni-el.ru/pole-kompleksnyx-chisel/2012/01/02/</link>
		<comments>http://geloni-el.ru/pole-kompleksnyx-chisel/2012/01/02/#comments</comments>
		<pubDate>Sun, 01 Jan 2012 22:23:56 +0000</pubDate>
		<dc:creator>geLoni-eL</dc:creator>
				<category><![CDATA[Математика]]></category>
		<category><![CDATA[алгебра]]></category>
		<category><![CDATA[комплексные числа]]></category>
		<category><![CDATA[поле]]></category>
		<category><![CDATA[Формула Муавра]]></category>

		<guid isPermaLink="false">http://geloni-el.ru/?p=838</guid>
		<description><![CDATA[Поле комплексных чисел это расширение поля действительных чисел с помощью мнимой части i.  i = \sqrt[]{-1}, a+bi, a,b\in \mathbb{R} На поле комплексных  чисел определены операции сложения и умножения по правилу: (a, b)+(c,d) = (a+c, b+d) (a,b)*(c,d)=(ac-bd, ad+bc) Эти операции обладают следующими свойствами ассоциативности, коммутотивности, дистрибутивности. Нулем называется такое комплексное число (x,y) ,  что для любова [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Поле комплексных чисел</strong> это расширение поля действительных чисел с помощью мнимой части i.  <span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_3e08151e4f50d3959a4c7a90be5e02d3.gif' style='vertical-align: middle; border: none; ' class='tex' alt=" i = \sqrt[]{-1}," /></span><script type='math/tex'> i = \sqrt[]{-1},</script> <span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_254ba7f6f299f39fa47d6417129c2515.gif' style='vertical-align: middle; border: none; ' class='tex' alt="a+bi, a,b\in \mathbb{R} " /></span><script type='math/tex'>a+bi, a,b\in \mathbb{R} </script></p>
<p>На поле комплексных  чисел определены операции сложения и умножения по правилу:</p>
<p><span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_702f555c7d6c43c5d2655d633f0d0dd0.gif' style='vertical-align: middle; border: none; ' class='tex' alt=" (a, b)+(c,d) = (a+c, b+d) " /></span><script type='math/tex'> (a, b)+(c,d) = (a+c, b+d) </script></p>
<p><span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_c4b61f8fe8bb323152298a76e5c83258.gif' style='vertical-align: middle; border: none; ' class='tex' alt=" (a,b)*(c,d)=(ac-bd, ad+bc) " /></span><script type='math/tex'> (a,b)*(c,d)=(ac-bd, ad+bc) </script></p>
<p>Эти операции обладают следующими свойствами ассоциативности, коммутотивности, дистрибутивности.</p>
<p><strong>Нулем</strong> называется такое комплексное число <span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_946808be8ea681a4fb565132cef2c61e.gif' style='vertical-align: middle; border: none; ' class='tex' alt=" (x,y) " /></span><script type='math/tex'> (x,y) </script> ,  что для любова   комплексного числа <span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_fbc18957eba04ab295607179d1036d4e.gif' style='vertical-align: middle; border: none; ' class='tex' alt=" (a, b) " /></span><script type='math/tex'> (a, b) </script> выполняется <span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_088984f2372adc383445791d87d004e2.gif' style='vertical-align: middle; border: none; ' class='tex' alt=" (a, b)+(x,y)=(a, b) " /></span><script type='math/tex'> (a, b)+(x,y)=(a, b) </script>  отсюда слудует, что (0, 0)</p>
<p><strong>Противоположным числом</strong> <span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_fbc18957eba04ab295607179d1036d4e.gif' style='vertical-align: middle; border: none; ' class='tex' alt=" (a, b) " /></span><script type='math/tex'> (a, b) </script>  называется такая пара <span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_6242564aff202a87875af57b3dccf5e2.gif' style='vertical-align: middle; border: none; ' class='tex' alt=" (x, y) " /></span><script type='math/tex'> (x, y) </script> , что <span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_40e801f73e8dabed905fbfdf57cf39a7.gif' style='vertical-align: middle; border: none; ' class='tex' alt=" (a,b)+(x, y)=(0, 0) " /></span><script type='math/tex'> (a,b)+(x, y)=(0, 0) </script>  отсюда следует, что противоположное число <span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_794b133f3bb2e8011263b23803857b03.gif' style='vertical-align: middle; border: none; ' class='tex' alt=" -(a, b) " /></span><script type='math/tex'> -(a, b) </script>.</p>
<p><strong>Единицей</strong> называется такое комплексное число <span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_6242564aff202a87875af57b3dccf5e2.gif' style='vertical-align: middle; border: none; ' class='tex' alt=" (x, y) " /></span><script type='math/tex'> (x, y) </script> , что  для произвольного числа  <span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_fbc18957eba04ab295607179d1036d4e.gif' style='vertical-align: middle; border: none; ' class='tex' alt=" (a, b) " /></span><script type='math/tex'> (a, b) </script>  выполняется  <span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_d04446b7cf615b8b285e03fe934c55c9.gif' style='vertical-align: middle; border: none; ' class='tex' alt=" (a, b)*(x, y) = (a, b) " /></span><script type='math/tex'> (a, b)*(x, y) = (a, b) </script> видем, что противоположное  число <span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_c0d159d22c37aa1eba9d414985895331.gif' style='vertical-align: middle; border: none; ' class='tex' alt=" (1, 0) " /></span><script type='math/tex'> (1, 0) </script></p>
<p>&nbsp;</p>
<p><strong>Деление.</strong> Что бы решить <span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_ebb3ae8833916b829feb20e494cd2d6e.gif' style='vertical-align: middle; border: none; ' class='tex' alt=" \frac{a+bi}{x+yi} " /></span><script type='math/tex'> \frac{a+bi}{x+yi} </script>  нужно умножить числитель и знаменатель на <span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_216b94c6d3eb37f96d7611205c63960e.gif' style='vertical-align: middle; border: none; ' class='tex' alt=" x-yi " /></span><script type='math/tex'> x-yi </script> , то есть на сопряженное число.</p>
<p><strong>Тригометрическая форма комплексного числа. </strong></p>
<p><span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_801dcc93173bff034fe64d18f3e3f5fe.gif' style='vertical-align: middle; border: none; ' class='tex' alt=" |Z| " /></span><script type='math/tex'> |Z| </script> - норма.</p>
<p><span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_78a0b1725c5346ce6a9774ac2b4d68fc.gif' style='vertical-align: middle; border: none; ' class='tex' alt=" |Z|= \sqrt{a^2+b^2} " /></span><script type='math/tex'> |Z|= \sqrt{a^2+b^2} </script></p>
<p><span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_a66aadeb63c3c016fba72d02750fa9ef.gif' style='vertical-align: middle; border: none; padding-bottom:1px;' class='tex' alt=" \varphi" /></span><script type='math/tex'> \varphi</script> - угол.</p>
<p><span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_4b14238a15def8fd9cf293228d6f0ce9.gif' style='vertical-align: middle; border: none; ' class='tex' alt=" \varphi = arctg(b/a) " /></span><script type='math/tex'> \varphi = arctg(b/a) </script></p>
<p><span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_509ecf85dea12f7139fa232b5be96924.gif' style='vertical-align: middle; border: none; ' class='tex' alt=" Z = |Z|(cos(\varphi)-isin(\varphi)) " /></span><script type='math/tex'> Z = |Z|(cos(\varphi)-isin(\varphi)) </script></p>
<p><strong>Умножение в тригометрической форме</strong> комплексного числа.</p>
<p><span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_7139b8108c8d154db8f562c4c15741cb.gif' style='vertical-align: middle; border: none; ' class='tex' alt=" Z_1Z_2 = |Z_1||Z_2|(cos(\varphi +\psi ) + isin(\varphi +\psi ))) " /></span><script type='math/tex'> Z_1Z_2 = |Z_1||Z_2|(cos(\varphi +\psi ) + isin(\varphi +\psi ))) </script></p>
<p><span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_6d1102fcd20cb8d1367a42df048a5025.gif' style='vertical-align: middle; border: none; padding-bottom:1px;' class='tex' alt=" \varphi " /></span><script type='math/tex'> \varphi </script> - угол <span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_2bb5484daf162aad0bc4ed899af4b042.gif' style='vertical-align: middle; border: none; ' class='tex' alt=" Z_1 " /></span><script type='math/tex'> Z_1 </script></p>
<p><span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_09215af2256fcc860a2cd7c773c224ed.gif' style='vertical-align: middle; border: none; ' class='tex' alt=" \psi " /></span><script type='math/tex'> \psi </script> - угол <span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_3a4f6b5f42663a6a9c76ed2cf7649b97.gif' style='vertical-align: middle; border: none; ' class='tex' alt=" Z_2 " /></span><script type='math/tex'> Z_2 </script></p>
<p>&nbsp;</p>
<p><strong>Деление в тригометрической форме </strong>комплексного числа.</p>
<p><span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_d884aa1f320e7d2a6b614b5234e8bdac.gif' style='vertical-align: middle; border: none; ' class='tex' alt=" \frac{Z_1}{Z_2} = \frac{|Z_1|(cos\varphi + isin\varphi )}{|Z_2|(cos\psi - isin\psi )} = \frac{|Z_1|}{|Z_2|}(cos(\varphi - \psi )+isin(\varphi - \psi )) " /></span><script type='math/tex'> \frac{Z_1}{Z_2} = \frac{|Z_1|(cos\varphi + isin\varphi )}{|Z_2|(cos\psi - isin\psi )} = \frac{|Z_1|}{|Z_2|}(cos(\varphi - \psi )+isin(\varphi - \psi )) </script></p>
<p><strong>Формула Муавра.</strong></p>
<p><span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_8850e16b4d4717b16352c57641bc27d1.gif' style='vertical-align: middle; border: none; ' class='tex' alt=" [|Z|(cos(\varphi+ 2 \Pi k) + isin(\varphi+ 2 \Pi k)]^n = (|Z|^n(cos(n\varphi+ 2 \Pi k) + isin(n\varphi+ 2 \Pi k)) " /></span><script type='math/tex'> [|Z|(cos(\varphi+ 2 \Pi k) + isin(\varphi+ 2 \Pi k)]^n = (|Z|^n(cos(n\varphi+ 2 \Pi k) + isin(n\varphi+ 2 \Pi k)) </script></p>
]]></content:encoded>
			<wfw:commentRss>http://geloni-el.ru/pole-kompleksnyx-chisel/2012/01/02/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Алгебра, моноид, полугруппа, группа, кольцо, поле.</title>
		<link>http://geloni-el.ru/algebra-monoid-polugruppa-gruppa-kolco-pole/2012/01/01/</link>
		<comments>http://geloni-el.ru/algebra-monoid-polugruppa-gruppa-kolco-pole/2012/01/01/#comments</comments>
		<pubDate>Sun, 01 Jan 2012 14:37:41 +0000</pubDate>
		<dc:creator>geLoni-eL</dc:creator>
				<category><![CDATA[Математика]]></category>
		<category><![CDATA[алгебра]]></category>
		<category><![CDATA[кольцо]]></category>
		<category><![CDATA[поле]]></category>

		<guid isPermaLink="false">http://geloni-el.ru/?p=810</guid>
		<description><![CDATA[Алгебра \left \{ M, o_1, o_2, \cdots , o_n \right \} 1) M - множество замкнута относительно этих операций o_i . Замкнутость означает a,b\in M и a o_i b\in M 2)o_i - бинарная операция. Моноид это алгебра с одной операцией. \left \{ M, o \right \} Полугруппа. 1) \left \{ M, o \right \} Моноид [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Алгебра</strong> <span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_944a878c955af14005767e31c400a069.gif' style='vertical-align: middle; border: none; ' class='tex' alt=" \left \{ M, o_1, o_2, \cdots , o_n \right \}" /></span><script type='math/tex'> \left \{ M, o_1, o_2, \cdots , o_n \right \}</script></p>
<p>1) M - множество замкнута относительно этих операций <span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_b4cbfeac895b884b90b588e7b0a78e30.gif' style='vertical-align: middle; border: none; ' class='tex' alt=" o_i " /></span><script type='math/tex'> o_i </script>. Замкнутость означает <span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_fd2318e1044247708d30651e0ab6f640.gif' style='vertical-align: middle; border: none; ' class='tex' alt=" a,b\in M " /></span><script type='math/tex'> a,b\in M </script> и <span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_0994b5d73c56dfcf4928193ac184ce84.gif' style='vertical-align: middle; border: none; ' class='tex' alt=" a o_i b\in M " /></span><script type='math/tex'> a o_i b\in M </script></p>
<p>2)o_i - бинарная операция.</p>
<p><strong>Моноид </strong>это алгебра с одной операцией. <span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_20b1c404d9def82da70f8fa95d122cfd.gif' style='vertical-align: middle; border: none; ' class='tex' alt=" \left \{ M, o \right \}" /></span><script type='math/tex'> \left \{ M, o \right \}</script></p>
<p><strong>Полугруппа.</strong></p>
<p>1) <span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_20b1c404d9def82da70f8fa95d122cfd.gif' style='vertical-align: middle; border: none; ' class='tex' alt=" \left \{ M, o \right \}" /></span><script type='math/tex'> \left \{ M, o \right \}</script> Моноид</p>
<p>2) <span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_bf8192164d6fb9fa921294d2897a08e4.gif' style='vertical-align: middle; border: none; ' class='tex' alt=" (a o b) o c = a o (b o c) a,b,c\in M " /></span><script type='math/tex'> (a o b) o c = a o (b o c) a,b,c\in M </script> ассоциативность.</p>
<p><strong>Группа.</strong></p>
<p>1) Полугруппа.</p>
<p>2) <span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_a0284e5437f6852ffe7020f4e4aed6a3.gif' style='vertical-align: middle; border: none; ' class='tex' alt="\exists e\in M: \forall a\in M;" /></span><script type='math/tex'>\exists e\in M: \forall a\in M;</script> <span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_04a4b240d60be6a1e045f8ab631d6994.gif' style='vertical-align: middle; border: none; padding-bottom:2px;' class='tex' alt="a o e=a" /></span><script type='math/tex'>a o e=a</script>    <span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_cbeef18f759ca9710d58d4424e2fe2c7.gif' style='vertical-align: middle; border: none; padding-bottom:2px;' class='tex' alt="e-" /></span><script type='math/tex'>e-</script>нейтральный элемент.</p>
<p>3) <span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_1cbdf79d895956475815b663f3537f9a.gif' style='vertical-align: middle; border: none; ' class='tex' alt="\forall a\in M: \exists a^{-1}\in M" /></span><script type='math/tex'>\forall a\in M: \exists a^{-1}\in M</script>   <span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_09c4370b189c5a55c67f287761565b1d.gif' style='vertical-align: middle; border: none; padding-bottom:1px;' class='tex' alt="a o a^{-1}=e" /></span><script type='math/tex'>a o a^{-1}=e</script>    <span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_113ee14e55c159d0735ce4843eb392ae.gif' style='vertical-align: middle; border: none; padding-bottom:1px;' class='tex' alt="a^{-1}-" /></span><script type='math/tex'>a^{-1}-</script> обратный элемент.</p>
<p><strong>Кольцо</strong> <span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_0cfa46d6258c4005066adee970d77063.gif' style='vertical-align: middle; border: none; ' class='tex' alt="\left \{K, o_1, o_2 \right \}" /></span><script type='math/tex'>\left \{K, o_1, o_2 \right \}</script></p>
<p>1)алгебра.</p>
<p>2)<span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_0420910d0809c2e68654247d08f61e04.gif' style='vertical-align: middle; border: none; ' class='tex' alt="\left \{K, +\right \}" /></span><script type='math/tex'>\left \{K, +\right \}</script> группа(коммутотивность) <span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_26b17225b626fb9238849fd60eabdf60.gif' style='vertical-align: middle; border: none; padding-bottom:1px;' class='tex' alt="+" /></span><script type='math/tex'>+</script> - пример операции.</p>
<p>3)<span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_debbfa00c9ad6724eaff134effbdebb5.gif' style='vertical-align: middle; border: none; ' class='tex' alt="\left \{K, *\right \}" /></span><script type='math/tex'>\left \{K, *\right \}</script> полугруппа. <span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_3389dae361af79b04c9c8e7057f60cc6.gif' style='vertical-align: middle; border: none; padding-bottom:2px;' class='tex' alt="*" /></span><script type='math/tex'>*</script> - пример операции.</p>
<p>4) <span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_c0c41b311a4fcaec6eb025fd26493dae.gif' style='vertical-align: middle; border: none; ' class='tex' alt="(a+b)*c=a*c+b*c" /></span><script type='math/tex'>(a+b)*c=a*c+b*c</script> дистрибютивность операций.</p>
<p><strong>Поле</strong> <span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_4ac394d8633099d419bca9307acb58e2.gif' style='vertical-align: middle; border: none; ' class='tex' alt=" \left \{F, o_1, o_2 \right \}" /></span><script type='math/tex'> \left \{F, o_1, o_2 \right \}</script></p>
<p>1) Кольцо.</p>
<p>2) <span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_5182221baa59cca12f34e09e467eef84.gif' style='vertical-align: middle; border: none; ' class='tex' alt="\left \{F\setminus \left \{ 0 \right \}, *\right \}" /></span><script type='math/tex'>\left \{F\setminus \left \{ 0 \right \}, *\right \}</script> группа.</p>
<p>3) <span class='MathJax_Preview'><img src='http://geloni-el.ru/wp-content/plugins/latex/cache/tex_352dc4cb026ef20c1c98db9b8348087c.gif' style='vertical-align: middle; border: none; ' class='tex' alt="\left \{F, +\right \}" /></span><script type='math/tex'>\left \{F, +\right \}</script> коммутотивная группа.</p>
]]></content:encoded>
			<wfw:commentRss>http://geloni-el.ru/algebra-monoid-polugruppa-gruppa-kolco-pole/2012/01/01/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Паскаль, сортировка выборкой.</title>
		<link>http://geloni-el.ru/paskal-sortirovka-vyborkoj/2012/01/01/</link>
		<comments>http://geloni-el.ru/paskal-sortirovka-vyborkoj/2012/01/01/#comments</comments>
		<pubDate>Sat, 31 Dec 2011 22:45:37 +0000</pubDate>
		<dc:creator>geLoni-eL</dc:creator>
				<category><![CDATA[Разное]]></category>

		<guid isPermaLink="false">http://geloni-el.ru/?p=802</guid>
		<description><![CDATA[Готовая реализация алгоритма сортировки выборкой  на языке Pascal. &#160; &#160; type vector = array[1..max_size_array] of integer; procedure selection_sort(var a:vector; var m:vector; size:integer); var b,k,i,j:integer; flag:boolean; begin m:=a; for i:=1 to size-1 do begin flag:=true; k:=i; for j:=i to  size do begin if m[k] &#62; m[j] then begin k:=j; flag:=false; end; end; b:=m[i]; m[i]:=m[k]; m[k]:=b; if [...]]]></description>
			<content:encoded><![CDATA[<p>Готовая реализация алгоритма сортировки выборкой  на языке Pascal.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<pre class="brush: pascal">

type vector = array[1..max_size_array] of integer;

procedure selection_sort(var a:vector; var m:vector; size:integer);
var
b,k,i,j:integer;
flag:boolean;
begin

m:=a;
for i:=1 to size-1 do
begin
flag:=true;
k:=i;
for j:=i to  size do
begin
if m[k] &gt; m[j] then
begin
k:=j;
flag:=false;
end;
end;
b:=m[i];
m[i]:=m[k];
m[k]:=b;
if flag then
break;

end;
end;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://geloni-el.ru/paskal-sortirovka-vyborkoj/2012/01/01/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Паскаль, сортировка пузерьком</title>
		<link>http://geloni-el.ru/paskal-sortirovka-puzerkom/2012/01/01/</link>
		<comments>http://geloni-el.ru/paskal-sortirovka-puzerkom/2012/01/01/#comments</comments>
		<pubDate>Sat, 31 Dec 2011 22:32:34 +0000</pubDate>
		<dc:creator>geLoni-eL</dc:creator>
				<category><![CDATA[Разное]]></category>
		<category><![CDATA[Pascal]]></category>
		<category><![CDATA[Сортировка]]></category>

		<guid isPermaLink="false">http://geloni-el.ru/?p=796</guid>
		<description><![CDATA[Готовая реализация алгоритма сортировки пузеркем на языке Pascal. type vector = array[1..max_size_array] of integer; procedure buble_sort(var a:vector; var b:vector; size:integer); var k, i, j:integer; flag:boolean; begin b:=a; k:=0; for i:=1 to (size-1) do begin flag:=true; for j:=1 to (size-i) do begin if b[j]&#62;b[j+1] then begin k:=b[j]; b[j]:=b[j+1]; b[j+1]:=k; flag:=false; end; end; if flag then break; [...]]]></description>
			<content:encoded><![CDATA[<p>Готовая реализация алгоритма сортировки пузеркем на языке Pascal.</p>
<pre class="brush: pascal">

type vector = array[1..max_size_array] of integer;

procedure buble_sort(var a:vector; var b:vector; size:integer);
var
k, i, j:integer;
flag:boolean;
begin
b:=a;
k:=0;
for i:=1 to (size-1) do
begin
flag:=true;
for j:=1 to (size-i) do
begin
if b[j]&gt;b[j+1] then
begin
k:=b[j];
b[j]:=b[j+1];
b[j+1]:=k;
flag:=false;
end;
end;
if flag then break;
end;
end;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://geloni-el.ru/paskal-sortirovka-puzerkom/2012/01/01/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Skitter очень красивый слайдер</title>
		<link>http://geloni-el.ru/skitter-ochen-krasivyj-slajder/2011/06/02/</link>
		<comments>http://geloni-el.ru/skitter-ochen-krasivyj-slajder/2011/06/02/#comments</comments>
		<pubDate>Thu, 02 Jun 2011 17:18:05 +0000</pubDate>
		<dc:creator>geLoni-eL</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[jQuery галерея]]></category>
		<category><![CDATA[JQuery плагин]]></category>
		<category><![CDATA[Skitter]]></category>
		<category><![CDATA[слайдер]]></category>

		<guid isPermaLink="false">http://geloni-el.ru/?p=780</guid>
		<description><![CDATA[Skitter безумно красивый слайдер на jQuery. С 26 видами эффектов смены картинки: cube, cubeRandom, block, cubeStop, cubeHide, cubeSize, horizontal, showBars, showBarsRandom, tube, fade, fadeFour, paralell, blind, blindHeight, blindWidth, directionTop, directionBottom, directionRight, directionLeft, cubeStopRandom, cubeSpread, cubeJelly, random, randomSmart. С двумя типами загрузки xml и html. С тремя видами навигации: Номерная(Numbers), Миниатюрками(Thumbs) и кружками(Dots). &#160; Подключение Skitter [...]]]></description>
			<content:encoded><![CDATA[<p><a rel="attachment wp-att-789" href="http://geloni-el.ru/skitter-ochen-krasivyj-slajder/2011/06/02/15212422844-orig/"><img class="alignnone size-full wp-image-789" title="15212422844-orig" src="http://geloni-el.ru/wp-content/uploads/15212422844-orig.png" alt="" width="702" height="523" /></a></p>
<p>Skitter безумно красивый слайдер на jQuery.</p>
<p>С 26 видами эффектов смены картинки: cube, cubeRandom, block, cubeStop, cubeHide, cubeSize, horizontal, showBars, showBarsRandom, tube, fade, fadeFour, paralell, blind, blindHeight, blindWidth, directionTop, directionBottom, directionRight, directionLeft, cubeStopRandom, cubeSpread, cubeJelly, random, randomSmart.</p>
<p>С двумя типами загрузки xml и html.</p>
<p>С тремя видами навигации: Номерная(Numbers), Миниатюрками(Thumbs)  и кружками(Dots).</p>
<p>&nbsp;</p>
<h2>Подключение Skitter и нужных плагинов.</h2>
<pre class="brush: html">
&lt;pre&gt;
&lt;ol&gt;
&lt;li&gt;// Styles&lt;/li&gt;

&lt;li&gt;&lt;link href=&quot;css/skitter.styles.css&quot; type=&quot;text/css&quot; media=&quot;all&quot; rel=&quot;stylesheet&quot; /&gt;&lt;/li&gt;

&lt;li&gt;// Scripts&lt;/li&gt;

&lt;li&gt;&lt;script src=&quot;js/jquery-1.5.2.min.js&quot;&gt;&lt;/script&gt;&lt;/li&gt;

&lt;li&gt;&lt;script src=&quot;js/jquery.skitter.min.js&quot;&gt;&lt;/script&gt;&lt;/li&gt;

&lt;li&gt;&lt;script src=&quot;js/jquery.easing.1.3.js&quot;&gt;&lt;/script&gt;&lt;/li&gt;

&lt;li&gt;&lt;script src=&quot;js/jquery.animate-colors-min.js&quot;&gt;&lt;/script&gt;&lt;/li&gt;

&lt;/ol&gt;

&lt;/pre&gt;
</pre>
<h2>Запускаем функцию.</h2>
<pre class="brush: javascript">

$(function(){
$(&#039;.class&#039;).skitter();
});
</pre>
<h2>Html</h2>
<pre class="brush: html">
&lt;pre&gt;
&lt;li&gt;&lt;div class=&quot;box_skitter box_skitter_large&quot;&gt;&lt;/li&gt;

&lt;li&gt;    &lt;ul&gt;&lt;/li&gt;

&lt;li&gt;        &lt;li&gt;&lt;/li&gt;

&lt;li&gt;            &lt;a href=&quot;http://thiagosf.net&quot;&gt;&lt;img src=&quot;images/01.jpg&quot; class=&quot;block&quot; /&gt;&lt;/a&gt;&lt;/li&gt;

&lt;li&gt;            &lt;div class=&quot;label_text&quot;&gt;&lt;/li&gt;

&lt;li&gt;                &lt;p&gt;Label&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;            &lt;/div&gt;&lt;/li&gt;

&lt;li&gt;        &lt;/li&gt;&lt;/li&gt;

&lt;li&gt;        &lt;li&gt;&lt;/li&gt;

&lt;li&gt;            &lt;a href=&quot;http://cakephp.org&quot;&gt;&lt;img src=&quot;images/02.jpg&quot; class=&quot;cube&quot; /&gt;&lt;/a&gt;&lt;/li&gt;

&lt;li&gt;            &lt;div class=&quot;label_text&quot;&gt;&lt;/li&gt;

&lt;li&gt;                &lt;p&gt;Label&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;            &lt;/div&gt;&lt;/li&gt;

&lt;li&gt;        &lt;/li&gt;&lt;/li&gt;

&lt;li&gt;        &lt;li&gt;&lt;/li&gt;

&lt;li&gt;            &lt;a href=&quot;http://jquery.com&quot;&gt;&lt;img src=&quot;images/03.jpg&quot; class=&quot;default&quot; /&gt;&lt;/a&gt;&lt;/li&gt;

&lt;li&gt;            &lt;div class=&quot;label_text&quot;&gt;&lt;/li&gt;

&lt;li&gt;                &lt;p&gt;Label&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;            &lt;/div&gt;&lt;/li&gt;

&lt;li&gt;        &lt;/li&gt;&lt;/li&gt;

&lt;li&gt;    &lt;/ul&gt;&lt;/li&gt;

&lt;/pre&gt;
</pre>
<h2>Xml</h2>
<pre class="brush: xml">
&lt;pre&gt;
&lt;ol&gt;
&lt;li&gt;&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;&lt;/li&gt;

&lt;li&gt;&lt;skitter&gt;&lt;/li&gt;

&lt;li&gt;    &lt;slide&gt;&lt;/li&gt;

&lt;li&gt;        &lt;link&gt;#directionTop&lt;/link&gt;&lt;/li&gt;

&lt;li&gt;        &lt;image type=&quot;directionTop&quot;&gt;images/001.jpg&lt;/image&gt;&lt;/li&gt;

&lt;li&gt;        &lt;label&gt;&lt;![CDATA[&lt;p&gt;directionTop&lt;/p&gt;]]&gt;&lt;/label&gt;&lt;/li&gt;

&lt;li&gt;    &lt;/slide&gt;&lt;/li&gt;

&lt;li&gt;    &lt;slide&gt;&lt;/li&gt;

&lt;li&gt;        &lt;link&gt;#cubeSize&lt;/link&gt;&lt;/li&gt;

&lt;li&gt;        &lt;image type=&quot;cubeSize&quot;&gt;images/002.jpg&lt;/image&gt;&lt;/li&gt;

&lt;li&gt;        &lt;label&gt;&lt;![CDATA[&lt;p&gt;cubeSize&lt;/p&gt;]]&gt;&lt;/label&gt;&lt;/li&gt;

&lt;li&gt;    &lt;/slide&gt;&lt;/li&gt;

&lt;li&gt;    &lt;slide&gt;&lt;/li&gt;

&lt;li&gt;        &lt;link&gt;#paralell&lt;/link&gt;&lt;/li&gt;

&lt;li&gt;        &lt;image type=&quot;paralell&quot;&gt;images/003.jpg&lt;/image&gt;&lt;/li&gt;

&lt;li&gt;        &lt;label&gt;&lt;![CDATA[&lt;p&gt;paralell&lt;/p&gt;]]&gt;&lt;/label&gt;&lt;/li&gt;

&lt;li&gt;    &lt;/slide&gt;&lt;/li&gt;

&lt;li&gt;&lt;/skitter&gt;&lt;/li&gt;

&lt;/ol&gt;

&lt;/pre&gt;
</pre>
<table>
<thead>
<tr>
<th>опция</th>
<th>описание</th>
<th>по умолчанию</th>
<th>пример</th>
</tr>
</thead>
<tbody>
<tr>
<td>velocity</td>
<td>Скорость замены.</td>
<td>1</td>
<td><span class="code">$('.box_skitter_large').skitter({velocity: 2});</span></td>
</tr>
<tr>
<td>interval</td>
<td>Интервал между заменами.</td>
<td>2500</td>
<td><span class="code">$('.box_skitter_large').skitter({interval: 3000});</span></td>
</tr>
<tr>
<td>animation</td>
<td>По умолчанию анимация</td>
<td>нулевым или определены в &lt;a&gt; класса</td>
<td><span class="code">$('.box_skitter_large').skitter({animation: 'fade'});</span></td>
</tr>
<tr>
<td>numbers</td>
<td>Нумерция навигации</td>
<td>true</td>
<td><span class="code">$('.box_skitter_large').skitter({numbers: false});</span></td>
</tr>
<tr>
<td>navigation</td>
<td>навигация стрелками</td>
<td>true</td>
<td><span class="code">$('.box_skitter_large').skitter({navigation: false});</span></td>
</tr>
<tr>
<td>label</td>
<td>Описание  на картинке,</td>
<td>true</td>
<td><span class="code">$('.box_skitter_large').skitter({label: false});</span></td>
</tr>
<tr>
<td>easing_default</td>
<td>Easing default</td>
<td>null</td>
<td><span class="code">$('.box_skitter_large').skitter({easing_default: 'easeOutBack'});</span></td>
</tr>
<tr>
<td>animateNumberOut</td>
<td>Animation/style number</td>
<td>{backgroundColor:'#333', color:'#fff'}</td>
<td><span class="code">$('.box_skitter_large').skitter({animateNumberOut: {backgroundColor:'#000', color:'#ccc'}});</span></td>
</tr>
<tr>
<td>animateNumberOver</td>
<td>Animation/style hover number</td>
<td>{backgroundColor:'#000', color:'#fff'}</td>
<td><span class="code">$('.box_skitter_large').skitter({animateNumberOver: {backgroundColor:'#000', color:'#ccc'}});</span></td>
</tr>
<tr>
<td>animateNumberActive</td>
<td>Animation/style active number</td>
<td>{backgroundColor:'#cc3333', color:'#fff'}</td>
<td><span class="code">$('.box_skitter_large').skitter({animateNumberActive: {backgroundColor:'#000', color:'#ccc'}});</span></td>
</tr>
<tr>
<td>thumbs</td>
<td>Навигация в миниаюрах</td>
<td>false</td>
<td><span class="code">$('.box_skitter_large').skitter({thumbs: true});</span></td>
</tr>
<tr>
<td>hideTools</td>
<td>Скрыть номера и навигации</td>
<td>false</td>
<td><span class="code">$('.box_skitter_large').skitter({hideTools: true});</span></td>
</tr>
<tr>
<td>fullscreen</td>
<td>Во весь экран</td>
<td>false</td>
<td><span class="code">$('.box_skitter_large').skitter({fullscreen: true});</span></td>
</tr>
<tr>
<td>xml</td>
<td>Загрузка xml</td>
<td>false</td>
<td><span class="code">$('.box_skitter_large').skitter({xml: "xml/slides.xml"});</span></td>
</tr>
<tr>
<td>dots</td>
<td>Навигация кружками</td>
<td>false</td>
<td><span class="code">$('.box_skitter_large').skitter({dots: true});</span></td>
</tr>
<tr>
<td>width_label</td>
<td>Ширина описание на картинке</td>
<td>null</td>
<td><span class="code">$('.box_skitter_large').skitter({width_label: '300px'});</span></td>
</tr>
<tr>
<td>show_randomly</td>
<td>ПОказать случайным образом</td>
<td>false</td>
<td><span class="code">$('.box_skitter_large').skitter({show_randonly: true});</span></td>
</tr>
</tbody>
</table>
<p><a class="demo-n" href="http://thiagosf.net/projects/jquery/skitter" target="_blank">Демо</a><br />
<a class="download-n" href="https://github.com/thiagosf/SkitterSlideshow" target="_blank">Скачать</a></p>
]]></content:encoded>
			<wfw:commentRss>http://geloni-el.ru/skitter-ochen-krasivyj-slajder/2011/06/02/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Плагин gmail manager для Firefox</title>
		<link>http://geloni-el.ru/plagin-gmail-manager-dlya-firefox/2011/05/31/</link>
		<comments>http://geloni-el.ru/plagin-gmail-manager-dlya-firefox/2011/05/31/#comments</comments>
		<pubDate>Tue, 31 May 2011 02:24:03 +0000</pubDate>
		<dc:creator>geLoni-eL</dc:creator>
				<category><![CDATA[Разное]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[plugins]]></category>

		<guid isPermaLink="false">http://geloni-el.ru/?p=784</guid>
		<description><![CDATA[Плагин gmail manager как несложно было догадаться по название предназначе для работы с почтой от google. Плагин помогает следит пришло вам на почту письма, если да то показывается краткое содержание письма и адресат, который прислал его вам. Итак приступим к установки. 1. Заходим сюда и добавляем к себе плагин. 2. После выхода 4 версии Firefox [...]]]></description>
			<content:encoded><![CDATA[<p>Плагин gmail manager как несложно было догадаться по название предназначе для работы с почтой от google. Плагин помогает следит пришло вам на почту письма, если да то показывается краткое содержание письма и адресат, который прислал его вам.</p>
<p>Итак приступим к установки.</p>
<p>1. Заходим <a href="https://addons.mozilla.org/en-US/firefox/addon/gmail-manager/">сюда</a> и добавляем к себе плагин.</p>
<p>2. После выхода 4 версии Firefox по умолчанию нижний тулбар отключеный, а наш gmail manager живет там, поэтому нужно нижний тулбар  включить.  Чтоб включить его идем View &gt; Toolbars &gt; нажимаем Add-on-Bar. Нижний тулбар включен.</p>
<p>3.  Теперь нам осталось добавить нашу акаунт. Внизу  у нас появился серый конвер. Нажимаем на него правой кнопкой мыши &gt; выбираем Options(Настройки). Выбираем Accounts&gt;Add  Появляются три поля email, alias, password. С email и password  думаю все понятно, alias служит для будет подпись конверта в нижнем тулбаре.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://geloni-el.ru/plagin-gmail-manager-dlya-firefox/2011/05/31/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Галерея с круглыми миниатюрами</title>
		<link>http://geloni-el.ru/galereya-s-kruglymi-miniatyurami-s-pomoshhyu-jquery/2011/04/21/</link>
		<comments>http://geloni-el.ru/galereya-s-kruglymi-miniatyurami-s-pomoshhyu-jquery/2011/04/21/#comments</comments>
		<pubDate>Thu, 21 Apr 2011 18:49:07 +0000</pubDate>
		<dc:creator>geLoni-eL</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[jQuery галерея]]></category>
		<category><![CDATA[JQuery плагин]]></category>
		<category><![CDATA[галереи]]></category>
		<category><![CDATA[галерея]]></category>

		<guid isPermaLink="false">http://geloni-el.ru/?p=757</guid>
		<description><![CDATA[Сегодня сделаем галерею с круглыми миниатюрами.Давайте начнем с создания HTML-структуры. У нас будет довольно много элементов, поэтому мы начнем с главного меню, которое появляется при просмотре полного изображения. &#160; &#160; &#160; &#60;div id=&#34;top_menu&#34;&#62; &#60;span id=&#34;description&#34;&#62;&#60;/span&#62; &#60;a id=&#34;back&#34; href=&#34;#&#34;&#62;&#60;span&#62;&#60;/span&#62;back&#60;/a&#62; &#60;div&#62; &#60;span&#62;Album 1&#60;/span&#62; &#60;span&#62; / Shot 1&#60;/span&#62; &#60;/div&#62; &#60;/div&#62; Нам нужна возможность вернуться в режиме просмотра миниатюр, [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-775" title="03" src="http://geloni-el.ru/wp-content/uploads/03.jpg" alt="" width="624" height="496" /></p>
<p>Сегодня сделаем галерею с круглыми миниатюрами.Давайте начнем с создания HTML-структуры. У нас будет довольно много элементов, поэтому мы начнем с главного меню, которое появляется при просмотре полного изображения.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<pre class="brush: html">
&lt;div id=&quot;top_menu&quot;&gt;
&lt;span id=&quot;description&quot;&gt;&lt;/span&gt;
&lt;a id=&quot;back&quot; href=&quot;#&quot;&gt;&lt;span&gt;&lt;/span&gt;back&lt;/a&gt;
&lt;div&gt;
&lt;span&gt;Album 1&lt;/span&gt;
&lt;span&gt; / Shot 1&lt;/span&gt;
&lt;/div&gt;
&lt;/div&gt;
</pre>
<p>Нам нужна возможность вернуться в режиме просмотра миниатюр, область описания и информации области, что показывает нам, какой образ мы в настоящее время просмотра. Таким образом, этот элемент просто будет показывать, когда мы нажмите на миниатюру. Пустая оболочка будет использоваться для добавления небольшой стрелкой назад.</p>
<p>Нам также необходимо погрузчик элемента:</p>
<pre class="brush: html">

&lt;div id=&quot;loader&quot;&gt;&lt;/div&gt;
</pre>
<p>Теперь, давайте посмотрим на заголовок элемента, где мы поставим наш главный элемент H1 для галерея название:</p>
<pre class="brush: html">

&lt;div id=&quot;header&quot; style=&quot;top:-90px;&quot;&gt;&lt;!--top 30 px to show--&gt;
&lt;h1&gt;Bubbleriffic&lt;span&gt;jQuery Image Gallery&lt;/span&gt;&lt;/h1&gt;
&lt;/div&gt;
</pre>
<p>Мы хотим, чтобы слайд этого элемента был в верху, когда мы загружаем страницу, поэтому мы изначально настроены верхнее значение до -90 пикселей. В JavaScript мы тогда двигаем его на 30 пикселей. Вы также можете добавить этот стиль стилей вместо того, встроенного стиля.</p>
<p>Следующий элемент будет эскизы оболочку, которая будет иметь все альбомы миниатюр. Так как мы будем использовать миниатюрами скроллер Манос, мы будем строить нашу разметку на этой структуре. Там будет три прокрутки контейнеры для трех альбомов, которые будут иметь класс "tshf_container":</p>
<pre class="brush: html">

&lt;div id=&quot;thumbnails_wrapper&quot; style=&quot;top:-255px;&quot;&gt;
&lt;!-- top:110px to show--&gt;

&lt;div id=&quot;tshf_container1&quot; &gt;
&lt;div&gt;
&lt;div&gt;

&lt;div&gt;
&lt;div&gt;
&lt;a href=&quot;#&quot;&gt;
&lt;img src=&quot;images/albums/album1/thumbs/1.jpg&quot; alt=&quot;Description&quot; /&gt;
&lt;/a&gt;
&lt;span&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;/div&gt;

&lt;div&gt;
...
&lt;/div&gt;

&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;

&lt;div id=&quot;tshf_container2&quot; &gt;
...
&lt;/div&gt;

&lt;div id=&quot;tshf_container3&quot; &gt;
...
&lt;/div&gt;
&lt;/div&gt;
</pre>
<p>&nbsp;</p>
<p>Пустая оболочка внутри div, который содержит изображение будет использоваться для наложения изображений с отверстием в нем, делая эскизы появляются как маленькие пузырьки.<br />
Теперь мы добавим желтый пузырь, который будет использоваться для создания пузыря, как туннельный эффект, когда мы хотим, чтобы посмотреть в полный:</p>
<pre class="brush: html">

&lt;div&gt;
&lt;img id=&quot;bubble&quot; src=&quot;images/bubble.png&quot; alt=&quot;&quot;/&gt;
&lt;/div&gt;
</pre>
<p>Предварительный контейнер для полного просмотра изображения с навигации будет иметь следующую структуру:</p>
<pre class="brush: html">

&lt;div id=&quot;preview&quot;&gt;
&lt;a id=&quot;prev_image&quot; href=&quot;#&quot;&gt;&lt;/a&gt;
&lt;a id=&quot;next_image&quot; href=&quot;#&quot;&gt;&lt;/a&gt;
&lt;/div&gt;
</pre>
<p>The footer can be used to add some information:</p>
<pre class="brush: html">

&lt;div&gt;
&lt;!-- Add something here --&gt;
&lt;/div&gt;
</pre>
<p>&lt;h2&gt;CSS:&lt;/h2&gt;</p>
<p>Определим некоторые общие свойства для ссылки, списки и тела:</p>
<pre class="brush: css">

*{
margin:0;
padding:0;
}
a{
text-decoration:none;
outline:none;
}
ul{
list-style:none;
}
body{
background:#222 url(../bg.jpg) repeat top left;
font-family:&quot;Trebuchet MS&quot;, &quot;Myriad Pro&quot;, Helvetica, sans-serif;
font-size:13px;
color: #fff;
text-transform:uppercase;
text-shadow:0px 0px 1px #fff;
letter-spacing:1px;
overflow:hidden;
}
</pre>
<p>Верхнее меню, которое появляется, когда мы рассматриваем полный изображение будет иметь следующий стиль:</p>
<pre class="brush: css">

.top_menu{
height:30px;
line-height:30px;
position:absolute;
top:-30px;
left:0;
width:100%;
overflow:hidden;
background:#010101;
border-bottom:1px solid #000;
z-index:100;
-moz-box-shadow:0px 0px 4px #010101;
-webkit-box-shadow:0px 0px 4px #010101;
box-shadow:0px 0px 4px #010101;
}
</pre>
<p>&nbsp;</p>
<p>(Если вы знаете, что ваш текст будет занимать только одну строку в конкретный элемент, то вы можете установить линию, которая элемента высоты к высоте, чтобы центр содержащих текст по вертикали.)<br />
Положим верхнего до -30 пикселей для того, чтобы скрыть элемент.</p>
<p>Ссылка назад будет иметь следующий стиль:</p>
<pre class="brush: css">

.top_menu .back{
position:absolute;
top:0px;
left:10px;
height:30px;
line-height:30px;
cursor:pointer;
color:#aaa;
}
</pre>
<p>Мы добавим маленький значок стрелки на обратную ссылку, что на самом деле имеет такое же фоновое изображение, как элемент навигации. Мы используем двойной ширины, хотя, так что мы можем повторить изображение в два раза:</p>
<p>&nbsp;</p>
<pre class="brush: css">

Мы добавим маленький значок стрелки на обратную ссылку, что на самом деле имеет такое же фоновое изображение, как элемент навигации. Мы используем двойной ширины, хотя, так что мы можем повторить изображение в два раза:
</pre>
<p>Описание появится в центере:</p>
<pre class="brush: css">

.top_menu span.description{
font-style:italic;
position:absolute;
width:100%;
text-align:center;
top:0px;
left:0px;
height:30px;
line-height:30px;
}
</pre>
<p>Информация будит находится справа:</p>
<pre class="brush: css">

.top_menu .info{
float:right;
margin-right:10px;
}
</pre>
<p>Давайте стиле основной заголовок сейчас. Мы позиция абсолютно, так как мы хотим, чтобы оживить сверху, и мы дадим его желтый цвет фона и некоторые интересные тени коробке:</p>
<pre class="brush: css">

.header{
height:80px;
position:absolute;
top:30px;
left:0px;
width:100%;
overflow:hidden;
z-index:90;
background-color:#ffd800;
-moz-box-shadow:0px 0px 10px #010101;
-webkit-box-shadow:0px 0px 10px #010101;
box-shadow:0px 0px 10px #010101;
}
h1{
font-size:60px;
padding-left:20px;
color:#010101;
line-height:80px;
text-shadow:1px 1px 1px #000;
}
h1 span{
font-size:16px;
float:right;
margin-right:20px;
}
</pre>
<p>Перед тем, как стиль миниатюр обертки, давайте сначала посмотрим на стиль всех других элементов.</p>
<p>полное изображение будет позиционироваться абсолютно, но мы создадим свою окончательную позицию в JavaScript:</p>
<pre class="brush: css">

.preview img{
position:absolute;
left:0;
top:0;
-moz-box-shadow:1px 1px 5px #111;
-webkit-box-shadow:1px 1px 5px #111;
box-shadow:21px 1px 5px #111;
-webkit-box-reflect:
below 5px
-webkit-gradient(
linear,
left top,
left bottom,
from(transparent),
color-stop(0.8, transparent),
to(rgb(255, 216, 0))
);
}
</pre>
<p>Мы добавим некоторые полезные для отражения WebKit браузеров и некоторые достойные тень окно.<br />
Футер будет почти в том же стиле, как в верхнем меню, за исключением позиционирования и некоторые другие детали, как границы:</p>
<pre class="brush: css">
.footer{
z-index:100;
height:30px;
line-height:30px;
text-align:center;
font-size:10px;
background:#010101;
border-top:1px solid #000;
position:absolute;
bottom:0px;
left:0px;
width:100%;
-moz-box-shadow:0px 0px 4px #010101;
-webkit-box-shadow:0px 0px 4px #010101;
box-shadow:0px 0px 4px #010101;
}
.footer a{
color:#999;
text-decoration:none;
margin:40px;
}
</pre>
<p>&nbsp;</p>
<p>Загрузка элемента будет размещен в центре страницы, и мы сделаем его  вокруг, установив границы радиус до половины его ширина / высота:</p>
<pre class="brush: css">

﻿.loader{
display:none;
width:200px;
height:200px;
background: #000 url(../images/ajax-loader.gif) no-repeat center center;
position:fixed;
top:50%;
left:50%;
margin:-100px 0px 0px -100px;
opacity: 0.7;
z-index:9999;
-moz-border-radius:100px;
-webkit-border-radius:100px;
border-radius:100px;
}
</pre>
<p>Элементы навигации будет иметь следующий общий стиль:</p>
<pre class="brush: css">

a.next_image,
a.prev_image{
width:50px;
height:50px;
position:fixed;
top:50%;
margin-top:-25px;
cursor:pointer;
opacity:0.7;
z-index:999999;
-moz-box-shadow:0px 0px 3px #000;
-webkit-box-shadow:0px 0px 3px #000;
box-shadow:0px 0px 3px #000;
-moz-border-radius:25px;
-webkit-border-radius:25px;
border-radius:25px;
}
a.next_image:hover,
a.prev_image:hover
{
opacity:0.9;
}
</pre>
<p>И отдельные стили будут</p>
<pre class="brush: css">

a.next_image{
background:#000 url(../images/next.png) no-repeat center center;
right:-50px;
}
a.prev_image{
background:#000 url(../images/prev.png) no-repeat center center;
left:-50px;
}
</pre>
<p>Первоначально, они оба будут скрыты, поэтому мы установим их влево/вправо позиционирования для отрицательного значения их ширины.</p>
<p>Теперь, мы будем стиле миниатюр обертку:</p>
<pre class="brush: css">

.thumbnails_wrapper{
position:absolute;
top:-255px;
left:0px;
width:100%;
-moz-box-shadow:0px 3px 5px #000;
-webkit-box-shadow:0px 3px 5px #000;
box-shadow:0px 3px 5px #000;
}
</pre>
<p>Пузыря изображение будет расположен в центре страницы и ширину и высоту 0. Мы будем оживить ее  в JavaScript:</p>
<pre class="brush: css">

.bubble img{
position:fixed;
top:50%;
left:50%;
width:0px;
height:0px;
}
</pre>
<p>Теперь, мы будем адаптировать стиль миниатюрами скроллер Манос ":</p>
<pre class="brush: css">

.tshf_container{
height:85px;
position:relative;
width:100%;
background:#ffd800;
}
.tshf_container .thumbScroller{
position:relative;
width:100%;
overflow:hidden;
}
.tshf_container .thumbScroller,
.tshf_container .thumbScroller .container,
.tshf_container .thumbScroller .content{
height:85px;
}
.tshf_container .thumbScroller .container{
position:relative;
left:0;
}
.tshf_container .thumbScroller .content{
float:left;
}
.tshf_container .thumbScroller .content div{
height:100%;
position:relative;
}
.tshf_container .thumbScroller img{
border:none;
}
.tshf_container .thumbScroller .content div a{
display:block;
height:85px;
width:85px;
}
.tshf_container .thumbScroller .content div a img{
width:85px;
}
.tshf_container .thumbScroller .content div a:hover{
border-color:#fff;
}
</pre>
<p>Мы будем использовать дополнительный период, чтобы добавить наш пузырь наложения:</p>
<pre class="brush: css">

.tshf_container .thumbScroller .content span{
cursor:pointer;
position:absolute;
width:85px;
height:85px;
top:0px;
left:0px;
background:transparent url(../images/thumb_overlay.png) no-repeat top left;
}
.tshf_container .thumbScroller .content div:hover span{
background:transparent url(../images/thumb_overlay_hover.png) no-repeat top left;
}
</pre>
<p>И это все, стиль. Теперь, давайте добавим волшебство!</p>
<p>&nbsp;</p>
<p>&lt;h2&gt;JavaScript&lt;/h2&gt;</p>
<p>Включим следующие сценарии:</p>
<pre class="brush: javascript">

&lt;script type=&quot;text/javascript&quot; src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;js/jquery.easing.1.3.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;js/jquery.thumbnailScroller.js&quot;&gt;&lt;/script&gt;
</pre>
<p>Мы начнем с кэшированием некоторые важные элементы и определяющие некоторые показатели:</p>
<pre class="brush: javascript">

var $thumbnails_wrapper     = $(&#039;#thumbnails_wrapper&#039;),
$thumbs                    = $thumbnails_wrapper.find(&#039;.tshf_container&#039;).find(&#039;.content&#039;),
$top_menu                = $(&#039;#top_menu&#039;),
$header                    = $(&#039;#header&#039;),
$bubble                 = $(&#039;#bubble&#039;),
$loader                    = $(&#039;#loader&#039;),
$preview                = $(&#039;#preview&#039;),
$thumb_images            = $thumbnails_wrapper.find(&#039;img&#039;),
total_thumbs            = $thumb_images.length,
$next_img                = $(&#039;#next_image&#039;),
$prev_img                = $(&#039;#prev_image&#039;),
$back                    = $(&#039;#back&#039;),
$description            = $(&#039;#description&#039;),
//текущего альбома и текущих фото
//(индексы tshf_container и содержание элементов)
currentAlbum            = -1,
currentPhoto            = -1;
</pre>
<p>Тогда мы покажем, загрузка элемента (пока все эскизы загружаются) и вызова функции, что открывает альбомы:</p>
<pre class="brush: javascript">

$loader.show();

//показывает главное меню и превью меню
openPhotoAlbums();
</pre>
<p>&nbsp;</p>
<pre class="brush: javascript">

function openPhotoAlbums(){
//Презагрузка всех миниатюр
var cnt_loaded = 0;
$thumb_images.each(function(){
var $thumb         = $(this);
var image_src     = $thumb.attr(&#039;src&#039;);
$(&#039;&lt;img/&gt;&#039;).load(function(){
++cnt_loaded;
if(cnt_loaded == total_thumbs){
$loader.hide();
createThumbnailScroller();
//показать главное меню и превью меню
$header.stop()
.animate({&#039;top&#039;:&#039;30px&#039;},700,&#039;easeOutBack&#039;);
$thumbnails_wrapper.stop()
.animate({&#039;top&#039;:&#039;110px&#039;},700,&#039;easeOutBack&#039;);
}
}).attr(&#039;src&#039;,image_src);
});
}
</pre>
<p>Функция "createThumbnailScroller ()" сделают эскизы быть прокручиваемый после сценария Manos, но мы будем к этому позже.<br />
Далее, мы определим, что происходит, когда мы нажмите на миниатюру.</p>
<pre class="brush: javascript">

$thumbs.bind(&#039;click&#039;,function(e){
//показать картинку загрузки
$loader.show();
var $thumb    = $(this),
//источник соответствующие большое изображение
img_src = $thumb.find(&#039;img.thumb&#039;)
.attr(&#039;src&#039;)
.replace(&#039;/thumbs&#039;,&#039;&#039;);

//отслеживать текущий альбом / фото
currentPhoto= $thumb.index(),
currentAlbum= $thumb.closest(&#039;.tshf_container&#039;)
.index();
//отображает текущий альбом и текущих фото
updateInfo(currentAlbum,currentPhoto);
//презагрузка больших изображений
$(&#039;&lt;img/&gt;&#039;).load(function(){
var $this = $(this);
// записываем размер большого изображения
saveFinalPositions($this);
// margin_circle является диаметр
// пузыря изображения
var w_w                = $(window).width(),
w_h                = $(window).height(),
margin_circle    = w_w + w_w/3;
if(w_h&gt;w_w)
margin_circle    = w_h + w_h/3;

// изображение будет расположен по центру,
// с ширина и высота 0px
$this.css({
&#039;width&#039;        : &#039;0px&#039;,
&#039;height&#039;    : &#039;0px&#039;,
&#039;marginTop&#039;    : w_h/2 +&#039;px&#039;,
&#039;marginLeft&#039;: w_w/2 +&#039;px&#039;
});
$preview.append($this);
/ / скрыть заголовок
$header.stop().animate({&#039;top&#039;:&#039;-90px&#039;},400, function(){
$loader.hide();
// показать главное меню с кнопки &quot;Назад&quot;,
// и текущего альбома/спрятать информацию о файле
$top_menu.stop()
.animate({&#039;top&#039;:&#039;0px&#039;},400,&#039;easeOutBack&#039;);
//анимируем пузырь изображение
$bubble.stop().animate({
&#039;width&#039;        :    margin_circle + &#039;px&#039;,
&#039;height&#039;    :    margin_circle + &#039;px&#039;,
&#039;marginTop&#039;    :    -margin_circle/2+&#039;px&#039;,
&#039;marginLeft&#039;:    -margin_circle/2+&#039;px&#039;
},700,function(){
//решим проблему размера
$(&#039;BODY&#039;).css(&#039;background&#039;,&#039;#FFD800&#039;);
});
//после 200ms анимация большого изображения
//и видно панель навигации
setTimeout(function(){
var final_w    = $this.data(&#039;width&#039;),
final_h    = $this.data(&#039;height&#039;);
$this.stop().animate({
&#039;width&#039;        : final_w + &#039;px&#039;,
&#039;height&#039;    : final_h + &#039;px&#039;,
&#039;marginTop&#039;    : w_h/2 - final_h/2 + &#039;px&#039;,
&#039;marginLeft&#039;: w_w/2 - final_w/2 + &#039;px&#039;
},700,showNav);
//show the description
$description.html($thumb.find(&#039;img.thumb&#039;).attr(&#039;alt&#039;));
},200);

});
//скрываем миниатюры
$thumbnails_wrapper.stop()
.animate({
&#039;top&#039; : w_h+&#039;px&#039;
},400,function(){
//solve resize problem
$(this).hide();
});

}).attr(&#039;src&#039;,img_src);
});
</pre>
<p>Когда мы нажимаем на "Next " элемент навигации, мы хотим, чтобы следующие исполнилось:</p>
<pre class="brush: javascript">

$next_img.bind(&#039;click&#039;,function(){
//приращение currentPhoto
++currentPhoto;
//текущий альбом
var $album        = $thumbnails_wrapper.find(&#039;.tshf_container&#039;)
.eq(currentAlbum),
//следуйщий элемент
$next        = $album.find(&#039;.content&#039;).eq(currentPhoto),
$current     = $preview.find(&#039;img&#039;);
if($next.length == 0 || $current.is(&#039;:animated&#039;)){
--currentPhoto;
return false;
}
else{
$loader.show();
updateInfo(currentAlbum,currentPhoto);
//презагрузка большого изображения
var img_src = $next.find(&#039;img.thumb&#039;)
.attr(&#039;src&#039;)
.replace(&#039;/thumbs&#039;,&#039;&#039;),
w_w        = $(window).width(),
w_h        = $(window).height();

$(&#039;&lt;img/&gt;&#039;).load(function(){
var $this = $(this);
//запись размера, что большое изображение
//должны, когда это показано
saveFinalPositions($this);
$loader.hide();
$current.stop()
.animate({&#039;marginLeft&#039;:&#039;-&#039;+($current.width()+20)+&#039;px&#039;},500,function(){
//the current image gets removed
$(this).remove();
});
// новое изображение будет позиционироваться по центру,
// с ширина и высота 0px
$this.css({
&#039;width&#039;        : &#039;0px&#039;,
&#039;height&#039;    : &#039;0px&#039;,
&#039;marginTop&#039;    : w_h/2 +&#039;px&#039;,
&#039;marginLeft&#039;: w_w/2 +&#039;px&#039;
});
$preview.prepend($this);
var final_w    = $this.data(&#039;width&#039;),
final_h    = $this.data(&#039;height&#039;);
$this.stop().animate({
&#039;width&#039;        : final_w + &#039;px&#039;,
&#039;height&#039;    : final_h + &#039;px&#039;,
&#039;marginTop&#039;    : w_h/2 - final_h/2 + &#039;px&#039;,
&#039;marginLeft&#039;: w_w/2 - final_w/2 + &#039;px&#039;
},700);
//видем описание
$description.html($next.find(&#039;img.thumb&#039;).attr(&#039;alt&#039;));
}).attr(&#039;src&#039;,img_src);
}
});
</pre>
<p>Сейчас мы определим, что происходит, когда мы нажмите для просмотра предыдущего изображения:</p>
<pre class="brush: javascript">

$prev_img.bind(&#039;click&#039;,function(){
--currentPhoto;
//текущий альбом
var $album        = $thumbnails_wrapper.find(&#039;.tshf_container&#039;)
.eq(currentAlbum),
$prev        = $album.find(&#039;.content&#039;).eq(currentPhoto),
$current     = $preview.find(&#039;img&#039;);
if($prev.length == 0 || $current.is(&#039;:animated&#039;) || currentPhoto &lt; 0){
++currentPhoto;
return false;
}
else{
$loader.show();
updateInfo(currentAlbum,currentPhoto);
//презагрузка предедущего изображение
var img_src = $prev.find(&#039;img.thumb&#039;)
.attr(&#039;src&#039;)
.replace(&#039;/thumbs&#039;,&#039;&#039;),
w_w                = $(window).width(),
w_h                = $(window).height();

$(&#039;&lt;img/&gt;&#039;).load(function(){
var $this = $(this);
//запись размера, что большое изображение
//должны, когда это показавается
saveFinalPositions($this);

$loader.hide();
$current.stop()
.animate({&#039;marginLeft&#039;:(w_w+20)+&#039;px&#039;},500,function(){
// текущее изображение становится удалены
$(this).remove();
});
// новое изображение будет позиционироваться по центру,
// с ширина и высота 0px
$this.css({
&#039;width&#039;        : &#039;0px&#039;,
&#039;height&#039;    : &#039;0px&#039;,
&#039;marginTop&#039;    : w_h/2 +&#039;px&#039;,
&#039;marginLeft&#039;: w_w/2 +&#039;px&#039;
});
$preview.append($this);
var final_w    = $this.data(&#039;width&#039;),
final_h    = $this.data(&#039;height&#039;);
$this.stop().animate({
&#039;width&#039;        : final_w + &#039;px&#039;,
&#039;height&#039;    : final_h + &#039;px&#039;,
&#039;marginTop&#039;    : w_h/2 - final_h/2 + &#039;px&#039;,
&#039;marginLeft&#039;: w_w/2 - final_w/2 + &#039;px&#039;
},700);
//увидим описание
$description.html($prev.find(&#039;img.thumb&#039;).attr(&#039;alt&#039;));
}).attr(&#039;src&#039;,img_src);
}
});
</pre>
<p>Когда мы изменить размер окна, мы должны пересчитать размер и положение изображения:</p>
<pre class="brush: javascript">

$(window).resize(function(){
var $current = $preview.find(&#039;img&#039;),
w_w         = $(window).width(),
w_h         = $(window).height();
if($current.length &gt; 0){
saveFinalPositions($current);
var final_w    = $current.data(&#039;width&#039;),
final_h    = $current.data(&#039;height&#039;);
$current.css({
&#039;width&#039;        : final_w + &#039;px&#039;,
&#039;height&#039;    : final_h + &#039;px&#039;,
&#039;marginTop&#039;    : w_h/2 - final_h/2 + &#039;px&#039;,
&#039;marginLeft&#039;: w_w/2 - final_w/2 + &#039;px&#039;
});
}
});
</pre>
<p>Когда мы нажимаем на ссылку назад, мы хотим, чтобы закрыть предварительное изображение:</p>
<pre class="brush: javascript">

$back.bind(&#039;click&#039;,closePreview)
</pre>
<p>Функции для отображения и скрытия навигации:</p>
<pre class="brush: javascript">

// показывает, кнопки навигации
function showNav(){
$next_img.stop().animate({
&#039;right&#039;    : &#039;10px&#039;
},300);
$prev_img.stop().animate({
&#039;left&#039;    : &#039;10px&#039;
},300);
}

// скрывает кнопки навигации
function hideNav(){
$next_img.stop().animate({
&#039;right&#039;    : &#039;-50px&#039;
},300);
$prev_img.stop().animate({
&#039;left&#039;    : &#039;-50px&#039;
},300);
}
</pre>
<p>Следующая функция будет обновлять альбом/изображение информация:</p>
<pre class="brush: javascript">

// обновление текущего альбома и текущих фото инфо
function updateInfo(album,photo){
$top_menu.find(&#039;.album_info&#039;)
.html(&#039;Album &#039; + (album+1))
.end()
.find(&#039;.image_info&#039;)
.html(&#039; / Shot &#039; + (photo+1))
}
</pre>
<p>Следующая функция вычисляет окончательный ширина и высота полного изображения, которое будет показано на основе размера окна:</p>
<pre class="brush: javascript">

function saveFinalPositions($image){
var theImage     = new Image();
theImage.src     = $image.attr(&quot;src&quot;);
var imgwidth     = theImage.width;
var imgheight     = theImage.height;

// 140, 2 * 60 в следующей / предыдущей кнопки плюс 20 дополнительных полей
var containerwidth     = $(window).width() - 140;
// 150, 30 из заголовка + 30 из колонтитула + дополнительные 90
var containerheight = $(window).height() - 150;

if(imgwidth    &gt; containerwidth){
var newwidth = containerwidth;
var ratio = imgwidth / containerwidth;
var newheight = imgheight / ratio;
if(newheight &gt; containerheight){
var newnewheight = containerheight;
var newratio = newheight/containerheight;
var newnewwidth =newwidth/newratio;
theImage.width = newnewwidth;
theImage.height= newnewheight;
}
else{
theImage.width = newwidth;
theImage.height= newheight;
}
}
else if(imgheight &gt; containerheight){
var newheight = containerheight;
var ratio = imgheight / containerheight;
var newwidth = imgwidth / ratio;
if(newwidth &gt; containerwidth){
var newnewwidth = containerwidth;
var newratio = newwidth/containerwidth;
var newnewheight =newheight/newratio;
theImage.height = newnewheight;
theImage.width= newnewwidth;
}
else{
theImage.width = newwidth;
theImage.height= newheight;
}
}
$image.data({&#039;width&#039;:theImage.width,&#039;height&#039;:theImage.height});
}
</pre>
<p>Когда мы попали в обратную ссылку мы хотим текущее изображение для увеличения снова с большой желтый пузырь. Тогда мы покажем, эскизы снова:</p>
<pre class="brush: javascript">

function closePreview(){
var $current = $preview.find(&#039;img&#039;),
w_w         = $(window).width(),
w_h         = $(window).height(),
margin_circle    = w_w + w_w/3;

if(w_h&gt;w_w)
margin_circle    = w_h + w_h/3;

if($current.is(&#039;:animated&#039;))
return false;
//скрыть навигацию
hideNav();
//скрыть верхнее меню
$top_menu.stop()
.animate({&#039;top&#039;:&#039;-30px&#039;},400,&#039;easeOutBack&#039;);
//скрыть изображение
$current.stop().animate({
&#039;width&#039;        : &#039;0px&#039;,
&#039;height&#039;    : &#039;0px&#039;,
&#039;marginTop&#039;    : w_h/2 +&#039;px&#039;,
&#039;marginLeft&#039;: w_w/2 +&#039;px&#039;
},700,function(){
$(this).remove();
});
// анимации пузыря изображения
// Первый набор позиций правильно -
// это могло бы изменение размеров окна
setTimeout(function(){
$bubble.css({
&#039;width&#039;         :    margin_circle + &#039;px&#039;,
&#039;height&#039;     :    margin_circle + &#039;px&#039;,
&#039;margin-top&#039; :    -margin_circle/2+&#039;px&#039;,
&#039;margin-left&#039;:    -margin_circle/2+&#039;px&#039;
});
$(&#039;BODY&#039;).css(&#039;background&#039;,&#039;url(&quot;bg.jpg&quot;) repeat scroll left top #222222&#039;);
$bubble.animate({
&#039;width&#039;        :    &#039;0px&#039;,
&#039;height&#039;    :    &#039;0px&#039;,
&#039;marginTop&#039;    :    &#039;0px&#039;,
&#039;marginLeft&#039;:    &#039;0px&#039;
},500);
},200);
setTimeout(function(){
$header.stop()
.animate({&#039;top&#039;:&#039;30px&#039;},700,&#039;easeOutBack&#039;);
$thumbnails_wrapper.stop()
.show()
.animate({&#039;top&#039;:&#039;110px&#039;},700,&#039;easeOutBack&#039;);
},600);
}
</pre>
<p>&nbsp;</p>
<pre class="brush: javascript">

function createThumbnailScroller(){
/*
Параметры ThumbnailScroller функции:
1) идентификатор контейнер (div id)
2) типа миниатюрами скроллер. Значения: &quot;горизонтальные&quot;, &quot;вертикальная&quot;
3) первый и последний эскиз маржа (для лучшего взаимодействия курсор)
4) выделите ослабление сумму (0 при отсутствии ослабления)
5) выделите ослабления типа
6) эскизы умолчанию непрозрачности
7) эскизы наведении курсора мыши исчезают скорость (в миллисекундах)
*/
ThumbnailScroller(&quot;tshf_container1&quot;,&quot;horizontal&quot;,10,800,&quot;easeOutCirc&quot;,0.5,300);
ThumbnailScroller(&quot;tshf_container2&quot;,&quot;horizontal&quot;,10,800,&quot;easeOutCirc&quot;,0.5,300);
ThumbnailScroller(&quot;tshf_container3&quot;,&quot;horizontal&quot;,10,800,&quot;easeOutCirc&quot;,0.5,300);
}
</pre>
<p><a href="http://tympanus.net/codrops/2010/12/10/bubbleriffic-image-gallery/" target="_blank">Оригинальная</a> статья на английском.</p>
<p><a class="demo-n" href="http://tympanus.net/Tutorials/BubblerifficImageGallery/" target="_blank">Демо</a></p>
<p><a class="download-n" href="http://tympanus.net/Tutorials/BubblerifficImageGallery/BubblerifficImageGallery.zip" target="_blank">Скачать</a></p>
]]></content:encoded>
			<wfw:commentRss>http://geloni-el.ru/galereya-s-kruglymi-miniatyurami-s-pomoshhyu-jquery/2011/04/21/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MobilyMap карта Европы</title>
		<link>http://geloni-el.ru/mobilymap-karta-evropy/2011/04/21/</link>
		<comments>http://geloni-el.ru/mobilymap-karta-evropy/2011/04/21/#comments</comments>
		<pubDate>Thu, 21 Apr 2011 14:07:58 +0000</pubDate>
		<dc:creator>geLoni-eL</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[jQuery карты]]></category>
		<category><![CDATA[JQuery плагин]]></category>
		<category><![CDATA[Европа]]></category>
		<category><![CDATA[карта]]></category>

		<guid isPermaLink="false">http://geloni-el.ru/?p=748</guid>
		<description><![CDATA[MobilyMap является JQuery плагин (7 КБ) карты европы. Особенности: Можно добавить маркеры Отображения HTML-контента, когда маркер нажат Карта может быть расположена как вы предпочитаете Запоминание последней позиции Дисплей заголовок карты Кнопки для перемещения в четырех направлениях Callback функция &#160; &#60;pre id=&#34;line64&#34;&#62;$(&#039;.map&#039;).mobilymap({ position: &#039;center&#039;, // Карта позиции после загрузки - &#34;правом нижнем углу&#34;,&#34;в правом верхнем углу&#34;,&#34;верхний [...]]]></description>
			<content:encoded><![CDATA[<p>MobilyMap является JQuery плагин (7 КБ) карты европы.</p>
<p><a rel="attachment wp-att-751" href="http://geloni-el.ru/mobilymap-karta-evropy/2011/04/21/attachment/02/"><img class="alignnone size-full wp-image-751" title="02" src="http://geloni-el.ru/wp-content/uploads/021.jpg" alt="" width="500" height="279" /></a></p>
<p><strong>Особенности:</strong></p>
<ul>
<li>Можно добавить маркеры</li>
<li>Отображения HTML-контента, когда маркер нажат</li>
<li>Карта может быть расположена как вы предпочитаете</li>
<li>Запоминание последней позиции</li>
<li>Дисплей заголовок карты</li>
<li>Кнопки для перемещения в четырех направлениях</li>
<li>Callback функция</li>
</ul>
<p>&nbsp;</p>
<pre class="brush: html">
&lt;pre id=&quot;line64&quot;&gt;$(&#039;.map&#039;).mobilymap({
position: &#039;center&#039;, // Карта позиции после загрузки - &quot;правом нижнем углу&quot;,&quot;в правом верхнем углу&quot;,&quot;верхний левый&quot;,&quot;X Y&quot;, &quot;центр&quot;,,, &quot;нижний левый&quot;,
popupClass: &#039;bubble&#039;,
markerClass: &#039;point&#039;,
popup: true, // Показать всплывающий окно при нажатие  - true/false
cookies: true, // запоминать последнюю позицию карте - true/false
caption: true, // показывать подписи - true/false
setCenter: true, // sets the map view to the center on marker click
navigation: true, //Кнопки для перемещения в четырех направлениях
navSpeed: 1000, // Скорость панорамирования карты (большее значение для медленных панорамирование)
navBtnClass: &#039;navBtn&#039;,
outsideButtons: false, // селектор, только якоря например. &#039;.map_buttons a&#039;
onMarkerClick: function(){}, // функция запускающаяся после клика
onPopupClose: function(){}, // функция после закрытие скрывающего окна
onMapLoad: function(){} // функция запускающаяся загрузки карты
});&lt;/pre&gt;
</pre>
<p>HTML:</p>
<pre class="brush: html">
&lt;pre id=&quot;line91&quot;&gt;&lt;div class=&quot;map&quot;&gt;
&lt;img src=&quot;path_to_image&quot; alt=&quot;caption&quot; width=&quot;image_width&quot; height=&quot;image_height&quot; /&gt;
&lt;div class=&quot;point&quot; id=&quot;p-900-130&quot;&gt; &lt;!-- p-x-y (x is distance from left, y is distance from top) --&gt;
&lt;!-- popup content --&gt;
&lt;/div&gt;
&lt;!-- markers --&gt;
&lt;/div&gt;&lt;/pre&gt;
</pre>
<p><a class="demo-n" href="http://playground.mobily.pl/jquery/mobily-map/demo.html" target="_blank">Демо</a><br />
<a class="download-n" href="http://playground.mobily.pl/assets/files/demo/map/mobilymap.zip" target="_blank">Скачать</a></p>
]]></content:encoded>
			<wfw:commentRss>http://geloni-el.ru/mobilymap-karta-evropy/2011/04/21/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Плагин «Shutter Effect Portfolio»</title>
		<link>http://geloni-el.ru/plagin-shutter-effect-portfolio/2011/04/21/</link>
		<comments>http://geloni-el.ru/plagin-shutter-effect-portfolio/2011/04/21/#comments</comments>
		<pubDate>Thu, 21 Apr 2011 10:50:21 +0000</pubDate>
		<dc:creator>geLoni-eL</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[JQuery плагин]]></category>
		<category><![CDATA[Shutter Effect Portfolio]]></category>
		<category><![CDATA[галерея]]></category>
		<category><![CDATA[слайдер]]></category>

		<guid isPermaLink="false">http://geloni-el.ru/?p=717</guid>
		<description><![CDATA[Плагин «Shutter Effect Portfolio» для создание портфолио фотографий с эффектом затвора камеры. HTML index.html демо: &#60;!DOCTYPE html&#62; &#60;!-- Defining the document as HTML5 --&#62; &#60;html&#62; &#60;head&#62; &#60;meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=utf-8&#34; /&#62; &#60;title&#62;&#34;Shutter Effect&#34; with Canvas and jQuery &#124; Tutorialzine Demo&#60;/title&#62; &#60;link rel=&#34;stylesheet&#34; type=&#34;text/css&#34; href=&#34;assets/css/styles.css&#34; /&#62; &#60;link rel=&#34;stylesheet&#34; type=&#34;text/css&#34; href=&#34;assets/jquery.shutter/jquery.shutter.css&#34; /&#62; &#60;/head&#62; &#60;body&#62; &#60;div id=&#34;top&#34;&#62;&#60;/div&#62; &#60;div [...]]]></description>
			<content:encoded><![CDATA[<p>Плагин «Shutter Effect Portfolio» для создание портфолио фотографий с эффектом затвора камеры.</p>
<p><a rel="attachment wp-att-741" href="http://geloni-el.ru/plagin-shutter-effect-portfolio/2011/04/21/attachment/01/"><img class="alignnone size-full wp-image-741" title="01" src="http://geloni-el.ru/wp-content/uploads/01.jpg" alt="" width="388" height="323" /></a></p>
<p>HTML index.html демо:</p>
<pre class="brush: html">
&lt;!DOCTYPE html&gt; &lt;!-- Defining the document as HTML5 --&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;
&lt;title&gt;&quot;Shutter Effect&quot; with Canvas and jQuery | Tutorialzine Demo&lt;/title&gt;

&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;assets/css/styles.css&quot; /&gt;
&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;assets/jquery.shutter/jquery.shutter.css&quot; /&gt;

&lt;/head&gt;
&lt;body&gt;

&lt;div id=&quot;top&quot;&gt;&lt;/div&gt;

&lt;div id=&quot;page&quot;&gt;

&lt;h1&gt;Shutter Folio Photography&lt;/h1&gt;

&lt;div id=&quot;container&quot;&gt;
&lt;ul&gt;
&lt;li&gt;&lt;img src=&quot;assets/img/photos/1.jpg&quot; width=&quot;640&quot; height=&quot;400&quot; /&gt;&lt;/li&gt;
&lt;li&gt;&lt;img src=&quot;assets/img/photos/2.jpg&quot; width=&quot;640&quot; height=&quot;400&quot; /&gt;&lt;/li&gt;
&lt;li&gt;&lt;img src=&quot;assets/img/photos/3.jpg&quot; width=&quot;640&quot; height=&quot;400&quot; /&gt;&lt;/li&gt;
&lt;li&gt;&lt;img src=&quot;assets/img/photos/4.jpg&quot; width=&quot;640&quot; height=&quot;400&quot; /&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;assets/jquery.shutter/jquery.shutter.js&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;assets/js/script.js&quot;&gt;&lt;/script&gt;

&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>Cтили для страницы и плагин включены в головной части, и файлы сценариев как раз перед закрытием тега тела. #content DIV имеет неупорядоченный список с четырех фотографий, которые будут отображаться в виде слайд-шоу. Если браузер пользователя не поддерживает холст элемент, мы просто цикл через эти образы без отображения затвора эффект.</p>
<p>&nbsp;</p>
<p>Когда затвор плагин называется, оно порождает следующую разметку HTML. В нашем примере, мы называем его на #content DIV, поэтому ниже код прилагается к нему.</p>
<p>Генерирущий HTML:</p>
<pre class="brush: html">

&lt;div style=&quot;width: 640px; height: 400px;&quot;&gt;
&lt;div
style=&quot;height: 15000px; width: 1000px; margin-left: -500px; top: -300px;&quot;&gt;

&lt;canvas width=&quot;1000&quot; height=&quot;1000&quot;&gt;&lt;/canvas&gt;
&lt;canvas width=&quot;1000&quot; height=&quot;1000&quot;&gt;&lt;/canvas&gt;
&lt;canvas width=&quot;1000&quot; height=&quot;1000&quot;&gt;&lt;/canvas&gt;
&lt;canvas width=&quot;1000&quot; height=&quot;1000&quot;&gt;&lt;/canvas&gt;
&lt;canvas width=&quot;1000&quot; height=&quot;1000&quot;&gt;&lt;/canvas&gt;
&lt;canvas width=&quot;1000&quot; height=&quot;1000&quot;&gt;&lt;/canvas&gt;
&lt;canvas width=&quot;1000&quot; height=&quot;1000&quot;&gt;&lt;/canvas&gt;
&lt;canvas width=&quot;1000&quot; height=&quot;1000&quot;&gt;&lt;/canvas&gt;
&lt;canvas width=&quot;1000&quot; height=&quot;1000&quot;&gt;&lt;/canvas&gt;
&lt;canvas width=&quot;1000&quot; height=&quot;1000&quot;&gt;&lt;/canvas&gt;
&lt;canvas width=&quot;1000&quot; height=&quot;1000&quot;&gt;&lt;/canvas&gt;
&lt;canvas width=&quot;1000&quot; height=&quot;1000&quot;&gt;&lt;/canvas&gt;
&lt;canvas width=&quot;1000&quot; height=&quot;1000&quot;&gt;&lt;/canvas&gt;
&lt;canvas width=&quot;1000&quot; height=&quot;1000&quot;&gt;&lt;/canvas&gt;
&lt;canvas width=&quot;1000&quot; height=&quot;1000&quot;&gt;&lt;/canvas&gt;
&lt;/div&gt;
&lt;/div&gt;
</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a class="demo-n" href="http://demo.tutorialzine.com/2011/03/photography-portfolio-shutter-effect/">Демо</a></p>
<p><a class="download-n" href="http://demo.tutorialzine.com/2011/03/photography-portfolio-shutter-effect/jquery.shutter.zip">Скачать</a></p>
]]></content:encoded>
			<wfw:commentRss>http://geloni-el.ru/plagin-shutter-effect-portfolio/2011/04/21/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

