<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4925369976666012474</id><updated>2017-09-08T16:29:07.529-07:00</updated><title type='text'>Web Design Blog</title><subtitle type='html'>Блог о создании приложений на основе браузера и не только об этом&lt;br&gt;&#xa;&lt;a href=&quot;mailto:vladrusanov@gmail.com?subject=Feedback&quot;&gt;Задать вопрос автору!&lt;/a&gt;</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://j2-webdesignblog.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4925369976666012474/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://j2-webdesignblog.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Vlad Rusanov</name><uri>https://plus.google.com/104180691129673251764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-J1SrhCpd1fE/AAAAAAAAAAI/AAAAAAAACis/8JtbA_4juB4/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>14</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4925369976666012474.post-6748330533978204601</id><published>2011-12-03T23:56:00.000-08:00</published><updated>2011-12-04T20:53:51.454-08:00</updated><title type='text'>Нигма решает уравнения, но человек это делает лучше.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;a href=&quot;http://vlad-phrases.blogspot.com/2011/12/blog-post.html&quot;&gt;Фразы:&lt;/a&gt;&amp;nbsp;&quot;&lt;i&gt;-&amp;nbsp;Знаешь, что это такое?&lt;/i&gt;&lt;i&gt;&amp;nbsp;- Знаю.&amp;nbsp;&lt;/i&gt;&lt;i&gt;- Врешь. Знаешь, да не понимаешь.&quot;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;С сыном осваиваю начальную математику и частенько решаю различные уравнения, но бывают случаи когда папы нет дома и надо проверить работу самому. Вот тут я, как человек работающий с интернетом и даю ему способ проконтролировать свой ход решения - это &lt;a href=&quot;http://www.nigma.ru/&quot;&gt;Нигма Математика.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-KvT2VWGXR8M/TtsXg_k2vZI/AAAAAAAABdM/t2EzuX2ck2Q/s1600/images+%25282%2529.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-KvT2VWGXR8M/TtsXg_k2vZI/AAAAAAAABdM/t2EzuX2ck2Q/s1600/images+%25282%2529.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;Читали ли вы когда-нибудь рассказ А.П.Чехова «Репетитор»? Нет? Тогда обязательно прочтите, он очень интересный! А если читали, то давайте вспомним один интересный момент. Гимназист Егор Зиберов не одолел простую математическую задачу.&lt;br /&gt;&lt;br /&gt;&quot;Один богатый купец приобрел 138 аршин отличного качества черного сукна и синего сукна того же качества. Это ему обошлось всё в 540 рублей. Тут рождается вопрос, сколько аршин синего и черного сукна приобрел купец, если сукно синего цвета стоило 5 рублей, а черного – 3 рубля?&quot;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;Нигма арифметически эту задачу решить не может, но систему уравнений решает на ура.&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-5biTYGuYLgY/TtxOJKOLl5I/AAAAAAAABdk/Fz3MOYwLus0/s1600/63.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;515&quot; src=&quot;http://4.bp.blogspot.com/-5biTYGuYLgY/TtxOJKOLl5I/AAAAAAAABdk/Fz3MOYwLus0/s640/63.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;br /&gt;Для проверки своего решения этого естественно достаточно (что и надо ребенку), но во времена Чехова далеко не все знали уравнения и надо было решить ее арифметически. К тому же купец решил ее с помощью простых счет. Решений оказывается несколько:&lt;br /&gt;&lt;br /&gt;1) Если бы купец приобрел сукно одного типа, например синее, то он заплатил бы 138*5 = 690 руб. Образовавшаяся разность в 150 руб. получена за счет того, что черное сукно повышено в цене на 2 руб. Значит, черного сукна было 150:2 = 75 аршин, а синего было 138-75 = 63 аршина.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;2) В трёхрублёвой, и в пятирублёвой ткани 3 рубля есть. Значит, умножаем 138 на 3 = 414 - это столько заплачено по 3 рубля. Оставшиеся 540-414=126 рублей делим на 2 (5-3=2) и получаем 63. Значит, 63 синего и 138-63=75 черного.&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;3)Представляем. Я портной пришел в магазин купить сукно в руках 540 рублей нужно черное и синее и ровно 138 аршины. Представьте два больших рулона сукна их разматывают одновременно и считают каждый аршин этого комплекта 8 рублей и так мотают до 67 аршин стоимость которого составляет 536 рублей, 4 рубля сдачи, но мне то надо 138 аршин а не 134 (67 аршин с 2 рулонов) заматываем обратно один аршин на обоих рулонах:66*2=132(еще 6 аршин надо), 12 рублей сдачи (4р те самые сдачи и 8р размотанный аршин на 2 рулонах),мало купим только 4 черного, мотаем&lt;br /&gt;65*2=130 (еще 8 надо), 20 рублей сдачи, мало купим только 4 синего или 6 черного да еще останется 2р., мотаем&lt;br /&gt;64*2=128 (еще 10 надо), 28 рублей сдачи, мало купим только 9 черного и 1 р. сдачи, мотаем&lt;br /&gt;63*2=126 (еще 12 надо), 36 рублей сдачи, хватает на 12 черного&lt;br /&gt;Итого 63 синего и 63 + 12 = 75 черного.&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;4)Все значительно проще! Допустим купец купил два одинаковых куска.69*5+69*3=552, как раз 138 аршин. Получилось лишних 12р. Если менять 1 аршин по 5р. на аршин по 3р. общая&lt;br /&gt;сумма уменьшается на 2р. Меняем 6 аршын по 5р. на 6 аршин по 3р.&lt;br /&gt;и сумма уменьшится на 12р. Итого 63*5+75*3=540.&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Второе и четвертое решения самые&amp;nbsp;элегантные и понятные даже ребенку, а тем более купцу!&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Удачи!&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2-webdesignblog.blogspot.com/feeds/6748330533978204601/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://j2-webdesignblog.blogspot.com/2011/12/blog-post.html#comment-form' title='Комментарии: 1'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4925369976666012474/posts/default/6748330533978204601'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4925369976666012474/posts/default/6748330533978204601'/><link rel='alternate' type='text/html' href='http://j2-webdesignblog.blogspot.com/2011/12/blog-post.html' title='Нигма решает уравнения, но человек это делает лучше.'/><author><name>Vlad Rusanov</name><uri>https://plus.google.com/104180691129673251764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-J1SrhCpd1fE/AAAAAAAAAAI/AAAAAAAACis/8JtbA_4juB4/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-KvT2VWGXR8M/TtsXg_k2vZI/AAAAAAAABdM/t2EzuX2ck2Q/s72-c/images+%25282%2529.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4925369976666012474.post-8568135440861204231</id><published>2011-09-04T08:49:00.000-07:00</published><updated>2011-09-04T08:49:23.112-07:00</updated><title type='text'>Проверка на вирусы</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;i&gt;&lt;a href=&quot;http://vlad-phrases.blogspot.com/2011/09/blog-post.html&quot;&gt;Фразы: Ты ее не узнаешь: &lt;/a&gt;&quot;Ты не видел Кейли шесть или семь лет. Возможно, ты ее даже не узнаешь сейчас. Ты пошел дальше в своей жизни, так же как и она.&quot;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;Из-за того что сам пробовал, из-за того что часто нарывался, из-за того что боюсь и отношусь с опаской к вирусам решил написать как быстро и легко можно проверить скаченные файлы на вирусы.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-PB3kAmh4MOQ/TmOUE5nTfMI/AAAAAAAAA2I/IWgmgeBmAdM/s1600/VirusTotal-logo.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-PB3kAmh4MOQ/TmOUE5nTfMI/AAAAAAAAA2I/IWgmgeBmAdM/s1600/VirusTotal-logo.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;К тому же есть мнение, что работа с компьютером переходит в &quot;облако&quot; и в облачные вычисления.&amp;nbsp;&lt;/div&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&amp;nbsp;Многие провайдеры предоставили нам почтовые ящики, работу с документами, блоги, хранилища данных и один из них &lt;b&gt;&lt;a href=&quot;http://www.virustotal.com/&quot;&gt;Virus Total&lt;/a&gt; &lt;/b&gt;предоставляет нам проверку файлов на вирусы всеми возможными ныне антивирусами. Среди них, такие как Dr.Web, Касперский, ESET NOD32, Norton Antivirus, Panda Platinum, Microsoft (Malware Protection), Avira AntiVir, AVG Antivirus, Norman Antivirus, Ikarus, BitDefender Antivirus и другие.&amp;nbsp;Проверить можно любой файл, но он должен быть не более 20 mb.&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;1) Загружаем файл на сервер проверки&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial; font-size: 12px;&quot;&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial; font-size: 12px;&quot;&gt;&lt;strong&gt;&lt;a href=&quot;http://www.virustotal.com/&quot; style=&quot;color: black;&quot; target=&quot;_blank&quot;&gt;здесь&lt;/a&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial; font-size: 12px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-QqY3tXjchHg/TmOaxP2NuXI/AAAAAAAAA2M/I4H_LtnJCAU/s1600/1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;300&quot; src=&quot;http://4.bp.blogspot.com/-QqY3tXjchHg/TmOaxP2NuXI/AAAAAAAAA2M/I4H_LtnJCAU/s640/1.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 12px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 12px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-fmyT47qXHMw/TmOcLFkWYpI/AAAAAAAAA2Q/v7upMPD559Y/s1600/2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;299&quot; src=&quot;http://2.bp.blogspot.com/-fmyT47qXHMw/TmOcLFkWYpI/AAAAAAAAA2Q/v7upMPD559Y/s640/2.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 12px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;2) Проверка начинается автоматически после загрузки&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-bG17-wngFjQ/TmOc8akuuiI/AAAAAAAAA2U/efRtWGx06Pg/s1600/3.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;299&quot; src=&quot;http://2.bp.blogspot.com/-bG17-wngFjQ/TmOc8akuuiI/AAAAAAAAA2U/efRtWGx06Pg/s640/3.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;3) Через некоторое время смотрим результат проверки&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-oUYNb33IcH8/TmOdfwirE3I/AAAAAAAAA2Y/hMlr3vpBYm8/s1600/4.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;299&quot; src=&quot;http://2.bp.blogspot.com/-oUYNb33IcH8/TmOdfwirE3I/AAAAAAAAA2Y/hMlr3vpBYm8/s640/4.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;Больше 40 антивирусов проверили ваш файл на все возможные угрозы, хотя мой опыт говорит, что это не сильно помогает, но может быть кому-нибудь пригодится.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2-webdesignblog.blogspot.com/feeds/8568135440861204231/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://j2-webdesignblog.blogspot.com/2011/09/blog-post.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4925369976666012474/posts/default/8568135440861204231'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4925369976666012474/posts/default/8568135440861204231'/><link rel='alternate' type='text/html' href='http://j2-webdesignblog.blogspot.com/2011/09/blog-post.html' title='Проверка на вирусы'/><author><name>Vlad Rusanov</name><uri>https://plus.google.com/104180691129673251764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-J1SrhCpd1fE/AAAAAAAAAAI/AAAAAAAACis/8JtbA_4juB4/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-PB3kAmh4MOQ/TmOUE5nTfMI/AAAAAAAAA2I/IWgmgeBmAdM/s72-c/VirusTotal-logo.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4925369976666012474.post-8763713726843554859</id><published>2011-06-07T00:47:00.000-07:00</published><updated>2011-06-07T00:47:50.436-07:00</updated><title type='text'>Поиск ячеек в таблице с помощью JQuery</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;i&gt;&lt;a href=&quot;http://vlad-phrases.blogspot.com/2011/06/blog-post.html&quot;&gt;Фразы: Требования:&lt;/a&gt; &quot;Если с человека не потребовать многого, то от него и не получишь многого.&quot;&lt;/i&gt;&lt;br /&gt;&lt;div&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-bBqkWZu-yOQ/Te24LqFJ9FI/AAAAAAAAAe4/iL_qXE6mWqk/s1600/images.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;110&quot; src=&quot;http://3.bp.blogspot.com/-bBqkWZu-yOQ/Te24LqFJ9FI/AAAAAAAAAe4/iL_qXE6mWqk/s320/images.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;Самые простые задачи у программистов вызывают больше всех вопросов, а именно они по мнению разработчика должны были быть максимально понятны и прозрачны. Попытаюсь рассмотреть несколько &amp;nbsp;возможных вариантов поиска данных в произвольной HTML-таблице с помощью фреймверка JQuery.&lt;br /&gt;&lt;br /&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;div&gt;&lt;u&gt;&amp;nbsp;Например можно поступать так:&lt;/u&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;1)присваиваем тегам TD класс&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: maroon; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; white-space: pre;&quot;&gt;customerIDCell &lt;/span&gt;и далее производим поиск по всей таблице данного класса с извлечением данных.&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 14px; line-height: 18px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre class=&quot;default prettyprint&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;tag&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&amp;lt;table&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: red; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;id&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: blue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&quot;mytable&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Customer Id&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Result&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&amp;lt;tr&amp;gt;&amp;lt;td class=&quot;customerIDCell&quot;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;123&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&amp;lt;tr&amp;gt;&amp;lt;td class=&quot;customerIDCell&quot;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;456&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&amp;lt;tr&amp;gt;&amp;lt;td class=&quot;customerIDCell&quot;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;789&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&amp;lt;/table&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: maroon; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: black; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; line-height: 18px;&quot;&gt;&lt;pre class=&quot;default prettyprint&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&#39;#mytable tr&#39;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;).&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;each&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt; customerId &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt; $&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;).&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;find&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&quot;.customerIDCell&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;).&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;html&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt; &amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;}&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-size: 14px; line-height: 18px; white-space: pre;&quot;&gt;или так:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-size: 14px; line-height: 18px; white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; white-space: normal;&quot;&gt;&lt;pre class=&quot;default prettyprint&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&#39;#mytable .customerIDCell&#39;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;).&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;each&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&amp;nbsp; alert&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;).&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;html&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;());&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;});&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;code style=&quot;background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;tag&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: black; line-height: 18px; white-space: pre;&quot;&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-size: 14px; line-height: 18px; white-space: pre;&quot;&gt;2) можно без присвоения класса, а просто поиском нужной строки и колонки&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-size: 14px; line-height: 18px; white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; white-space: normal;&quot;&gt;&lt;pre class=&quot;default prettyprint&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&#39;#mytable tr&#39;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;).&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;each&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt; customerId &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt; $&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;).&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;find&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&quot;td:first&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;).&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;html&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;}&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-size: 14px; line-height: 18px; white-space: pre;&quot;&gt;или так:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-size: 14px; line-height: 18px; white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; white-space: normal;&quot;&gt;&lt;pre class=&quot;default prettyprint&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&#39;#mytable tr&#39;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;).&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;each&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt; customerId &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt; $&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;).&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;find&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&quot;td&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;).&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;eq&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;).&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;html&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;}&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-size: 14px; line-height: 18px; white-space: pre;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-size: 14px; line-height: 18px; white-space: pre;&quot;&gt;&lt;i&gt;Вооружаемся знаниями и в бой!&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2-webdesignblog.blogspot.com/feeds/8763713726843554859/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://j2-webdesignblog.blogspot.com/2011/06/jquery.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4925369976666012474/posts/default/8763713726843554859'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4925369976666012474/posts/default/8763713726843554859'/><link rel='alternate' type='text/html' href='http://j2-webdesignblog.blogspot.com/2011/06/jquery.html' title='Поиск ячеек в таблице с помощью JQuery'/><author><name>Vlad Rusanov</name><uri>https://plus.google.com/104180691129673251764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-J1SrhCpd1fE/AAAAAAAAAAI/AAAAAAAACis/8JtbA_4juB4/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-bBqkWZu-yOQ/Te24LqFJ9FI/AAAAAAAAAe4/iL_qXE6mWqk/s72-c/images.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4925369976666012474.post-6058390954857336016</id><published>2011-04-08T21:35:00.000-07:00</published><updated>2011-04-08T21:38:40.439-07:00</updated><title type='text'>Как собрать статистику и кто использует вашу программу</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;i&gt;&lt;a href=&quot;http://vlad-phrases.blogspot.com/2011/04/blog-post_08.html&quot;&gt;Фразы: Загадка:&lt;/a&gt; &quot;Возможно, вы не забыли, как хохотал префект, когда во время нашего первого разговора я высказал предположение, что эта загадка причиняет ему столько хлопот как раз из-за очевидности ее разгадки&quot;.&lt;/i&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-7Cqvio1noqs/TZ_PrluD-fI/AAAAAAAAAZY/mQHm_9EGsvs/s1600/bigstockphoto_making_statistics_1831264.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;http://3.bp.blogspot.com/-7Cqvio1noqs/TZ_PrluD-fI/AAAAAAAAAZY/mQHm_9EGsvs/s320/bigstockphoto_making_statistics_1831264.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;Большинство маркетологов и программистов мечтают создавать свои программные продукты с возможностью сбора статистической информации о пользователе. Конечно первыми в этом преуспели мегагиганты типа Google, Yandex и др. Они давным давно знают, что вы ищите в интернете, причем в последнее время этим уже занимается сам браузер, например всеми любимых Chrome. Теперь же я расскажу&amp;nbsp;вам&amp;nbsp;как отхватить кусок яблочного пирога у самого Google и как узнать кто пользуется вашей программой.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;Во всех крупных компаниях на маркетинг и продвижение товара выделяются большие бюджеты, сидят дядьки рисующие графики &quot;сколько&quot;, &quot;где&quot;, &quot;кто&quot; и &quot;зачем&quot; купил интересующий нас продукт. Все хорошо, но у нас нет такого бюджета, нет этих дядек, которые рисуют эти графики, но знать то хочется кто-нибудь использует написанную нами программу?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Так же как и у Эдгара По - ответ на этот вопрос и его реализация лежит на поверхности, ведь блог посвящен написанию программ со встроенными браузерами, а это значит что у нас есть возможность использовать все бесплатные сервисы Google, например всем известный &lt;b&gt;&lt;a href=&quot;http://www.google.com/analytics/&quot;&gt;Google Analitycs.&amp;nbsp;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;Сначала надо завести на любом бесплатном домене одностраничный сайт с любым наполнением (его читать никто не будет он нужен нам только для сбора статистики). На его главной и единственной странице надо разместить код скрипта GoogleAnalitycs, который выполнит всю работу за нас, сам все посчитает, сам нарисует графики, сам расскажет откуда и кто к нам пришел. Единственно нам надо заставить пользователя программы обратиться к нашему сайту при запуске программы.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;На основе AutoHotKey создаем программу со встроенным браузером, но не как обычно, а с дополнительным браузером. Например так:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-avazp2DPQN0/TZ_fUW3XlgI/AAAAAAAAAZo/wMB8N5zwVHI/s1600/1.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;298&quot; src=&quot;http://3.bp.blogspot.com/-avazp2DPQN0/TZ_fUW3XlgI/AAAAAAAAAZo/wMB8N5zwVHI/s400/1.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Второй браузер не привязан ни к какому окну и отображаться не будет, но он является полнофункциоанальным объектом и он будет делать переходы на статистический сервер программы и там будет скапливаться статистика типа этой:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-BHGkjgr34r0/TZ_hF7smEEI/AAAAAAAAAZw/Pj2avN2GtE0/s1600/2.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;153&quot; src=&quot;http://1.bp.blogspot.com/-BHGkjgr34r0/TZ_hF7smEEI/AAAAAAAAAZw/Pj2avN2GtE0/s320/2.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-VAlpEr9rVY4/TZ_hunHGSyI/AAAAAAAAAaA/VJVAYstoWag/s1600/3.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;148&quot; src=&quot;http://1.bp.blogspot.com/-VAlpEr9rVY4/TZ_hunHGSyI/AAAAAAAAAaA/VJVAYstoWag/s320/3.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Удачи!&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2-webdesignblog.blogspot.com/feeds/6058390954857336016/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://j2-webdesignblog.blogspot.com/2011/04/blog-post.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4925369976666012474/posts/default/6058390954857336016'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4925369976666012474/posts/default/6058390954857336016'/><link rel='alternate' type='text/html' href='http://j2-webdesignblog.blogspot.com/2011/04/blog-post.html' title='Как собрать статистику и кто использует вашу программу'/><author><name>Vlad Rusanov</name><uri>https://plus.google.com/104180691129673251764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-J1SrhCpd1fE/AAAAAAAAAAI/AAAAAAAACis/8JtbA_4juB4/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-7Cqvio1noqs/TZ_PrluD-fI/AAAAAAAAAZY/mQHm_9EGsvs/s72-c/bigstockphoto_making_statistics_1831264.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4925369976666012474.post-3813328569666769162</id><published>2011-03-23T20:16:00.000-07:00</published><updated>2011-03-24T22:43:00.218-07:00</updated><title type='text'>Создание красивых кнопок</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;i&gt;&lt;a href=&quot;http://vlad-phrases.blogspot.com/2011/03/blog-post_23.html&quot;&gt;Фразы: Картина: &lt;/a&gt;&quot;Я мечтал о том, что когда-нибудь люди станут перед моей картиной и забудут, что она написана красками. Картина проникнет им в душу, как музыка...&quot;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;Основы создания приложений на основе браузера уже все перечислены и видимо с сегодняшнего дня я начну писать короткие посты о том как вдыхается жизнь в такие программы. Вопрос: чего обычно не хватает программам? Каждый из нас имеет свое мнение, но я выскажу свое - &quot;дьявол прячется в мелочах&quot;. Именно на них основан комфорт пользователя. Чтобы вы сразу не заскучали приведу пример создания красочности своего приложения с помощью &lt;a href=&quot;http://www.dabuttonfactory.com/examples&quot;&gt;онлайн сервиса создания кнопок&lt;/a&gt;. Обычно его используют для украшений сайтов, но не забывайте. у нас в основе браузер, а в приложении используется HTML и эта технология будет работать.&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://lh5.googleusercontent.com/-pdP_qkFdKVA/TYpPCH4ODzI/AAAAAAAAATY/Afm3LrMx4SA/s1600/1.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;146&quot; src=&quot;https://lh5.googleusercontent.com/-pdP_qkFdKVA/TYpPCH4ODzI/AAAAAAAAATY/Afm3LrMx4SA/s320/1.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;В HTML есть свои стандартные кнопки, но они такие же скучные как и других программных продуктах, а здесь мы используем другой подход. Вместо кнопки надо подставить созданную картинку и прописать ей стиль для отображения например руки при наведении.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Пример будет выгледеть примерно так::&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #006699; font-family: &#39;Courier New&#39;, Courier, mono; font-size: 14px; font-weight: bold; white-space: pre;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #006699; font-family: &#39;Courier New&#39;, Courier, mono; font-size: 14px; font-weight: bold; white-space: pre;&quot;&gt;&lt;span class=&quot;keyword&quot; style=&quot;color: #006699;&quot;&gt;img&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #006699; font-family: &#39;Courier New&#39;, Courier, mono; font-size: 14px; font-weight: bold; white-space: pre;&quot;&gt;&lt;span class=&quot;attribute&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: #b61039; font-weight: normal;&quot;&gt; id=&quot;but&quot; src=&lt;span class=&quot;value&quot; style=&quot;color: #39892f; font-weight: normal;&quot;&gt;&quot;images/button.png&quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #006699; font-family: &#39;Courier New&#39;, Courier, mono; font-size: 14px; font-weight: bold; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #006699; font-family: &#39;Courier New&#39;, Courier, mono; font-size: 14px; font-weight: bold; white-space: pre;&quot;&gt;&lt;span class=&quot;attribute&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: #b61039; font-weight: normal;&quot;&gt;alt=&lt;span class=&quot;value&quot; style=&quot;color: #39892f; font-weight: normal;&quot;&gt;&quot;моя кнопка&quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #006699; font-family: &#39;Courier New&#39;, Courier, mono; font-size: 14px; font-weight: bold; white-space: pre;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #006699; font-family: &#39;Courier New&#39;, Courier, mono; font-size: 14px; font-weight: bold; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #006699; font-family: &#39;Courier New&#39;, Courier, mono;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px; white-space: pre;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; font-family: &#39;Times New Roman&#39;; font-size: small; font-weight: normal; white-space: normal;&quot;&gt;Стиль для кнопки:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #006699; font-family: &#39;Courier New&#39;, Courier, mono; font-size: 14px; font-weight: bold; white-space: pre;&quot;&gt;#img:&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-size: 14px; font-weight: bold; white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;hover&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #006699; font-family: &#39;Courier New&#39;, Courier, mono; font-size: 14px; font-weight: bold; white-space: pre;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px; white-space: pre;&quot;&gt;&lt;b&gt;cursor: pointer;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px; white-space: pre;&quot;&gt;&lt;b&gt;}&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px; white-space: pre;&quot;&gt;&lt;i&gt;Удачи в изысканиях дорогой читатель...&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2-webdesignblog.blogspot.com/feeds/3813328569666769162/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://j2-webdesignblog.blogspot.com/2011/03/blog-post.html#comment-form' title='Комментарии: 1'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4925369976666012474/posts/default/3813328569666769162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4925369976666012474/posts/default/3813328569666769162'/><link rel='alternate' type='text/html' href='http://j2-webdesignblog.blogspot.com/2011/03/blog-post.html' title='Создание красивых кнопок'/><author><name>Vlad Rusanov</name><uri>https://plus.google.com/104180691129673251764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-J1SrhCpd1fE/AAAAAAAAAAI/AAAAAAAACis/8JtbA_4juB4/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://lh5.googleusercontent.com/-pdP_qkFdKVA/TYpPCH4ODzI/AAAAAAAAATY/Afm3LrMx4SA/s72-c/1.JPG" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4925369976666012474.post-8220962733029307403</id><published>2011-02-06T02:13:00.000-08:00</published><updated>2011-03-24T22:58:14.256-07:00</updated><title type='text'>Повороты</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://vlad-phrases.blogspot.com/2011/02/blog-post_8581.html&quot;&gt;&lt;i&gt;&lt;b&gt;Фразы: Любовник Венеры:&lt;/b&gt;&lt;/i&gt;&lt;/a&gt;&lt;i&gt; Вам известно, кто был любовник Венеры?&lt;/i&gt;&lt;br /&gt;&lt;i&gt; - Их было много.&lt;/i&gt;&lt;br /&gt;&lt;i&gt; - Да, но первым был Вулкан. Не хотел ли художник сказать ей: &quot;При всей твоей красоте и надменности ты получишь в любовники кузнеца, хромого урода...&quot;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Возможно Венера была влюблена, поэтому не замечала его хромоты? (Мнение автора блога).&lt;br /&gt;По предыдущим постам вы уже знаете, что я работаю с Internet Explorer и если судить по статистике, то видно что моими программами пользуются разный контингент людей. У одних IE8, у других IE7, но есть еще 20% людей с устаревшими браузерами IE6. И все они должны отображать созданный дизайн одинаково, а это уже проблема! &lt;br /&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;Приходится проводить отладку сразу на нескольких браузерах, на компьютере установлены виртуальные машины с разными конфигурациями, но я люблю свой инструмент поэтому пытаюсь его развивать.&lt;br /&gt;&lt;br /&gt;Недавно столкнулся с маленькой задачей по вертикальному расположению текста в Internet Explorer. На вид пустяковая задача, должна по теории поддерживаться стандартами css, но не тут-то было. Пока текст был написан сверху-вниз вроде все сложилось на всех браузерах, как только понадобилось развернуть его снизу-вверх и прижать к верхнему краю, то хоть плачь - не работает. Повезло то, что недавно работал со слайдерами и случайно там подсмотрел нужное решение.&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://dl.dropbox.com/u/3467322/scrin/sample5/sample5.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;324&quot; src=&quot;http://dl.dropbox.com/u/3467322/scrin/sample5/sample5.JPG&quot; width=&quot;476&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Текст интерпретатора формирующего окно (используется AutoHotKey):&lt;br /&gt;&lt;pre style=&quot;background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f9f9f9;&quot;&gt;;директивы&lt;br /&gt;#Singleinstance force&lt;br /&gt;#Persistent&lt;br /&gt;#NoTrayIcon&lt;br /&gt;#NoEnv&lt;br /&gt;&lt;br /&gt;SetBatchLines  -1&lt;br /&gt;SetWinDelay  -1&lt;br /&gt;SetControlDelay -1&lt;br /&gt;&lt;br /&gt;;include&lt;br /&gt;#include inc\COM.ahk   ;COM-сервер&lt;br /&gt;#include inc\variable.ahk  ;переменные графического интерфейса&lt;br /&gt;&lt;br /&gt;;создаем GUI&lt;br /&gt;Gui +LastFound +default +resize&lt;br /&gt;hWnd := WinExist()&lt;br /&gt;&lt;br /&gt;;инициализируем COM-объект&lt;br /&gt;COM_Init()&lt;br /&gt;com_error(0)&lt;br /&gt;&lt;br /&gt;COM_AtlAxWinInit()&lt;br /&gt;CLSID_WebBrowser := &quot;{8856F961-340A-11D0-A96B-00C04FD705A2}&quot;&lt;br /&gt;IID_IWebBrowser2 := &quot;{D30C1661-CDAF-11D0-8A3E-00C04FC9E26E}&quot;&lt;br /&gt;pwb := COM_CreateObject(CLSID_WebBrowser, IID_IWebBrowser2)&lt;br /&gt;COM_AtlAxAttachControl(pwb, hWnd)&lt;br /&gt;&lt;br /&gt;;основное окно программы&lt;br /&gt;psink := COM_ConnectObject(pwb, &quot;Web_&quot;) &lt;br /&gt;COM_Invoke(pwb, &quot;Navigate&quot;,&quot;about:blank&quot;)&lt;br /&gt;ieDoc := COM_Invoke(pwb, &quot;document&quot;)&lt;br /&gt;COM_Invoke(ieDoc,&quot;write&quot;,var1) &lt;br /&gt;COM_Invoke(ieDoc,&quot;close&quot;)&lt;br /&gt;Gui show, x0 y0 w1000 h650  vForm, Sample5&lt;br /&gt;&lt;br /&gt;return&lt;br /&gt;&lt;br /&gt;;---------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;;Subroutine      Web_BeforeNavigate2()   ;перехватываем события&lt;br /&gt;;---------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;Web_BeforeNavigate2(prms, this) &lt;br /&gt;{ &lt;br /&gt; ;указатели&lt;br /&gt; global pwb&lt;br /&gt; static flagOneStart&lt;br /&gt; &lt;br /&gt; ;прерываем навигацию&lt;br /&gt; if flagOneStart                 &lt;br /&gt; NumPut(-1, NumGet(NumGet(prms+0)+8), 0, &quot;short&quot;)          &lt;br /&gt; else&lt;br /&gt; flagOneStart = 1&lt;br /&gt;&lt;br /&gt; ;определяем нажатую ссылку&lt;br /&gt; URL := COM_DispGetParam(prms, 1)&lt;br /&gt; &lt;br /&gt;return&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;;---------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;;Subroutine      GuiClose&lt;br /&gt;;---------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;GuiClose:&lt;br /&gt;{ &lt;br /&gt; Gui 1: destroy&lt;br /&gt; COM_Release(pwb) &lt;br /&gt; COM_Release(psink) &lt;br /&gt; COM_Term()  &lt;br /&gt; &lt;br /&gt;ExitApp&lt;br /&gt;}&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Переменные встраиваемые в окно (variable.ahk):&lt;br /&gt;&lt;pre style=&quot;background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;&quot;&gt;&lt;i style=&quot;color: black; line-height: 1.1em;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 14px;&quot;&gt;;преобразуем слеши&lt;br /&gt;stringreplace res1, A_WorkingDir, \, /,all&lt;br /&gt;res1 := &quot;file://localhost/&quot; . res1&lt;br /&gt;&lt;br /&gt;Header=&lt;br /&gt;(&lt;br /&gt;&amp;lt;div id=&quot;header-wrap&quot;&amp;gt;&lt;br /&gt;&amp;lt;div id=&quot;header&quot;&amp;gt;&lt;br /&gt;&amp;lt;div style=&quot;margin:0px; text-align: left; float: left;&quot;&amp;gt; &lt;br /&gt;&amp;lt;span style=&quot;color: #FFFFFF; font-family:&#39;Arial Black&#39;,Gadget,sans-serif; font-size: 25px; font-weight: bold; letter-spacing: -2px;&quot;&amp;gt;&amp;lt;a href=&quot;#&quot; style=&quot;color: #FFF; text-decoration: none;&quot; title=&quot;Incotex&quot;&amp;gt;Пример вертикального текста&amp;lt;/a&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt; &lt;br /&gt;)&lt;br /&gt;&lt;br /&gt;;тело документа&lt;br /&gt;var1 =&lt;br /&gt;(&lt;br /&gt; &lt;br /&gt; &amp;lt;!DOCTYPE html&quot;&amp;gt;&lt;br /&gt; &amp;lt;html oncontextmenu=&quot;return false&quot;&amp;gt;&lt;br /&gt; &amp;lt;head&amp;gt;&lt;br /&gt; &amp;lt;title&amp;gt;Mercury&amp;lt;/title&amp;gt;&lt;br /&gt; &amp;lt;META http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=windows-1251&quot;&amp;gt;&lt;br /&gt; &amp;lt;!--стили документа--&amp;gt;&lt;br /&gt; &amp;lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;%res1%/res/css/header.css&quot; /&amp;gt;&lt;br /&gt; &amp;lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;%res1%/res/css/style.css&quot; /&amp;gt; &lt;br /&gt; &amp;lt;/head&amp;gt;&lt;br /&gt; &amp;lt;body scroll=&quot;yes&quot;&amp;gt;&lt;br /&gt; %Header%&lt;br /&gt; &amp;lt;div id=&quot;main&quot;&amp;gt;&lt;br /&gt;  &amp;lt;div id=&quot;center&quot;&amp;gt;&lt;br /&gt;  &lt;br /&gt;   &amp;lt;div id=&quot;slider1&quot;&amp;gt;&lt;br /&gt;    &amp;lt;div id=&quot;hd1&quot;&amp;gt;&amp;lt;h1 class=&quot;cl_10&quot;&amp;gt;&amp;lt;nobr&amp;gt;Настройка связи&amp;lt;/nobr&amp;gt;&amp;lt;/h1&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;    &amp;lt;span class=&quot;cl_11&quot;&amp;gt;Настройка связи&amp;lt;/span&amp;gt;&lt;br /&gt;   &amp;lt;/div&amp;gt;&lt;br /&gt;   &lt;br /&gt;   &amp;lt;div id=&quot;slider4&quot;&amp;gt;&lt;br /&gt;    &amp;lt;div id=&quot;hd4&quot;&amp;gt;&amp;lt;h1 class=&quot;cl_10&quot;&amp;gt;&amp;lt;nobr&amp;gt;Список переменных&amp;lt;/nobr&amp;gt;&amp;lt;/h1&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;   &amp;lt;/div&amp;gt;&lt;br /&gt;   &lt;br /&gt;   &amp;lt;div id=&quot;slider3&quot;&amp;gt;&lt;br /&gt;    &amp;lt;div id=&quot;hd3&quot;&amp;gt;&amp;lt;h1 class=&quot;cl_10&quot;&amp;gt;&amp;lt;nobr&amp;gt;Чтение&amp;lt;/nobr&amp;gt;&amp;lt;/h1&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;   &amp;lt;/div&amp;gt;&lt;br /&gt;   &lt;br /&gt;   &amp;lt;div id=&quot;slider2&quot;&amp;gt;&lt;br /&gt;    &amp;lt;div id=&quot;hd2&quot;&amp;gt;&amp;lt;h1 class=&quot;cl_10&quot;&amp;gt;&amp;lt;nobr&amp;gt;Изменение&amp;lt;/nobr&amp;gt;&amp;lt;/h1&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;   &amp;lt;/div&amp;gt;&lt;br /&gt;  &lt;br /&gt;  &amp;lt;/div&amp;gt;&lt;br /&gt; &amp;lt;/div&amp;gt;&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &amp;lt;/body&amp;gt;&lt;br /&gt; &amp;lt;/html&amp;gt;&lt;br /&gt;)  &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; line-height: 1.1em;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Таблица стилей (style.css):&lt;br /&gt;&lt;pre style=&quot;background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;&quot;&gt;&lt;i style=&quot;color: black; line-height: 1.1em;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 14px;&quot;&gt;&lt;br /&gt;/*slider*/&lt;br /&gt;.cl_10{&lt;br /&gt; font-size: 14px;&lt;br /&gt; font-weight: bold;&lt;br /&gt; font-family: Arial, Helvetica, sans-serif;&lt;br /&gt; color: #e8ecdc;&lt;br /&gt; width:200px;&lt;br /&gt; text-align:right;&lt;br /&gt; margin-left:5px;&lt;br /&gt; margin-top:10px;&lt;br /&gt; -ms-filter: &quot;progid:DXImageTransform.Microsoft.BasicImage(rotation=3)&quot;;&lt;br /&gt;    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);&lt;br /&gt;}&lt;br /&gt;#main {&lt;br /&gt; background: url(../img/bg000000.png) repeat; &lt;br /&gt; z-index:-1;&lt;br /&gt;}&lt;br /&gt;#center {&lt;br /&gt; position:absolute; &lt;br /&gt; top:65px; &lt;br /&gt; left:20px; &lt;br /&gt; width:945px;&lt;br /&gt; height:550px; &lt;br /&gt; border:2px solid #696969;&lt;br /&gt;}&lt;br /&gt;#slider1{&lt;br /&gt; position:absolute; &lt;br /&gt; top:0px; &lt;br /&gt; left:0px; &lt;br /&gt; width:100%;&lt;br /&gt; height:100%;&lt;br /&gt; background: url(&#39;../img/slides.png&#39;) bottom left #d7d7d7;&lt;br /&gt;}&lt;br /&gt;#hd1{&lt;br /&gt; position:absolute; &lt;br /&gt; top:0px; &lt;br /&gt; left:0px; &lt;br /&gt; width:25px;&lt;br /&gt; height:100%;&lt;br /&gt; background: #000000; &lt;br /&gt; border:1px solid white;&lt;br /&gt; cursor:default;&lt;br /&gt;}&lt;br /&gt;#slider2{&lt;br /&gt; position:absolute; &lt;br /&gt; top:0px; &lt;br /&gt; width:26px;&lt;br /&gt; right:0px;&lt;br /&gt; height:100%;&lt;br /&gt; background: url(&#39;../img/slides.png&#39;) bottom left #d7d7d7;&lt;br /&gt;}&lt;br /&gt;#hd2{&lt;br /&gt; position:absolute; &lt;br /&gt; top:0px; &lt;br /&gt; left:0px; &lt;br /&gt; width:25px;&lt;br /&gt; height:100%;&lt;br /&gt; background: #000000;&lt;br /&gt; border:1px solid white;&lt;br /&gt; cursor:default;&lt;br /&gt;}&lt;br /&gt;#slider3{&lt;br /&gt; position:absolute; &lt;br /&gt; top:0px; &lt;br /&gt; width:26px;&lt;br /&gt; right:26px;&lt;br /&gt; height:100%;&lt;br /&gt; background: url(&#39;../img/slides.png&#39;) bottom left #d7d7d7;&lt;br /&gt;}&lt;br /&gt;#hd3{&lt;br /&gt; position:absolute; &lt;br /&gt; top:0px; &lt;br /&gt; left:0px; &lt;br /&gt; width:25px;&lt;br /&gt; height:100%;&lt;br /&gt; background: #000000;&lt;br /&gt; border:1px solid white;&lt;br /&gt; cursor:default;&lt;br /&gt;}&lt;br /&gt;#slider4{&lt;br /&gt; position:absolute; &lt;br /&gt; top:0px; &lt;br /&gt; width:26px;&lt;br /&gt; right:52px;&lt;br /&gt; height:100%;&lt;br /&gt; background: url(&#39;../img/slides.png&#39;) bottom left #d7d7d7;&lt;br /&gt;}&lt;br /&gt;#hd4{&lt;br /&gt; position:absolute; &lt;br /&gt; top:0px; &lt;br /&gt; left:0px; &lt;br /&gt; width:25px;&lt;br /&gt; height:100%;&lt;br /&gt; background: #000000;&lt;br /&gt; border:1px solid white;&lt;br /&gt; cursor:default;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;.cl_11{&lt;br /&gt; position:absolute; &lt;br /&gt; top:15px; &lt;br /&gt; left:40px;&lt;br /&gt; font-size:20px;&lt;br /&gt; font-weight: bold;&lt;br /&gt; font-family: Arial, Helvetica, sans-serif;&lt;br /&gt; color: #000000; &lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; line-height: 1.1em;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Решение поставленной проблемы лежит в применении класса cl_10 и используемом там фильтре.&lt;br /&gt;&lt;br /&gt;Готовый пример можно посмотреть по &lt;a href=&quot;http://dl.dropbox.com/u/3467322/scrin/sample5.zip&quot;&gt;ссылке&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px; white-space: pre;&quot;&gt;&lt;i&gt;Удачи в изысканиях дорогой читатель...&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2-webdesignblog.blogspot.com/feeds/8220962733029307403/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://j2-webdesignblog.blogspot.com/2011/02/blog-post.html#comment-form' title='Комментарии: 1'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4925369976666012474/posts/default/8220962733029307403'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4925369976666012474/posts/default/8220962733029307403'/><link rel='alternate' type='text/html' href='http://j2-webdesignblog.blogspot.com/2011/02/blog-post.html' title='Повороты'/><author><name>j2</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_2spW6I137ng/TK4MP7_EpUI/AAAAAAAAAAQ/WHVuG1AyEyw/S220/P8050281.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4925369976666012474.post-2584366846709043703</id><published>2011-01-17T10:58:00.000-08:00</published><updated>2011-03-24T22:59:03.266-07:00</updated><title type='text'>На перепутье</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://vlad-phrases.blogspot.com/2011/02/blog-post_9998.html&quot;&gt;&lt;b&gt;Фразы: Фонари:&lt;/b&gt; &lt;/a&gt;Темнеет, но фонари еще не горят, и разные нелепые мысли приходят мне в голову: &quot;Фонари не зажгутся, и я ее не узнаю... Фонари зажгутся, но она не придет... Фонари не зажгутся, и она меня не узнает...&quot;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Вы знаете что такое интуиция? Большинство людей ответят, что это чувство, которое нам подсказывает правильный ответ, когда мы сталкиваемся в жизни с выбором, но на мой взгляд это не чувство - это ЗНАНИЕ! И это знание мне говорит во всемирной паутине надо идти в ногу с живущими там пауками типа Google, Yandex, Rambler, а им в свою очередь надо чтобы на нашем компьютере был один инструмент - БРАУЗЕР. Все остальное эти сети нам динамически сгенерирут и предоставят. Именно этим путем я и хочу пойти.&lt;br /&gt;&lt;br /&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;Допустим у нас есть браузер. Через него мы каждый день просматриваем странички интернета, удивляемся красочности сайтов и изворотливости дизайнеров. Чего только он не может. Может он практически все... Может рисовать картинки, отображать и форматировать тексты, управлять таблицами, создавать графики, воспроизводить видео и флешь анимацию, обладает встроенными языками HTML, CSS, Javascript.&lt;br /&gt;&lt;br /&gt;Оптимально сделать графический интерфейс программы с помощью браузера, а функциональность поддержать с помощью любого продвинутого бесплатного языка программирования. Я открывал несколько действующих форумов по обсуждению концепции создания продвинутой программы, с красочным интерфейсом, занимающей минимальный объем, созданной с помощью бесплатной платформы, работающей на большинстве машин. Предлагались разные варианты, но максимально выполнили мои требования два варианта: Autohotkey + HTML, QT. &lt;br /&gt;&lt;br /&gt;QT - прекрасный фреймверк, с большими возможностями, но тяжеловесный и если залезть во внутрь то видно, что разработчики пошли таким же путем как и я, т.е. отделили графический интерфейс (делается с помощью HTML) от функционала. &lt;br /&gt;&lt;br /&gt;Autohotkey + HTML мне больше нравится. Значительно меньше в размерах, позваляет подключить любой фреймверк в виде Javascript-а, очень универсален + бесплатен, может задействовать для своей работы браузер установленный в операционной системе, не требует DotNet, обладает большим сообществом и отменным форумом. Но есть и недостатки. В работе приходится опираться на ActivX объекты и встроенные браузеры типа InternetExplorer, а беда в том, что версии браузеров могут поддерживать свойсва CSS по разному и необходимо проводить отладку на разных браузерах, чтобы обеспечить совместимость.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Продолжение следует....&lt;/i&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2-webdesignblog.blogspot.com/feeds/2584366846709043703/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://j2-webdesignblog.blogspot.com/2011/01/blog-post.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4925369976666012474/posts/default/2584366846709043703'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4925369976666012474/posts/default/2584366846709043703'/><link rel='alternate' type='text/html' href='http://j2-webdesignblog.blogspot.com/2011/01/blog-post.html' title='На перепутье'/><author><name>j2</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_2spW6I137ng/TK4MP7_EpUI/AAAAAAAAAAQ/WHVuG1AyEyw/S220/P8050281.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4925369976666012474.post-3679914712749325035</id><published>2010-10-23T12:14:00.000-07:00</published><updated>2011-03-24T22:59:19.990-07:00</updated><title type='text'>Грабли браузеров</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;a href=&quot;http://vlad-phrases.blogspot.com/2011/02/blog-post_2290.html&quot;&gt;&lt;i&gt;&lt;b&gt;Фразы: Далеко запрятанное:&lt;/b&gt;&lt;/i&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;i&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&quot;В вас есть что-то, из-за чего я могла бы вас полюбить, но вы это так далеко запрятали, что мне не найти...&quot;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Программисты каждый день наступают на ласково подложенные &quot;грабли&quot; наших дружественных собратьев создающих Microsoft Windows и Internet Explorer. Потираем шишки на лбу, лбы становятся &amp;nbsp;крепче, а знаний больше. По этому поводу рассмотрим очередную маленькую&amp;nbsp;проблему, возникающую в компоненте WebBrowser - отсутствие реакции на нажатие служебных клавиш (Enter, Tab, Del и т.д.)&lt;br /&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;Возникла задача написать маленький простой интерпретатор команд одного из языков программирования, т.е. мне понадобилось создать окно с текстовым полем, где вводятся команды &amp;nbsp;и кнопкой &quot;Выполнить&quot; человек создает фокус - выполняя результат своей работы.&amp;nbsp;Я начал в голове прикидывать как это можно сделать, разрабатывать алгоритм работы и задача из маленькой грозила превратиться в большую головную боль, но под руки попался JavaScript. Оказалось он эту задачу может решить буквально в одной команде.&lt;br /&gt;&lt;div&gt;&lt;br /&gt;Пишем код и сохраняем наш &lt;a href=&quot;http://dl.dropbox.com/u/3467322/scrin/sample4/sample4.html&quot;&gt;пример&lt;/a&gt; в формате html.&lt;br /&gt;&lt;br /&gt;&lt;pre style=&quot;background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f9f9f9;&quot;&gt;&amp;lt;html&amp;gt;&lt;br /&gt;&amp;lt;head&amp;gt;&lt;br /&gt;&amp;lt;title&amp;gt;Sample&amp;lt;/title&amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&amp;lt;body scroll=&quot;no&quot;&amp;gt;&lt;br /&gt;&amp;lt;h2&amp;gt;Напишите JavaScript,&amp;lt;br&amp;gt;например:&amp;lt;/h2&amp;gt;&amp;lt;h4&amp;gt;alert(&quot;Hello&quot;)&amp;lt;/h5&amp;gt;&lt;br /&gt;&amp;lt;textarea id=&quot;t&quot; style=&quot;width:300px;height:275px;margin:0;padding:0;&quot;&amp;gt;&lt;br /&gt;&amp;lt;/textarea&amp;gt;&lt;br /&gt;&amp;lt;input type=&quot;button&quot; value=&quot;Выполнить&quot; onclick=&quot;eval(document.getElementsByTagName(&#39;textarea&#39;)[0].value)&quot;/&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;http://dl.dropbox.com/u/3467322/scrin/sample4/sample4.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;223&quot; src=&quot;http://dl.dropbox.com/u/3467322/scrin/sample4/sample4.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;Запускаем, проверяем - все работает. Причем заметим, что если в строке ввода мы нажимаем ENTER, то как и положено происходит переход на новую строку. Это потому, что открывает наш HTML-документ полнофункциональный браузер (IE, Opera, Chrome и т.д.)&lt;br /&gt;&lt;br /&gt;А теперь напишем на AHK свое &lt;a href=&quot;http://dl.dropbox.com/u/3467322/scrin/sample4/sample4.exe&quot;&gt;приложение&lt;/a&gt; со встроенным объектом WebBrowser:&lt;br /&gt;&lt;br /&gt;&lt;pre style=&quot;background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 14px;&quot;&gt;;директивы&lt;br /&gt;#Singleinstance force&lt;br /&gt;#NoTrayIcon&lt;br /&gt;#NoEnv&lt;br /&gt;DetectHiddenWindows On&lt;br /&gt;&lt;br /&gt;SetBatchLines  -1&lt;br /&gt;SetWinDelay  -1&lt;br /&gt;SetControlDelay -1&lt;br /&gt;&lt;br /&gt;;include&lt;br /&gt;#include inc\COM.ahk&lt;br /&gt;&lt;br /&gt;var1 =&lt;br /&gt;(&lt;br /&gt;&amp;lt;html oncontextmenu=&quot;return false&quot;&amp;gt;&lt;br /&gt;&amp;lt;head&amp;gt;&lt;br /&gt;&amp;lt;title&amp;gt;Sample&amp;lt;/title&amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&amp;lt;body scroll=&quot;no&quot;&amp;gt;&lt;br /&gt;&amp;lt;h2&amp;gt;Напишите JavaScript,&amp;lt;br&amp;gt;например:&amp;lt;/h2&amp;gt;&amp;lt;h4&amp;gt;alert(&quot;Hello&quot;)&amp;lt;/h5&amp;gt;&lt;br /&gt;&amp;lt;textarea id=&quot;t&quot; style=&quot;width:300px;height:275px;margin:0;padding:0;&quot;&amp;gt;&lt;br /&gt;&amp;lt;/textarea&amp;gt;&lt;br /&gt;&amp;lt;input type=&quot;button&quot; value=&quot;Выполнить&quot; onclick=&quot;eval(document.getElementsByTagName(&#39;textarea&#39;)[0].value)&quot;/&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt;)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Gui +LastFound +Default +Resize&lt;br /&gt;Gui Show, x0 y0 w400 h450, sample&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;COM_AtlAxWinInit() &lt;br /&gt;pwb := COM_AtlAxGetControl(COM_AtlAxCreateContainer(WinExist(),0,0,400,450, &quot;Shell.Explorer&quot;)) &lt;br /&gt;&lt;br /&gt;COM_Invoke(pwb, &quot;Navigate&quot;,&quot;about:blank&quot;)&lt;br /&gt;ieDoc := COM_Invoke(pwb, &quot;document&quot;)&lt;br /&gt;COM_Invoke(ieDoc,&quot;write&quot;,var1)&lt;br /&gt;COM_Invoke(ieDoc,&quot;close&quot;)&lt;br /&gt;Return &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;;------------------------------------&lt;br /&gt;;Subroutine GuiClose&lt;br /&gt;;------------------------------------&lt;br /&gt;GuiClose:&lt;br /&gt;{&lt;br /&gt; Gui 1: destroy&lt;br /&gt; COM_Release(pwb) &lt;br /&gt; COM_Term() &lt;br /&gt; &lt;br /&gt;ExitApp&lt;br /&gt;}&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; line-height: 1.1em;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;http://dl.dropbox.com/u/3467322/scrin/sample4/sample4_1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;314&quot; src=&quot;http://dl.dropbox.com/u/3467322/scrin/sample4/sample4_1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;Запускаем, проверяем - все работает, но есть одно &quot;НО&quot;. WebBrowser при вводе текста не обрабатывает нажатие на кнопку ENTER, в результате слова не переносятся!!! Маразм да и только, причем всякие извороты с присвоением тегу событий &lt;i&gt;onkeypress, onkeyup, onkeydown&lt;/i&gt;&amp;nbsp;никаких результатов не дают т.к. служебные клавиши не обрабатываются в этом объекте.&lt;br /&gt;&lt;br /&gt;Приходится описать эти события в своем &lt;a href=&quot;http://dl.dropbox.com/u/3467322/scrin/sample4/sample4_2.exe&quot;&gt;новом приложении&lt;/a&gt; самому!&lt;br /&gt;&lt;br /&gt;&lt;pre style=&quot;background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 14px;&quot;&gt;;директивы&lt;br /&gt;#Singleinstance force&lt;br /&gt;#NoTrayIcon&lt;br /&gt;#NoEnv&lt;br /&gt;DetectHiddenWindows On&lt;br /&gt;&lt;br /&gt;SetBatchLines  -1&lt;br /&gt;SetWinDelay  -1&lt;br /&gt;SetControlDelay -1&lt;br /&gt;&lt;br /&gt;;include&lt;br /&gt;#include inc\COM.ahk&lt;br /&gt;&lt;br /&gt;var1 =&lt;br /&gt;(&lt;br /&gt;&amp;lt;html oncontextmenu=&quot;return false&quot;&amp;gt;&lt;br /&gt;&amp;lt;head&amp;gt;&lt;br /&gt;&amp;lt;title&amp;gt;Sample&amp;lt;/title&amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&amp;lt;body scroll=&quot;no&quot;&amp;gt;&lt;br /&gt;&amp;lt;h2&amp;gt;Напишите JavaScript,&amp;lt;br&amp;gt;например:&amp;lt;/h2&amp;gt;&amp;lt;h4&amp;gt;alert(&quot;Hello&quot;)&amp;lt;/h5&amp;gt;&lt;br /&gt;&amp;lt;textarea id=&quot;t&quot; style=&quot;width:300px;height:275px;margin:0;padding:0;&quot;&amp;gt;&lt;br /&gt;&amp;lt;/textarea&amp;gt;&lt;br /&gt;&amp;lt;input type=&quot;button&quot; value=&quot;Выполнить&quot; onclick=&quot;eval(document.getElementsByTagName(&#39;textarea&#39;)[0].value)&quot;/&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt;)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Gui +LastFound +Default +Resize&lt;br /&gt;Gui Show, x0 y0 w400 h450, sample&lt;br /&gt;&lt;br /&gt;COM_AtlAxWinInit() &lt;br /&gt;pwb := COM_AtlAxGetControl(COM_AtlAxCreateContainer(WinExist(),0,0,400,450, &quot;Shell.Explorer&quot;)) &lt;br /&gt;&lt;br /&gt;IOleInPlaceActiveObject_Interface:=&quot;{00000117-0000-0000-C000-000000000046}&quot; &lt;br /&gt;pipa := COM_QueryInterface(pwb, IOleInPlaceActiveObject_Interface) &lt;br /&gt;OnMessage(WM_KEYDOWN:=0x0100, &quot;WM_KEYDOWN&quot;) &lt;br /&gt;OnMessage(WM_KEYUP:=0x0101, &quot;WM_KEYDOWN&quot;)&lt;br /&gt;&lt;br /&gt;COM_Invoke(pwb, &quot;Navigate&quot;,&quot;about:blank&quot;)&lt;br /&gt;ieDoc := COM_Invoke(pwb, &quot;document&quot;)&lt;br /&gt;COM_Invoke(ieDoc,&quot;write&quot;,var1)&lt;br /&gt;COM_Invoke(ieDoc,&quot;close&quot;)&lt;br /&gt;Return &lt;br /&gt;&lt;br /&gt;WM_KEYDOWN(wParam, lParam, nMsg, hWnd) &lt;br /&gt;{ &lt;br /&gt;  If  (wParam = 0x09 || wParam = 0x0D || wParam = 0x2E || wParam = 0x26 || wParam = 0x28) ; tab enter delete up down &lt;br /&gt;  { &lt;br /&gt;      WinGetClass, Class, ahk_id %hWnd% &lt;br /&gt;      If  (Class = &quot;Internet Explorer_Server&quot;) &lt;br /&gt;          { &lt;br /&gt;            Global pipa &lt;br /&gt;             VarSetCapacity(Msg, 28) &lt;br /&gt;             NumPut(hWnd,Msg), NumPut(nMsg,Msg,4), NumPut(wParam,Msg,8), NumPut(lParam,Msg,12) &lt;br /&gt;             NumPut(A_EventInfo,Msg,16), NumPut(A_GuiX,Msg,20), NumPut(A_GuiY,Msg,24) &lt;br /&gt;             DllCall(NumGet(NumGet(1*pipa)+20), &quot;Uint&quot;, pipa, &quot;Uint&quot;, &amp;amp;Msg) &lt;br /&gt;             Return 0 &lt;br /&gt;          } &lt;br /&gt;  } &lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;;------------------------------------&lt;br /&gt;;Subroutine GuiClose&lt;br /&gt;;------------------------------------&lt;br /&gt;GuiClose:&lt;br /&gt;{&lt;br /&gt; Gui 1: destroy&lt;br /&gt; COM_Release(pwb) &lt;br /&gt; COM_Term() &lt;br /&gt; &lt;br /&gt;ExitApp&lt;br /&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;Запускаем. Все работает!!!&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2-webdesignblog.blogspot.com/feeds/3679914712749325035/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://j2-webdesignblog.blogspot.com/2010/10/webbrower.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4925369976666012474/posts/default/3679914712749325035'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4925369976666012474/posts/default/3679914712749325035'/><link rel='alternate' type='text/html' href='http://j2-webdesignblog.blogspot.com/2010/10/webbrower.html' title='Грабли браузеров'/><author><name>j2</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_2spW6I137ng/TK4MP7_EpUI/AAAAAAAAAAQ/WHVuG1AyEyw/S220/P8050281.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4925369976666012474.post-4557474212397878790</id><published>2010-10-18T00:13:00.000-07:00</published><updated>2011-03-24T22:59:36.944-07:00</updated><title type='text'>jQuery – это замечательный JavaScript Framework</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://vlad-phrases.blogspot.com/2011/02/blog-post_3650.html&quot;&gt;&lt;b&gt;Фразы: Кисть и палитра:&lt;/b&gt;&lt;/a&gt; &quot;Кисть, рука и палитра нужны, чтобы рисовать, но картина создается вовсе не ими...&quot;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Идти приходится непроторенным путем, даже есть мысли запатентовать технологию создания исполняемых приложений на основе браузера, но сразу возникает вопрос. Что именно патентовать? Любой инструмент используемый для создания такого приложения уже существует и причем давно, единственно не все обладают знаниями как использовать эти инструменты создавая свою программу.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;В этом посте я покажу как вдохнуть жизнь в вашу программу, а поможет нам в этом замечательный JavaScript Framework под названием jQuery.&lt;/span&gt;&lt;br /&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Он нужен для облегчения поиска элементов внутри DOM (Document Object Model), для манипулирования свойствами этих элементов, для обработки событий внутри документов, ну и для украшения наших программ. На основе jQuery создано большое количество скриптов, слайдеров, галерей, утилит, которые можно спокойно найти в сети и использовать в своем &amp;nbsp;коде.&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;Приведу &lt;a href=&quot;http://dl.dropbox.com/u/3467322/scrin/sample3.zip&quot;&gt;пример&lt;/a&gt; использования одного из слайдеров под jQuery и как его встроить себе в программу. Естественно это все происходит с помощью любимого мною &lt;a href=&quot;http://www.autohotkey.com/&quot;&gt;AutoHotKey&lt;/a&gt;.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;http://dl.dropbox.com/u/3467322/scrin/sample3.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;188&quot; src=&quot;http://dl.dropbox.com/u/3467322/scrin/sample3.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Текст интерпретатора формирующего окно:&lt;br /&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;pre style=&quot;background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f9f9f9;&quot;&gt;;директивы&lt;br /&gt;#Singleinstance force&lt;br /&gt;#NoTrayIcon&lt;br /&gt;#NoEnv&lt;br /&gt;DetectHiddenWindows On&lt;br /&gt;&lt;br /&gt;SetBatchLines  -1&lt;br /&gt;SetWinDelay  -1&lt;br /&gt;SetControlDelay -1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;;include&lt;br /&gt;#include inc\COM.ahk&lt;br /&gt;#include inc\variable.ahk&lt;br /&gt;&lt;br /&gt;Gui +LastFound +Default +Resize&lt;br /&gt;Gui Show, w900 h500 Center, sample&lt;br /&gt;  &lt;br /&gt;COM_AtlAxWinInit() &lt;br /&gt;pwb := COM_AtlAxGetControl(COM_AtlAxCreateContainer(WinExist(),0,0,900,500, &quot;Shell.Explorer&quot;)) &lt;br /&gt;COM_Invoke(pwb, &quot;Navigate2&quot;,&quot;about:blank&quot;)&lt;br /&gt;ieDoc := COM_Invoke(pwb, &quot;document&quot;)&lt;br /&gt;COM_Invoke(ieDoc,&quot;write&quot;,var1)&lt;br /&gt;COM_Invoke(ieDoc,&quot;close&quot;)     &lt;br /&gt;Return &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;;----------------------------------------&lt;br /&gt;;Subroutine  GuiClose&lt;br /&gt;;----------------------------------------&lt;br /&gt;GuiClose:&lt;br /&gt;{&lt;br /&gt; Gui 1: destroy&lt;br /&gt; COM_Release(pwb) &lt;br /&gt; COM_Term() &lt;br /&gt; &lt;br /&gt;ExitApp&lt;br /&gt;}&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/pre&gt;&lt;div&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f9f9f9; line-height: 14px; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Переменная с HTML-текстом, jQuery + Javascript, внедренная в наш документ: &lt;/span&gt;&lt;br /&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;pre style=&quot;background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f9f9f9;&quot;&gt;;преобразуем слеши&lt;br /&gt;stringreplace res1, A_WorkingDir, \, /,all&lt;br /&gt;res1 := &quot;file://localhost/&quot; . res1&lt;br /&gt;&lt;br /&gt;;javascript&lt;br /&gt;fileread java1, js/jquery-1.3.1.min.js&lt;br /&gt;&lt;br /&gt;var1 =&lt;br /&gt;(&lt;br /&gt;&amp;lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&amp;gt;&lt;br /&gt;&amp;lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&amp;gt;&lt;br /&gt;&amp;lt;head&amp;gt;&lt;br /&gt;&amp;lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&amp;gt;&lt;br /&gt;&amp;lt;title&amp;gt;Slick jQuery Slidehow: Demo&amp;lt;/title&amp;gt;&lt;br /&gt;&amp;lt;style type=&quot;text/css&quot;&amp;gt;&lt;br /&gt;&amp;lt;!--&lt;br /&gt;/** &lt;br /&gt; * Slideshow style rules.&lt;br /&gt; */&lt;br /&gt;#slideshow {&lt;br /&gt; margin:0 auto;&lt;br /&gt; width:640px;&lt;br /&gt; height:263px;&lt;br /&gt; background:transparent url(%res1%/img/bg_slideshow.jpg) no-repeat 0 0;&lt;br /&gt; position:relative;&lt;br /&gt;}&lt;br /&gt;#slideshow #slidesContainer {&lt;br /&gt;  margin:0 auto;&lt;br /&gt;  width:560px;&lt;br /&gt;  height:263px;&lt;br /&gt;  overflow:auto; /* allow scrollbar */&lt;br /&gt;  position:relative;&lt;br /&gt;}&lt;br /&gt;#slideshow #slidesContainer .slide {&lt;br /&gt;  margin:0 auto;&lt;br /&gt;  width:540px; /* reduce by 20 pixels of #slidesContainer to avoid horizontal scroll */&lt;br /&gt;  height:263px;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;/** &lt;br /&gt; * Slideshow controls style rules.&lt;br /&gt; */&lt;br /&gt;.control {&lt;br /&gt;  display:block;&lt;br /&gt;  width:39px;&lt;br /&gt;  height:263px;&lt;br /&gt;  text-indent:-10000px;&lt;br /&gt;  position:absolute;&lt;br /&gt;  cursor: pointer;&lt;br /&gt;}&lt;br /&gt;#leftControl {&lt;br /&gt;  top:0;&lt;br /&gt;  left:0;&lt;br /&gt;  background:transparent url(%res1%/img/control_left.jpg) no-repeat 0 0;&lt;br /&gt;}&lt;br /&gt;#rightControl {&lt;br /&gt;  top:0;&lt;br /&gt;  right:0;&lt;br /&gt;  background:transparent url(%res1%/img/control_right.jpg) no-repeat 0 0;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;/** &lt;br /&gt; * Style rules for Demo page&lt;br /&gt; */&lt;br /&gt;* {&lt;br /&gt;  margin:0;&lt;br /&gt;  padding:0;&lt;br /&gt;  font:normal 11px Verdana, Geneva, sans-serif;&lt;br /&gt;  color:#ccc;&lt;br /&gt;}&lt;br /&gt;a {&lt;br /&gt;  color: #fff;&lt;br /&gt;  font-weight:bold;&lt;br /&gt;  text-decoration:none;&lt;br /&gt;}&lt;br /&gt;a:hover {&lt;br /&gt;  text-decoration:underline;&lt;br /&gt;}&lt;br /&gt;body {&lt;br /&gt;  background:#393737 url(%res1%/img/bg_body.jpg) repeat-x top left;&lt;br /&gt;}&lt;br /&gt;#pageContainer {&lt;br /&gt;  margin:0 auto;&lt;br /&gt;  width:960px;&lt;br /&gt;}&lt;br /&gt;#pageContainer h1 {&lt;br /&gt;  display:block;&lt;br /&gt;  width:960px;&lt;br /&gt;  height:114px;&lt;br /&gt;  background:transparent url(%res1%/img/bg_pagecontainer_h1.jpg) no-repeat top left;&lt;br /&gt;  text-indent: -10000px;&lt;br /&gt;}&lt;br /&gt;.slide h2, .slide p {&lt;br /&gt;  margin:15px;&lt;br /&gt;}&lt;br /&gt;.slide h2 {&lt;br /&gt;  font:italic 24px Georgia, &quot;Times New Roman&quot;, Times, serif;&lt;br /&gt;  color:#ccc;&lt;br /&gt;  letter-spacing:-1px;&lt;br /&gt;}&lt;br /&gt;.slide img {&lt;br /&gt;  float:right;&lt;br /&gt;  margin:0 15px;&lt;br /&gt;}&lt;br /&gt;#footer {&lt;br /&gt;  height:100px;&lt;br /&gt;}&lt;br /&gt;#footer p {&lt;br /&gt;  margin:30px auto 0 auto;&lt;br /&gt;  display:block;&lt;br /&gt;  width:560px;&lt;br /&gt;  height:40px;&lt;br /&gt;}&lt;br /&gt;--&amp;gt;&lt;br /&gt;&amp;lt;/style&amp;gt;&lt;br /&gt;&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;%java1%&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;&lt;br /&gt;$(document).ready(function(){&lt;br /&gt;  var currentPosition = 0;&lt;br /&gt;  var slideWidth = 560;&lt;br /&gt;  var slides = $(&#39;.slide&#39;);&lt;br /&gt;  var numberOfSlides = slides.length;&lt;br /&gt;&lt;br /&gt;  // Remove scrollbar in JS&lt;br /&gt;  $(&#39;#slidesContainer&#39;).css(&#39;overflow&#39;, &#39;hidden&#39;);&lt;br /&gt;&lt;br /&gt;  // Wrap all .slides with #slideInner div&lt;br /&gt;  slides&lt;br /&gt;    .wrapAll(&#39;&amp;lt;div id=&quot;slideInner&quot;&amp;gt;&amp;lt;/div&amp;gt;&#39;)&lt;br /&gt;    // Float left to display horizontally, readjust .slides width&lt;br /&gt; .css({&lt;br /&gt;      &#39;float&#39; : &#39;left&#39;,&lt;br /&gt;      &#39;width&#39; : slideWidth&lt;br /&gt;    });&lt;br /&gt;&lt;br /&gt;  // Set #slideInner width equal to total width of all slides&lt;br /&gt;  $(&#39;#slideInner&#39;).css(&#39;width&#39;, slideWidth * numberOfSlides);&lt;br /&gt;&lt;br /&gt;  // Insert controls in the DOM&lt;br /&gt;  $(&#39;#slideshow&#39;)&lt;br /&gt;    .prepend(&#39;&amp;lt;span class=&quot;control&quot; id=&quot;leftControl&quot;&amp;gt;Clicking moves left&amp;lt;/span&amp;gt;&#39;)&lt;br /&gt;    .append(&#39;&amp;lt;span class=&quot;control&quot; id=&quot;rightControl&quot;&amp;gt;Clicking moves right&amp;lt;/span&amp;gt;&#39;);&lt;br /&gt;&lt;br /&gt;  // Hide left arrow control on first load&lt;br /&gt;  manageControls(currentPosition);&lt;br /&gt;&lt;br /&gt;  // Create event listeners for .controls clicks&lt;br /&gt;  $(&#39;.control&#39;)&lt;br /&gt;    .bind(&#39;click&#39;, function(){&lt;br /&gt;    // Determine new position&lt;br /&gt; currentPosition = ($(this).attr(&#39;id&#39;)==&#39;rightControl&#39;) ? currentPosition+1 : currentPosition-1;&lt;br /&gt;    &lt;br /&gt; // Hide / show controls&lt;br /&gt;    manageControls(currentPosition);&lt;br /&gt;    // Move slideInner using margin-left&lt;br /&gt;    $(&#39;#slideInner&#39;).animate({&lt;br /&gt;      &#39;marginLeft&#39; : slideWidth*(-currentPosition)&lt;br /&gt;    });&lt;br /&gt;  });&lt;br /&gt;&lt;br /&gt;  // manageControls: Hides and Shows controls depending on currentPosition&lt;br /&gt;  function manageControls(position){&lt;br /&gt;    // Hide left arrow if position is first slide&lt;br /&gt; if(position==0){ $(&#39;#leftControl&#39;).hide() } else{ $(&#39;#leftControl&#39;).show() }&lt;br /&gt; // Hide right arrow if position is last slide&lt;br /&gt;    if(position==numberOfSlides-1){ $(&#39;#rightControl&#39;).hide() } else{ $(&#39;#rightControl&#39;).show() }&lt;br /&gt;  } &lt;br /&gt;});&lt;br /&gt;&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;br /&gt;&amp;lt;div id=&quot;pageContainer&quot;&amp;gt;&lt;br /&gt;  &amp;lt;h1&amp;gt;&amp;lt;a href=&quot;http://sixrevisions.com/tutorials/javascript_tutorial/create-a-slick-and-accessible-slideshow-using-jquery/&quot;&amp;gt;Slick Slideshow using jQuery&amp;lt;/a&amp;gt;&amp;lt;/h1&amp;gt;&lt;br /&gt;  &amp;lt;!-- Slideshow HTML --&amp;gt;&lt;br /&gt;  &amp;lt;div id=&quot;slideshow&quot;&amp;gt;&lt;br /&gt;    &amp;lt;div id=&quot;slidesContainer&quot;&amp;gt;&lt;br /&gt;      &amp;lt;div class=&quot;slide&quot;&amp;gt;&lt;br /&gt;        &amp;lt;h2&amp;gt;Web Development Tutorial&amp;lt;/h2&amp;gt;&lt;br /&gt;        &amp;lt;p&amp;gt;&amp;lt;a href=&quot;http://sixrevisions.com/tutorials/web-development-tutorials/using-xampp-for-local-wordpress-theme-development/&quot;&amp;gt;&amp;lt;img src=&quot;%res1%/img/img_slide_01.jpg&quot; alt=&quot;An image that says Install X A M P P for wordpress.&quot; width=&quot;215&quot; height=&quot;145&quot; /&amp;gt;&amp;lt;/a&amp;gt;If you&#39;re into developing web apps, you should check out the tutorial called &quot;&amp;lt;a href=&quot;http://sixrevisions.com/tutorials/web-development-tutorials/using-xampp-for-local-wordpress-theme-development/&quot;&amp;gt;Using XAMPP for Local WordPress Theme Development&amp;lt;/a&amp;gt;&quot; which shows you how to set up a local testing server for developing PHP/Perl based applications locally on your computer. The example also shows you how to set up WordPress locally!&amp;lt;/p&amp;gt;&lt;br /&gt;      &amp;lt;/div&amp;gt;&lt;br /&gt;      &amp;lt;div class=&quot;slide&quot;&amp;gt;&lt;br /&gt;        &amp;lt;h2&amp;gt;Grunge Brushes, Anyone?&amp;lt;/h2&amp;gt;&lt;br /&gt;        &amp;lt;p&amp;gt;&amp;lt;a href=&quot;http://sixrevisions.com/freebies/brushes/sr-grunge-free-high-resolution-photoshop-grunge-brushes/&quot;&amp;gt;&amp;lt;img src=&quot;%res1%/img/img_slide_02.jpg&quot; width=&quot;215&quot; height=&quot;145&quot; alt=&quot;A thumbnail image that says S R grunge photoshop brushes 6 high resolution grunge brushes by six revisions.&quot; /&amp;gt;&amp;lt;/a&amp;gt;In this layout, I used &amp;lt;a href=&quot;http://sixrevisions.com/freebies/brushes/sr-grunge-free-high-resolution-photoshop-grunge-brushes/&quot;&amp;gt;SR Grunge&amp;lt;/a&amp;gt;, which is a free set of high-resolution Photoshop brushes you can download here on Six Revisions.&amp;lt;/p&amp;gt;&lt;br /&gt;        &amp;lt;p&amp;gt; &lt;br /&gt;      &amp;lt;/div&amp;gt;&lt;br /&gt;      &amp;lt;div class=&quot;slide&quot;&amp;gt;&lt;br /&gt;        &amp;lt;h2&amp;gt;How About Some Awesome Grunge Textures?&amp;lt;/h2&amp;gt;&lt;br /&gt;        &amp;lt;p&amp;gt;&amp;lt;a href=&quot;http://sixrevisions.com/freebies/textures/grunge-extreme-15-high-resolution-grunge-textures/&quot;&amp;gt;&amp;lt;img src=&quot;%res1%/img/img_slide_03.jpg&quot; width=&quot;215&quot; height=&quot;145&quot; alt=&quot;A thumbnail image that says grunge extreme 15 free high resolution grunge textures six revisions.&quot; /&amp;gt;&amp;lt;/a&amp;gt;The texture used in this web page is from the Grunge Extreme Textures freebie set by JC Parmley released here on Six Revisions.&amp;lt;/p&amp;gt;&lt;br /&gt;        &amp;lt;p&amp;gt;You can head over to the &amp;lt;a href=&quot;http://sixrevisions.com/freebies/textures/grunge-extreme-15-high-resolution-grunge-textures/&quot;&amp;gt;Grunge Extreme&amp;lt;/a&amp;gt; page to download the texture set or check out Six Revisions&#39; &amp;lt;a href=&quot;http://sixrevisions.com/category/freebies/&quot;&amp;gt;freebie section&amp;lt;/a&amp;gt; for even more goodies!&amp;lt;/p&amp;gt;&lt;br /&gt;      &amp;lt;/div&amp;gt;&lt;br /&gt;      &amp;lt;div class=&quot;slide&quot;&amp;gt;&lt;br /&gt;        &amp;lt;h2&amp;gt;&#39;Tis the End, My Friend.&amp;lt;/h2&amp;gt;&lt;br /&gt;        &amp;lt;p&amp;gt;&amp;lt;a href=&quot;http://sixrevisions.com/tutorials/photoshop-tutorials/how-to-create-a-slick-and-clean-button-in-photoshop/&quot;&amp;gt;&amp;lt;img src=&quot;%res1%/img/img_slide_04.jpg&quot; width=&quot;215&quot; height=&quot;145&quot; alt=&quot;Thumbnail image that says sleek button using photoshop that links to a Photoshop tutoril.&quot; /&amp;gt;&amp;lt;/a&amp;gt;This is the last slide. Hit the left arrow control to go back to the other slides.&amp;lt;/p&amp;gt;&lt;br /&gt;        &amp;lt;p&amp;gt;Alternatively, you may want to check out the tutorial on how to create a simple and cool button in Photoshop called &amp;amp;quot;&amp;lt;a href=&quot;http://sixrevisions.com/tutorials/photoshop-tutorials/how-to-create-a-slick-and-clean-button-in-photoshop/&quot;&amp;gt;How to Create a Slick and Clean Button in Photoshop&amp;lt;/a&amp;gt;&amp;amp;quot; which was inspired by the &amp;lt;a href=&quot;http://www.campaignmonitor.com/designer/?utm_source=sixrevisions&amp;amp;amp;utm_medium=banner&amp;amp;amp;utm_term=2&amp;amp;amp;utm_content=0003&amp;amp;amp;utm_campaign=Apr09Banners&quot;&amp;gt;Campaign Monitor&amp;lt;/a&amp;gt; web interface.&amp;lt;/p&amp;gt;&lt;br /&gt;      &amp;lt;/div&amp;gt;&lt;br /&gt;    &amp;lt;/div&amp;gt;&lt;br /&gt;  &amp;lt;/div&amp;gt;&lt;br /&gt;  &amp;lt;!-- Slideshow HTML --&amp;gt;&lt;br /&gt;  &amp;lt;div id=&quot;footer&quot;&amp;gt;&lt;br /&gt;    &amp;lt;p&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;Create a Slick and Accessible Slideshow Using  jQuery by Jacob Gube&amp;lt;/a&amp;gt; (&amp;lt;a href=&quot;http://sixrevisions.com/&quot;&amp;gt;Six Revisions&amp;lt;/a&amp;gt;)&amp;lt;/p&amp;gt;&lt;br /&gt;  &amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt;&lt;br /&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/pre&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;и таким образом можно легко использовать любой скрипт, найденный вами в сети, а под jQuery &amp;nbsp;сейчас написано столько, что искать долго не придется.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Дальше будем копаться в перехвате событий из браузера...&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2-webdesignblog.blogspot.com/feeds/4557474212397878790/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://j2-webdesignblog.blogspot.com/2010/10/jquery-javascript-framework.html#comment-form' title='Комментарии: 2'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4925369976666012474/posts/default/4557474212397878790'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4925369976666012474/posts/default/4557474212397878790'/><link rel='alternate' type='text/html' href='http://j2-webdesignblog.blogspot.com/2010/10/jquery-javascript-framework.html' title='jQuery – это замечательный JavaScript Framework'/><author><name>j2</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_2spW6I137ng/TK4MP7_EpUI/AAAAAAAAAAQ/WHVuG1AyEyw/S220/P8050281.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4925369976666012474.post-7958321753057344095</id><published>2010-10-16T11:04:00.000-07:00</published><updated>2011-03-24T22:59:52.733-07:00</updated><title type='text'>Каскадные таблицы стилей</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&quot;На вкус и цвет все фломастеры разные...&quot;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Неизвестный в сети&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;Как художник смотрит на краски, так и я перебираю и ищу средства для реализации своих задумок. Почему сайты в Интернете такие красочные? Почему в разных браузерах они выглядят одинаково? Почему нет задачи которую не может решить дизайнер? Потому что кроме листа бумаги (документа HTML) есть еще кисти и краски (CSS + JavaScript).&lt;br /&gt;&lt;br /&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;b&gt;CSS&lt;/b&gt;&amp;nbsp;(&lt;i&gt;&lt;span lang=&quot;en&quot; xml:lang=&quot;en&quot;&gt;Cascading Style Sheets&lt;/span&gt;&lt;/i&gt;&amp;nbsp;—&amp;nbsp;&lt;b&gt;каскадные таблицы стилей&lt;/b&gt;)&amp;nbsp;— технология описания внешнего вида документа.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&amp;nbsp;В основном&amp;nbsp;используется создателями&amp;nbsp;веб-страниц&amp;nbsp;для задания&amp;nbsp;цветов,&amp;nbsp;шрифтов и расположения элементов на странице.&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Можно по разному задавать таблицы стилей, но в основном используют три способа:&lt;br /&gt;1) с помощью внешнего файла &lt;b&gt;.css&lt;/b&gt;, на который делается ссылка в документе;&lt;br /&gt;2) с помощью встроенных стилей - блоков CSS внутри самого HTML документа;&lt;br /&gt;3) с помощью&lt;b&gt; inline&lt;/b&gt; стилей, когда в HTML-документе информация о стиле помещается в атрибуте&lt;b&gt; style&lt;/b&gt; самого элемента.&lt;br /&gt;&lt;br /&gt;Именно из-за того, что в HTML-документе есть таблицы стилей он и привлек мое внимание для создания приложений на основе браузера. После того как посмотришь какая существенная разница между приложениями с HTML-интерфейсом и приложениями со стандартным интерфейсом сразу хочется заняться украшательствами. Любой человек каждый день гуляя по просторам Интернета видит необычные эффекты, дизайны, шаблоны, портфолио и все это лежит в свободном доступе - это и есть то, чего не хватает нам программистам. Так давайте же возьмем этот невероятно большой конструктор Интернет и выберем нужные нам кубики, либо слепим их сами.&lt;br /&gt;&lt;br /&gt;Приведу &lt;a href=&quot;http://dl.dropbox.com/u/3467322/scrin/sample2.zip&quot;&gt;пример&lt;/a&gt; являющийся прототипом &lt;b&gt;IPReader&lt;/b&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;http://dl.dropbox.com/u/3467322/scrin/sample2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;http://dl.dropbox.com/u/3467322/scrin/sample2.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;стили оформлены в файле &lt;b&gt;variable.ahk&lt;/b&gt;&amp;nbsp;в виде переменной&lt;br /&gt;&lt;br /&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;pre style=&quot;background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&amp;lt;style type=&quot;text/css&quot;&amp;gt;  &lt;br /&gt;  &amp;lt;!--&lt;br /&gt;  .style3 {&lt;br /&gt;   color:#000000; &lt;br /&gt;   font-size:14px; &lt;br /&gt;   font-weight: bold;&lt;br /&gt;  }&lt;br /&gt;  .style4 {&lt;br /&gt;   color:#FF6600; &lt;br /&gt;   font-size:14px; &lt;br /&gt;   font-weight: bold;&lt;br /&gt;  }&lt;br /&gt;  .style5 {&lt;br /&gt;   font-size: 13px;&lt;br /&gt;   letter-spacing: 2px;&lt;br /&gt;   color: #00aa00;   &lt;br /&gt;  }&lt;br /&gt;  .style8 {&lt;br /&gt;   color: #003399;&lt;br /&gt;  }&lt;br /&gt;  .style9 {&lt;br /&gt;   color: #FF6600; &lt;br /&gt;   font-size: 14px;&lt;br /&gt;  }&lt;br /&gt;  .style10 {&lt;br /&gt;   color: #FFFF00;&lt;br /&gt;  }&lt;br /&gt;  body {&lt;br /&gt;   margin:0px;&lt;br /&gt;   background: #d3d3d3;&lt;br /&gt;  }&lt;br /&gt;  #header {&lt;br /&gt;   position: absolute;&lt;br /&gt;   top: -2px;&lt;br /&gt;   left: 0px;&lt;br /&gt;   width: 100`%;&lt;br /&gt;   height: 105px;&lt;br /&gt;   background: transparent url( &quot;%res1%/res/headerBg.png&quot; ) repeat-x scroll 0;&lt;br /&gt;   z-index: 0;&lt;br /&gt;  }&lt;br /&gt;  #header .img_brend {&lt;br /&gt;   position: absolute;&lt;br /&gt;   top: 10px;&lt;br /&gt;   left: 10px;&lt;br /&gt;   z-index: 10;&lt;br /&gt;  }&lt;br /&gt;  #header .txt1_header {&lt;br /&gt;   position: absolute;&lt;br /&gt;   top: 20px;&lt;br /&gt;   left: 155px;&lt;br /&gt;   font-size: 26px;&lt;br /&gt;   color: #ffba00;&lt;br /&gt;   z-index: 10;&lt;br /&gt;  }&lt;br /&gt;  #header .txt2_header {&lt;br /&gt;   position: absolute;&lt;br /&gt;   left: 282px;&lt;br /&gt;   top: 30px;&lt;br /&gt;   font-size: 13px;&lt;br /&gt;   letter-spacing: 2px;&lt;br /&gt;   color: #e6e8ea; &lt;br /&gt;   z-index: 10;&lt;br /&gt;  }&lt;br /&gt;  #header .txt3_header {&lt;br /&gt;   position: absolute;&lt;br /&gt;   left: 290px;&lt;br /&gt;   top: 50px;&lt;br /&gt;   font-size: 13px;&lt;br /&gt;   letter-spacing: 2px;&lt;br /&gt;   color: #e6e8ea; &lt;br /&gt;   z-index: 10;&lt;br /&gt;  }&lt;br /&gt;  #lava {&lt;br /&gt;            position: absolute;&lt;br /&gt;   left: 540px; &lt;br /&gt;   top: 15px;&lt;br /&gt;            height: 29px;&lt;br /&gt;            width: 500px;&lt;br /&gt;            background: url(&quot;%res1%/res/lavalampa/bg1.gif&quot;) no-repeat top;&lt;br /&gt;   padding: 15px;&lt;br /&gt;            overflow: hidden;&lt;br /&gt;   z-index: 10;&lt;br /&gt;        }&lt;br /&gt;        #lava li {&lt;br /&gt;   float: left;&lt;br /&gt;   list-style: none;&lt;br /&gt;   position: relative;&lt;br /&gt;   left: 50px;&lt;br /&gt;   z-index: 10;&lt;br /&gt;  }&lt;br /&gt;  #lava li.back {&lt;br /&gt;   background: url(&quot;%res1%/res/lavalampa/lava.gif&quot;) no-repeat right -30px;&lt;br /&gt;   width: 9px; height: 30px;&lt;br /&gt;   z-index: 8;&lt;br /&gt;   position: absolute;&lt;br /&gt;   top: 13px;&lt;br /&gt;  }&lt;br /&gt;  #lava li.back .left {&lt;br /&gt;   background: url(&quot;%res1%/res/lavalampa/lava.gif&quot;) no-repeat top left;&lt;br /&gt;   height: 30px;&lt;br /&gt;   margin-right: 9px; /* 7px is the width of the rounded shape */&lt;br /&gt;  }&lt;br /&gt;  #lava li a {&lt;br /&gt;   font: bold 14px arial;&lt;br /&gt;   text-decoration: none;&lt;br /&gt;   color: #fff;&lt;br /&gt;   outline: none;&lt;br /&gt;   text-align: center;&lt;br /&gt;   top: 4px;&lt;br /&gt;   text-transform: uppercase;&lt;br /&gt;   letter-spacing: 0;&lt;br /&gt;   z-index: 10;&lt;br /&gt;   display: block;&lt;br /&gt;   float: left;&lt;br /&gt;   height: 30px;&lt;br /&gt;   position: relative;&lt;br /&gt;   overflow: hidden;&lt;br /&gt;   padding-left: 10px;   &lt;br /&gt;   padding-right: 10px;   &lt;br /&gt;   margin: auto;   &lt;br /&gt;  }&lt;br /&gt;  #lava li a:hover, #lava li a:active, #lava li a:visited {&lt;br /&gt;   border: none;&lt;br /&gt;  }&lt;br /&gt;  .simple_overlay { &lt;br /&gt;   display:none; &lt;br /&gt;   z-index:10; &lt;br /&gt;   background-image:url(%res1%/res/tools/white000.gif); &lt;br /&gt;   width:500px;     &lt;br /&gt;   height:400px; &lt;br /&gt;   &lt;br /&gt;  }    &lt;br /&gt;  .simple_overlay .close { &lt;br /&gt;   background-image:url(%res1%/res/tools/close.gif); &lt;br /&gt;   position:absolute; &lt;br /&gt;   right:-5px; &lt;br /&gt;   top:10px; &lt;br /&gt;   cursor:pointer; &lt;br /&gt;   height:35px; &lt;br /&gt;   width:35px; &lt;br /&gt;   &lt;br /&gt;  } &lt;br /&gt;  .details { &lt;br /&gt;   position:absolute; &lt;br /&gt;   top:35px; &lt;br /&gt;   left:35px;&lt;br /&gt;   width:100`%;   &lt;br /&gt;  }&lt;br /&gt;  .details h1 { &lt;br /&gt;   color:#696969; &lt;br /&gt;   font-size:24px;    &lt;br /&gt;  }&lt;br /&gt;  .details .line { &lt;br /&gt;   background:#696969;&lt;br /&gt;   position:absolute; &lt;br /&gt;   top:30px; &lt;br /&gt;   left:0px; &lt;br /&gt;   width:440px;&lt;br /&gt;   height:3px;&lt;br /&gt;   font-size:1px;&lt;br /&gt;  }  &lt;br /&gt;  #content_IP {&lt;br /&gt;   position:absolute; &lt;br /&gt;   top:160px; &lt;br /&gt;   left:275px; &lt;br /&gt;   background:#f6f6f6;&lt;br /&gt;   padding:20px;&lt;br /&gt;  }&lt;br /&gt;  #content_reklama {&lt;br /&gt;   position:absolute; &lt;br /&gt;   top:160px; &lt;br /&gt;   left:30px; &lt;br /&gt;   bottom:10px;&lt;br /&gt;   width:175px;&lt;br /&gt;   background:#f6f6f6;&lt;br /&gt;   padding:20px;&lt;br /&gt;   z-index:0;&lt;br /&gt;  }&lt;br /&gt;  #content_reklama .link1 {&lt;br /&gt;   position:absolute; &lt;br /&gt;   right:10px; &lt;br /&gt;   bottom:10px;&lt;br /&gt;   color:#336;&lt;br /&gt;   z-index:10;   &lt;br /&gt;  }&lt;br /&gt;  #News_div {&lt;br /&gt;   position:absolute; &lt;br /&gt;   left:480px;&lt;br /&gt;   top:20px;&lt;br /&gt;   width:100px;&lt;br /&gt;   height:15px;&lt;br /&gt;   z-index:1000; &lt;br /&gt;   background: #FFE4B5;&lt;br /&gt;   color:#555;&lt;br /&gt;   font-size: 12px;&lt;br /&gt;   font-weight: normal;&lt;br /&gt;   letter-spacing: 0.1em;&lt;br /&gt;   margin-left: 5px;&lt;br /&gt;   text-align:left;&lt;br /&gt;   padding:.5em;&lt;br /&gt;   border:1px solid #fff;     &lt;br /&gt;   visibility:hidden;   &lt;br /&gt;  }&lt;br /&gt;  --&amp;gt;&lt;br /&gt;  &amp;lt;/style&amp;gt;&lt;/span&gt;&lt;/i&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;чтобы увидеть еще один секрет необходимо запустить пример - это один из JavaScript-фреймверков, но об этом в следующий раз...&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;br /&gt;&lt;div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2-webdesignblog.blogspot.com/feeds/7958321753057344095/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://j2-webdesignblog.blogspot.com/2010/10/blog-post_16.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4925369976666012474/posts/default/7958321753057344095'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4925369976666012474/posts/default/7958321753057344095'/><link rel='alternate' type='text/html' href='http://j2-webdesignblog.blogspot.com/2010/10/blog-post_16.html' title='Каскадные таблицы стилей'/><author><name>j2</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_2spW6I137ng/TK4MP7_EpUI/AAAAAAAAAAQ/WHVuG1AyEyw/S220/P8050281.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4925369976666012474.post-1562764108354445302</id><published>2010-10-12T05:42:00.000-07:00</published><updated>2011-03-24T23:00:15.748-07:00</updated><title type='text'>Управляемая HTML-страница</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;i&gt;&lt;b&gt;&lt;a href=&quot;http://vlad-phrases.blogspot.com/2011/02/blog-post_17.html?spref=bl&quot;&gt;Фразы: Дочь снегов&lt;/a&gt;:&lt;/b&gt;&amp;nbsp;&quot;Это произошло моментально. Волна света и красок, молекулярная вибрация и интеграция, еле заметное, но тем не менее вполне определенное сокращение некоторых мозговых извилин – и изображение было готово!&quot;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;В предыдущем посте мы получили окно с браузером внутри. Сам по себе браузер ничего не дает, кроме возможности гулять по сети Интернет, но мы в большей степени заинтересованы в управлении элементами загруженной у нас страницы.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;Концепция такова:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal; font-weight: normal;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;1. Необходимо сгенерировать страницу HTML с элементами управления (она же будет окном нашей программы);&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;2. Хочется загрузить эту страницу в наш браузер, скомпилировать и получить рабочую программу.&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;i&gt;Это для начала, потом будет сложнее и сложнее...&lt;/i&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Начнем по порядку. Сгенерим простую&amp;nbsp;&lt;a href=&quot;ttp://dl.dropbox.com/u/3467322/scrin/sample/sample.html&quot;&gt;страницу&lt;/a&gt;&amp;nbsp;с HTML кодом.&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;pre style=&quot;background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&amp;lt;html&amp;gt;&lt;br /&gt;&amp;lt;head&amp;gt;&lt;br /&gt;&amp;lt;title&amp;gt;Sample&amp;lt;/title&amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;br /&gt;&amp;lt;p&amp;gt;Нажмите на &amp;lt;a href=&quot;javascript:alert(&#39;Сейчас все данные на вашем винчестере будут уничтожены. Хотите проверить?&#39;);alert(&#39;Это всего лишь безобидная шутка!&#39;)&quot;&amp;gt;ссылку&amp;lt;/a&amp;gt; и будет результат.&amp;lt;/p&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/i&gt;&lt;/pre&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;display: inline !important; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;Можно сохранить этот текст в файле с расширением&amp;nbsp;&lt;b&gt;html&amp;nbsp;&lt;/b&gt;и попробовать запустить. По умолчанию в системе эту страницу откроет браузер и попытается выполнить, но тоже самое может сделать и наш исполняемый файл загрузив эту страницу внутрь встроенного окна браузера.&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;/div&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;Приведу&amp;nbsp;&lt;a href=&quot;http://dl.dropbox.com/u/3467322/scrin/sample.zip&quot;&gt;пример&lt;/a&gt;&amp;nbsp;реализации с помощью AutoHotKey.&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;pre style=&quot;background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;;директивы&lt;br /&gt;#Singleinstance force&lt;br /&gt;#NoTrayIcon&lt;br /&gt;#NoEnv&lt;br /&gt;DetectHiddenWindows On&lt;br /&gt;&lt;br /&gt;SetBatchLines  -1&lt;br /&gt;SetWinDelay  -1&lt;br /&gt;SetControlDelay -1&lt;br /&gt;&lt;br /&gt;;include&lt;br /&gt;#include inc\COM.ahk&lt;br /&gt;&lt;br /&gt;Gui +LastFound +Default +Resize&lt;br /&gt;Gui Show, w500 h300 Center, sample&lt;br /&gt;  &lt;br /&gt;COM_AtlAxWinInit() &lt;br /&gt;pwb := COM_AtlAxGetControl(COM_AtlAxCreateContainer(WinExist(),0,0,500,300, &quot;Shell.Explorer&quot;)) &lt;br /&gt;COM_Invoke(pwb, &quot;Navigate2&quot;, A_WorkingDir . &quot;/sample.html&quot;) &lt;br /&gt;     &lt;br /&gt;Return &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;;-------------------------------------------&lt;br /&gt;;Subroutine GuiClose&lt;br /&gt;;-------------------------------------------&lt;br /&gt;GuiClose:&lt;br /&gt;{&lt;br /&gt; Gui 1: destroy&lt;br /&gt; COM_Release(pwb) &lt;br /&gt; COM_Term() &lt;br /&gt; &lt;br /&gt;ExitApp&lt;br /&gt;}&lt;/span&gt;&lt;/i&gt;&lt;/pre&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&lt;a href=&quot;http://dl.dropbox.com/u/3467322/scrin/sample/sample.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;i&gt;&lt;img border=&quot;0&quot; height=&quot;209&quot; src=&quot;http://dl.dropbox.com/u/3467322/scrin/sample/sample.JPG&quot; style=&quot;cursor: move;&quot; width=&quot;320&quot; /&gt;&lt;/i&gt;&lt;/a&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;В итоге мы получили исполняемый файл с открытой HTML-страницей&amp;nbsp;в окне встроенного браузера.&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&lt;i&gt;Продолжение следует...&lt;/i&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2-webdesignblog.blogspot.com/feeds/1562764108354445302/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://j2-webdesignblog.blogspot.com/2010/10/blog-post_12.html#comment-form' title='Комментарии: 2'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4925369976666012474/posts/default/1562764108354445302'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4925369976666012474/posts/default/1562764108354445302'/><link rel='alternate' type='text/html' href='http://j2-webdesignblog.blogspot.com/2010/10/blog-post_12.html' title='Управляемая HTML-страница'/><author><name>j2</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_2spW6I137ng/TK4MP7_EpUI/AAAAAAAAAAQ/WHVuG1AyEyw/S220/P8050281.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4925369976666012474.post-3195683453123647041</id><published>2010-10-07T22:54:00.000-07:00</published><updated>2011-03-24T23:00:31.135-07:00</updated><title type='text'>Упаковка Javascript и HTML в exe-файл</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://vlad-phrases.blogspot.com/2011/02/blog-post_6699.html&quot;&gt;&lt;b&gt;Фразы: Cчастье: &lt;/b&gt;&lt;/a&gt;&quot;Счастья. Для всех. Даром. И пусть никто не уйдет обиженным...&quot;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Много ли вы найдете ссылок в Интернете по теме как упаковать HTML и Javascript в exe-файл. Думаю что не много, а если и увидите, то далеко не сразу поймете как, а ответ по настоящему лежим на поверхности. В предыдущих двух постах &lt;a href=&quot;http://j2-webdesignblog.blogspot.com/2010/10/internet-explorer-webbrowser.html&quot;&gt;Internet Explorer и WebBrowser&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;http://j2-webdesignblog.blogspot.com/2010/10/blog-post.html&quot;&gt;Web-интерфейс&lt;/a&gt;&amp;nbsp;&amp;nbsp;начато описание этой технологии.&amp;nbsp;Так для чего же&amp;nbsp;придумывался HTML и для чего он нам&amp;nbsp;нужен?&lt;br /&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;b&gt;HTML&lt;/b&gt;&amp;nbsp;(от&amp;nbsp;&lt;a href=&quot;http://ru.wikipedia.org/wiki/%D0%90%D0%BD%D0%B3%D0%BB%D0%B8%D0%B9%D1%81%D0%BA%D0%B8%D0%B9_%D1%8F%D0%B7%D1%8B%D0%BA&quot; style=&quot;background-clip: initial; background-image: none; background-origin: initial; color: #0645ad; text-decoration: none;&quot; title=&quot;Английский язык&quot;&gt;англ.&lt;/a&gt;&amp;nbsp;&lt;i&gt;&lt;span lang=&quot;en&quot; xml:lang=&quot;en&quot;&gt;HyperText Markup Language&lt;/span&gt;&lt;/i&gt;&amp;nbsp;— «язык разметки&amp;nbsp;&lt;a href=&quot;http://ru.wikipedia.org/wiki/%D0%93%D0%B8%D0%BF%D0%B5%D1%80%D1%82%D0%B5%D0%BA%D1%81%D1%82&quot; style=&quot;background-clip: initial; background-image: none; background-origin: initial; color: #0645ad; text-decoration: none;&quot; title=&quot;Гипертекст&quot;&gt;гипертекста&lt;/a&gt;»)&amp;nbsp;— стандартный&amp;nbsp;&lt;a href=&quot;http://ru.wikipedia.org/wiki/%D0%AF%D0%B7%D1%8B%D0%BA_%D1%80%D0%B0%D0%B7%D0%BC%D0%B5%D1%82%D0%BA%D0%B8&quot; style=&quot;background-clip: initial; background-image: none; background-origin: initial; color: #0645ad; text-decoration: none;&quot; title=&quot;Язык разметки&quot;&gt;язык разметки&lt;/a&gt;&amp;nbsp;документов во&amp;nbsp;&lt;a href=&quot;http://ru.wikipedia.org/wiki/%D0%92%D1%81%D0%B5%D0%BC%D0%B8%D1%80%D0%BD%D0%B0%D1%8F_%D0%BF%D0%B0%D1%83%D1%82%D0%B8%D0%BD%D0%B0&quot; style=&quot;background-clip: initial; background-image: none; background-origin: initial; color: #0645ad; text-decoration: underline;&quot; title=&quot;Всемирная паутина&quot;&gt;Всемирной паутине&lt;/a&gt;.&amp;nbsp;Язык HTML интерпретируется&amp;nbsp;&lt;a href=&quot;http://ru.wikipedia.org/wiki/%D0%91%D1%80%D0%B0%D1%83%D0%B7%D0%B5%D1%80&quot; style=&quot;background-clip: initial; background-image: none; background-origin: initial; color: #0645ad; text-decoration: none;&quot; title=&quot;Браузер&quot;&gt;браузером&lt;/a&gt;&amp;nbsp;и отображается в виде документа, в удобной для человека форме.&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: sans-serif; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px; line-height: 19px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 19px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;Т.е. для удобства отображения нужен браузер и нужно окно в которое мы встраиваем этот браузер. Причем не важно на каком языке вы будете писать свою программу.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 19px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 19px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Internet Explorer&lt;/b&gt; по умолчанию встроен в операционную систему, который в свою очередь&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: normal;&quot;&gt;включает два ActiveX-объекта: &lt;b&gt;WebBrowser Object&lt;/b&gt; и &lt;b&gt;InternetExplorer Object&lt;/b&gt;.&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: normal;&quot;&gt;Функциональность WebBrowser меньше по сравнению с функциональностью InternetExplorer. Упрощенно говоря, WebBrowser — это собственно окно просмотра документа в браузере, а InternetExplorer — это весь браузер, включая меню, панели инструментов, строку состояния и прочее. Я пробовал внедрять оба, большой разницы не заметил.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Теперь насчет зачем нужен приложению exe-файл:&lt;br /&gt;1) Чтобы работать с операционной системой в полном объеме, включая файловую систему, реестр, порты ввода-вывода и т.д.&lt;br /&gt;2) Чтобы скрыть от пользователя дизайн и код своего приложения.&lt;br /&gt;&lt;br /&gt;Начнем.&amp;nbsp;Создаем простое окно и встраиваем в него браузер. Я для этой цели обычно пользуюсь миниатюрным скриптовым языком - &lt;a href=&quot;http://www.autohotkey.com/&quot;&gt;Autohotkey&lt;/a&gt;, большой респект его создателям.Очень удобный язык, море всего под него написано, есть компиляторы помощь, форумы и самое главное совершенно бесплатный. Для начала утанавливаем &lt;a href=&quot;http://www.autohotkey.com/download/AutoHotkeyInstall.exe&quot;&gt;Autohotkey&lt;/a&gt;,&amp;nbsp;скачиваем например одну из библиотек управления &lt;a href=&quot;http://www.autohotkey.net/~anonymous/COM/Wrappers/IEControl.ahk&quot;&gt;IEControl.ahk&amp;nbsp;&lt;/a&gt;&amp;nbsp;и создаем простое окно с браузером.&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre style=&quot;background-color: #f9f9f9; border-bottom: rgb(47,111,171) 1px dashed; border-left: rgb(47,111,171) 1px dashed; border-right: rgb(47,111,171) 1px dashed; border-top: rgb(47,111,171) 1px dashed; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;&quot;&gt;#Include IEControl.ahk&lt;br /&gt;#SingleInstance force&lt;br /&gt;&lt;br /&gt;GoSub, GuiStart&lt;br /&gt;&lt;br /&gt;Gui, +LastFound +Resize&lt;br /&gt;Gui, Show, w800 h600 Center, WebBrowser&lt;br /&gt;hWnd&amp;nbsp;:= WinExist()&lt;br /&gt;&lt;br /&gt;CLSID_WebBrowser&amp;nbsp;:= &quot;{8856F961-340A-11D0-A96B-00C04FD705A2}&quot;&lt;br /&gt;IID_IWebBrowser2&amp;nbsp;:= &quot;{D30C1661-CDAF-11D0-8A3E-00C04FC9E26E}&quot;&lt;br /&gt;pwb&amp;nbsp;:= CreateObject(CLSID_WebBrowser, IID_IWebBrowser2)&lt;br /&gt;&lt;br /&gt;AtlAxAttachControl(pwb, hWnd)&lt;br /&gt;&lt;br /&gt;IE_LoadURL(pwb, &quot;http://www.autohotkey.com/&quot;)&lt;br /&gt;Sleep 5000&lt;br /&gt;IE_LoadURL(pwb, &quot;http://www.autohotkey.com/forum/&quot;)&lt;br /&gt;Sleep 5000&lt;br /&gt;IE_GoBack(pwb)&lt;br /&gt;Sleep 3000&lt;br /&gt;IE_GoForward(pwb)&lt;br /&gt;Return&lt;br /&gt;&lt;br /&gt;GuiStart:&lt;br /&gt;AtlAxWinInit()&lt;br /&gt;CoInitialize()&lt;br /&gt;Return&lt;br /&gt;&lt;br /&gt;GuiClose:&lt;br /&gt;Gui,&amp;nbsp;%A_Gui%:Destroy&lt;br /&gt;Release(pwb)&lt;br /&gt;CoUninitialize()&lt;br /&gt;AtlAxWinTerm()&lt;br /&gt;ExitApp &lt;/pre&gt;&lt;br /&gt;Ну вот уже кое что получилось. Теперь просто компилируем и получаем exe-файл.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Продолжение следует.&lt;/i&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: sans-serif; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px; line-height: 19px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: medium; line-height: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2-webdesignblog.blogspot.com/feeds/3195683453123647041/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://j2-webdesignblog.blogspot.com/2010/10/javascript-html-exe.html#comment-form' title='Комментарии: 3'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4925369976666012474/posts/default/3195683453123647041'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4925369976666012474/posts/default/3195683453123647041'/><link rel='alternate' type='text/html' href='http://j2-webdesignblog.blogspot.com/2010/10/javascript-html-exe.html' title='Упаковка Javascript и HTML в exe-файл'/><author><name>j2</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_2spW6I137ng/TK4MP7_EpUI/AAAAAAAAAAQ/WHVuG1AyEyw/S220/P8050281.JPG'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4925369976666012474.post-6309622448824747196</id><published>2010-10-07T05:50:00.000-07:00</published><updated>2011-03-24T23:00:45.330-07:00</updated><title type='text'>Internet Explorer и WebBrowser</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://vlad-phrases.blogspot.com/2011/02/blog-post_19.html&quot;&gt;&lt;b&gt;Фразы: Другие силы:&lt;/b&gt;&lt;/a&gt; &quot;Но в нем действовали и другие силы, главной из которых был рост. Инстинкт и закон требовали от него повиновения, а рост требовал неповиновения...&quot;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;Начало было положено чуть раньше, когда я узнал что существует такой компонент как WebBrowser, который можно встроить в свое окно программы. Начав его исследовать стало понятно, что можно создавать мультимедийные интернет приложения имеющие как локальный так и Web-интерфейсы, т.е. например можно реализовать встроенное окно со списком выпущенных релизов или новостей программы, причем совершенно не переживая и не заморачиваясь над технологией доставки новостей. Они будут у пользователя автоматически, браузер самостоятельно обеспечит засветку этой страницы. &lt;br /&gt;&lt;br /&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Тут стоит задуматься. Происходит смешение двух видов интерфейсов в одном окне. Если интерфейс построен по единой технологии, то не приходится сильно задумываться над работоспособностью окна при его расширении или манипуляциях с внутренними элементами, но как только вы начали соединять воедино две разнотипные технологии сразу появляются проблемы их совместимости в одном окне.&lt;br /&gt;&lt;br /&gt;Для примера приведу маленький пример созданный на первых порах экспериментирования. Это&amp;nbsp;&lt;a href=&quot;http://dl.dropbox.com/u/3467322/RSS/J2Browser/J2Browser.zip&quot;&gt;J2Browser&lt;/a&gt;&amp;nbsp;- маленький браузер для доступа к почтовому серверу&amp;nbsp;&lt;b&gt;mail.ru &lt;/b&gt;без навязчивой рекламы. Сразу оговорюсь, что сейчас эту программу можно рассматривать только как пример совмещения двух независимых интерфейсов (основная ее функция - доступ к почте из дерева после изменений на сервере mail.ru перестала работать), но браузер продолжает функционировать.&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;http://dl.dropbox.com/u/3467322/RSS/J2Browser/j2browser.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;191&quot; src=&quot;http://dl.dropbox.com/u/3467322/RSS/J2Browser/j2browser.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Кнопки, меню, вкладки, дерево объектов - созданы с помощью обычных WinApi-команд (Autohotkey), а рядом с правой стороны в окно программы внедрен полнофункциональный браузер (WebBrowser), способный гулять по интернету. Заметьте пока никаких платных продуктов не пользуется. &amp;nbsp;Ну а если немного углубится в эту тему, ведь получается, что можно весь интерфейс программы реализовать внутри окна браузера, как это делает Google, ведь данная технология по принципу более прогрессивна чем все остальное. Она имеет прямой выход в интернет и под нее написано море реализаций дизайнов, javascript-ов и все они бесплатны. Правда заманчиво.&lt;br /&gt;&lt;br /&gt;Остается маленькая сложность как все это загнать (HTML, Javascript, работу с файловой системой, COM-порты) в формат exe-шника и получить локальную программу.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Продолжение следует....&lt;/i&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2-webdesignblog.blogspot.com/feeds/6309622448824747196/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://j2-webdesignblog.blogspot.com/2010/10/internet-explorer-webbrowser.html#comment-form' title='Комментарии: 1'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4925369976666012474/posts/default/6309622448824747196'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4925369976666012474/posts/default/6309622448824747196'/><link rel='alternate' type='text/html' href='http://j2-webdesignblog.blogspot.com/2010/10/internet-explorer-webbrowser.html' title='Internet Explorer и WebBrowser'/><author><name>j2</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_2spW6I137ng/TK4MP7_EpUI/AAAAAAAAAAQ/WHVuG1AyEyw/S220/P8050281.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4925369976666012474.post-6826105197757740126</id><published>2010-10-05T05:27:00.000-07:00</published><updated>2011-03-24T23:01:03.429-07:00</updated><title type='text'>Web-интерфейс</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&quot;Доброта требует доказательств, красота их не требует..&quot;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;b&gt;&lt;i&gt;Вольтер&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;По воле случая последний год занимаюсь программированием, хотя вроде и не проффессионально, но некоторая тенденция в этом есть. Так получается, что для работы требовалось написание ПО для тестирования протоколов связи создаваемых у нас приборов. Сначала для этой цели были выбраны глобальные конструктороы, типа Delphi, но через некоторое время началась борьба с пиратсвом и пришлось искать что-либо бесплатное, миниатюрное и не глючное. Выбор пал на скриптовые языки.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;Написали первые пробы таких тестовых программ, но чего-то не хватало интерфейс получался рубленный топором со стандартными кнопками и элементами, не хватало некоторой изюминки и тогда я задумался как написаны такие программы, как например Антивирус Касперского. На первый взгляд было очень похоже, что на экране HTML и я решил попробовать реализовать похожую концепцию. Создал Web - интерфейс, но оказалось, что он не может самостоятельно работать например с COM-портом, пришлось придумать ему обертку, научится перхватывать события из этого интерфейса и вроде все заработало.&lt;br /&gt;&lt;br /&gt;Сейчас уже создано два полностью рабочих продукта и ведется работа еще над несколькими.&lt;br /&gt;1) &lt;b&gt;&lt;a href=&quot;http://incotex-counter.blogspot.com/2011/02/blog-post_16.html&quot;&gt;Универсальный конфигуратор счетчиков Меркурий&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;http://dl.dropbox.com/u/3467322/RSS/Konfigurator/3.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;206&quot; src=&quot;http://dl.dropbox.com/u/3467322/RSS/Konfigurator/3.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Программа созданная по заказу крупного промышленного холдинга Инкотекс для конфигурирования и управления счетчиками Меркурий.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;2)&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;a href=&quot;http://dl.dropbox.com/u/3467322/RSS/IPReader/ipreader.zip&quot;&gt;&lt;b&gt;IPReader (360 Кб)&lt;/b&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;http://dl.dropbox.com/u/3467322/RSS/IPReader/IPReader.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;204&quot; src=&quot;http://dl.dropbox.com/u/3467322/RSS/IPReader/IPReader.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Вроде ничего оригинального кроме встроенного меню Lava Lampa с возможностью динамического &amp;nbsp;затенения окружающего фона.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;3)&lt;b&gt; Incotex Utilities&lt;/b&gt; (в работе)&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;http://dl.dropbox.com/u/3467322/RSS/Utilities/Utilities.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;203&quot; src=&quot;http://dl.dropbox.com/u/3467322/RSS/Utilities/Utilities.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Программа, которая в будущем должна объединить в себе набор утилит для работы с электросчетчиками Меркурий.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;4) &lt;b&gt;Task Group&lt;/b&gt; (в работе)&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;http://dl.dropbox.com/u/3467322/RSS/Utilities/TaskGroup.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;209&quot; src=&quot;http://dl.dropbox.com/u/3467322/RSS/Utilities/TaskGroup.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;Создание задач группового программирования электросчетчиков, мониторинг и автоматизация систем энергоучета.&lt;br /&gt;&lt;br /&gt;После полугода работы над этими проектами могу с уверенностью заявить, что использовать HTML для создания интерфейса программ можно и это несомненно удобно и красиво.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j2-webdesignblog.blogspot.com/feeds/6826105197757740126/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://j2-webdesignblog.blogspot.com/2010/10/blog-post.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4925369976666012474/posts/default/6826105197757740126'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4925369976666012474/posts/default/6826105197757740126'/><link rel='alternate' type='text/html' href='http://j2-webdesignblog.blogspot.com/2010/10/blog-post.html' title='Web-интерфейс'/><author><name>j2</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_2spW6I137ng/TK4MP7_EpUI/AAAAAAAAAAQ/WHVuG1AyEyw/S220/P8050281.JPG'/></author><thr:total>0</thr:total></entry></feed>