<?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-6069357603139822014</id><updated>2024-09-21T20:59:40.787-07:00</updated><category term="eea"/><category term="plone"/><category term="JavaScript"/><category term="annotator"/><category term="datascience"/><category term="datavisualization"/><category term="dataviz"/><category term="daviz"/><category term="debian"/><category term="exhibit"/><category term="googlecharts"/><category term="how-to"/><category term="inline comments"/><category term="jQuery"/><category term="linux"/><category term="plugins"/><category term="python"/><category term="python2.4"/><category term="sparql"/><category term="squeeze"/><category term="ubuntu"/><category term="with-zlib"/><category term="zope"/><title type='text'>Alin Voinea</title><subtitle type='html'>Romanian Docker, Python, Zope, Plone consultant and developer</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://avoinea.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6069357603139822014/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://avoinea.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10201257540113538532</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6069357603139822014.post-663707906314113852</id><published>2014-02-21T08:11:00.004-08:00</published><updated>2014-03-06T02:42:39.513-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="annotator"/><category scheme="http://www.blogger.com/atom/ns#" term="eea"/><category scheme="http://www.blogger.com/atom/ns#" term="how-to"/><category scheme="http://www.blogger.com/atom/ns#" term="inline comments"/><category scheme="http://www.blogger.com/atom/ns#" term="plone"/><category scheme="http://www.blogger.com/atom/ns#" term="zope"/><title type='text'>EEA Annotator - Inline comments for Plone</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;background-color: white; color: #404040; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;EEA Annotator is the Plone integration of&amp;nbsp;&lt;/span&gt;&lt;a class=&quot;reference external&quot; href=&quot;http://okfnlabs.org/annotator/&quot; style=&quot;background-color: white; border: 0px; color: #0e84b5; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px; margin: 0px; padding: 0px; text-decoration: none;&quot;&gt;http://okfnlabs.org/annotator/&lt;/a&gt;&lt;span style=&quot;background-color: white; color: #404040; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&amp;nbsp;which allows your editors to easily collaborate on a Plone document by adding annotations (inline comments) on it.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #404040; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Verdana, Geneva, &#39;Bitstream Vera Sans&#39;, Helvetica, sans-serif; font-size: 15px; line-height: 21px;&quot;&gt;Today we release version 2.0 and bellow you can find a quick demo of this package.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Verdana, Geneva, &#39;Bitstream Vera Sans&#39;, Helvetica, sans-serif; font-size: 15px; line-height: 21px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;580&#39; height=&#39;320&#39; src=&#39;https://www.youtube.com/embed/UExygLRqjkc?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Verdana, Geneva, &#39;Bitstream Vera Sans&#39;, Helvetica, sans-serif; font-size: 15px; line-height: 21px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Verdana, Geneva, &#39;Bitstream Vera Sans&#39;, Helvetica, sans-serif; font-size: 15px; line-height: 21px;&quot;&gt;Find more details on&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://pypi.python.org/pypi/eea.annotator&quot; style=&quot;-webkit-transition: color 0.3s; background-color: white; color: #009eb8; display: inline; font-family: Arial, Verdana, Geneva, &#39;Bitstream Vera Sans&#39;, Helvetica, sans-serif; font-size: 15px; line-height: 21px; outline: none; text-decoration: none; transition: color 0.3s;&quot; target=&quot;_blank&quot;&gt;PyPi&lt;/a&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Verdana, Geneva, &#39;Bitstream Vera Sans&#39;, Helvetica, sans-serif; font-size: 15px; line-height: 21px;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://plone.org/products/eea.annotator&quot; style=&quot;-webkit-transition: color 0.3s; background-color: white; color: #009eb8; display: inline; font-family: Arial, Verdana, Geneva, &#39;Bitstream Vera Sans&#39;, Helvetica, sans-serif; font-size: 15px; line-height: 21px; outline: none; text-decoration: none; transition: color 0.3s;&quot; target=&quot;_blank&quot;&gt;Plone.org&lt;/a&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Verdana, Geneva, &#39;Bitstream Vera Sans&#39;, Helvetica, sans-serif; font-size: 15px; line-height: 21px;&quot;&gt;&amp;nbsp;or&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://eea.github.io/docs/eea.annotator/&quot; style=&quot;-webkit-transition: color 0.3s; background-color: white; color: #009eb8; display: inline; font-family: Arial, Verdana, Geneva, &#39;Bitstream Vera Sans&#39;, Helvetica, sans-serif; font-size: 15px; line-height: 21px; outline: none; text-decoration: none; transition: color 0.3s;&quot; target=&quot;_blank&quot;&gt;EEA on GitHub&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://avoinea.blogspot.com/feeds/663707906314113852/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6069357603139822014/663707906314113852' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6069357603139822014/posts/default/663707906314113852'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6069357603139822014/posts/default/663707906314113852'/><link rel='alternate' type='text/html' href='http://avoinea.blogspot.com/2014/02/eea-annotator-inline-comments-for-plone.html' title='EEA Annotator - Inline comments for Plone'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10201257540113538532</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6069357603139822014.post-2623536837640604445</id><published>2014-02-07T05:05:00.000-08:00</published><updated>2016-09-22T02:28:08.332-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="datascience"/><category scheme="http://www.blogger.com/atom/ns#" term="datavisualization"/><category scheme="http://www.blogger.com/atom/ns#" term="dataviz"/><category scheme="http://www.blogger.com/atom/ns#" term="daviz"/><category scheme="http://www.blogger.com/atom/ns#" term="eea"/><category scheme="http://www.blogger.com/atom/ns#" term="exhibit"/><category scheme="http://www.blogger.com/atom/ns#" term="googlecharts"/><category scheme="http://www.blogger.com/atom/ns#" term="plone"/><category scheme="http://www.blogger.com/atom/ns#" term="sparql"/><title type='text'>EEA Daviz (Plone add-on)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div&gt;
&lt;b&gt;EEA Daviz&lt;/b&gt; is a web tool which helps creating interactive data visualizations easily through the web browser, no extra tools are necessary. It is free and open source.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
These days we managed to put together a series of screen-casts and publish them on &lt;b&gt;EEA Web Systems Training&#39;s&lt;/b&gt;&amp;nbsp;YouTube channel.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
They are organized in two main section &lt;b&gt;for basic users&lt;/b&gt; and &lt;b&gt;advanced ones.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&quot;&quot; class=&quot;YOUTUBE-iframe-video&quot; data-thumbnail-src=&quot;https://i.ytimg.com/vi/CYEAAAdyWII/0.jpg&quot; frameborder=&quot;0&quot; height=&quot;266&quot; src=&quot;https://www.youtube.com/embed/CYEAAAdyWII?feature=player_embedded&quot; width=&quot;320&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://avoinea.blogspot.com/feeds/2623536837640604445/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6069357603139822014/2623536837640604445' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6069357603139822014/posts/default/2623536837640604445'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6069357603139822014/posts/default/2623536837640604445'/><link rel='alternate' type='text/html' href='http://avoinea.blogspot.com/2014/02/eea-daviz-plone-add-on.html' title='EEA Daviz (Plone add-on)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10201257540113538532</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/CYEAAAdyWII/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6069357603139822014.post-396895885043287392</id><published>2013-11-22T09:42:00.001-08:00</published><updated>2013-11-22T09:42:37.875-08:00</updated><title type='text'>EEA Progress Bar (Plone Add-on)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
EEA Progress Bar is a&lt;span style=&quot;background-color: white; font-family: Arial, Verdana, Geneva, &#39;Bitstream Vera Sans&#39;, Helvetica, sans-serif; font-size: 15px; line-height: 21px;&quot;&gt;&amp;nbsp;Plone add-on that visually display a&amp;nbsp;&lt;/span&gt;&lt;em style=&quot;background-color: white; font-family: Arial, Verdana, Geneva, &#39;Bitstream Vera Sans&#39;, Helvetica, sans-serif; font-size: 15px; line-height: 21px;&quot;&gt;workflow percentage bar&lt;/em&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Verdana, Geneva, &#39;Bitstream Vera Sans&#39;, Helvetica, sans-serif; font-size: 15px; line-height: 21px;&quot;&gt;&amp;nbsp;or a&amp;nbsp;&lt;/span&gt;&lt;em style=&quot;background-color: white; font-family: Arial, Verdana, Geneva, &#39;Bitstream Vera Sans&#39;, Helvetica, sans-serif; font-size: 15px; line-height: 21px;&quot;&gt;workflow steps trail&lt;/em&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Verdana, Geneva, &#39;Bitstream Vera Sans&#39;, Helvetica, sans-serif; font-size: 15px; line-height: 21px;&quot;&gt;&amp;nbsp;in the publishing process of a document according with the workflow state in which the document is.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Verdana, Geneva, &#39;Bitstream Vera Sans&#39;, Helvetica, sans-serif; font-size: 15px; line-height: 21px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Verdana, Geneva, &#39;Bitstream Vera Sans&#39;, Helvetica, sans-serif; font-size: 15px; line-height: 21px;&quot;&gt;Today we release version 2.0 and bellow you can find a quick demo of this package.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Verdana, Geneva, &#39;Bitstream Vera Sans&#39;, Helvetica, sans-serif; font-size: 15px; line-height: 21px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;object width=&quot;320&quot; height=&quot;266&quot; class=&quot;BLOGGER-youtube-video&quot; classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; codebase=&quot;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0&quot; data-thumbnail-src=&quot;http://i1.ytimg.com/vi/a_U0tmw-4As/0.jpg&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/a_U0tmw-4As?version=3&amp;f=user_uploads&amp;c=google-webdrive-0&amp;app=youtube_gdata&quot; /&gt;&lt;param name=&quot;bgcolor&quot; value=&quot;#FFFFFF&quot; /&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot; /&gt;&lt;embed width=&quot;320&quot; height=&quot;266&quot;  src=&quot;http://www.youtube.com/v/a_U0tmw-4As?version=3&amp;f=user_uploads&amp;c=google-webdrive-0&amp;app=youtube_gdata&quot; type=&quot;application/x-shockwave-flash&quot; allowfullscreen=&quot;true&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Verdana, Geneva, &#39;Bitstream Vera Sans&#39;, Helvetica, sans-serif; font-size: 15px; line-height: 21px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Verdana, Geneva, &#39;Bitstream Vera Sans&#39;, Helvetica, sans-serif; font-size: 15px; line-height: 21px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Verdana, Geneva, &#39;Bitstream Vera Sans&#39;, Helvetica, sans-serif; font-size: 15px; line-height: 21px;&quot;&gt;Find more details on&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://pypi.python.org/pypi/eea.progressbar&quot; style=&quot;font-family: Arial, Verdana, Geneva, &#39;Bitstream Vera Sans&#39;, Helvetica, sans-serif; font-size: 15px; line-height: 21px;&quot; target=&quot;_blank&quot;&gt;PyPi&lt;/a&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Verdana, Geneva, &#39;Bitstream Vera Sans&#39;, Helvetica, sans-serif; font-size: 15px; line-height: 21px;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://plone.org/products/eea.progressbar&quot; style=&quot;font-family: Arial, Verdana, Geneva, &#39;Bitstream Vera Sans&#39;, Helvetica, sans-serif; font-size: 15px; line-height: 21px;&quot; target=&quot;_blank&quot;&gt;Plone.org&lt;/a&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Verdana, Geneva, &#39;Bitstream Vera Sans&#39;, Helvetica, sans-serif; font-size: 15px; line-height: 21px;&quot;&gt;&amp;nbsp;or&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://eea.github.io/docs/eea.progressbar/&quot; style=&quot;font-family: Arial, Verdana, Geneva, &#39;Bitstream Vera Sans&#39;, Helvetica, sans-serif; font-size: 15px; line-height: 21px;&quot; target=&quot;_blank&quot;&gt;EEA on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://avoinea.blogspot.com/feeds/396895885043287392/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6069357603139822014/396895885043287392' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6069357603139822014/posts/default/396895885043287392'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6069357603139822014/posts/default/396895885043287392'/><link rel='alternate' type='text/html' href='http://avoinea.blogspot.com/2013/11/eea-progress-bar-plone-add-on.html' title='EEA Progress Bar (Plone Add-on)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10201257540113538532</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6069357603139822014.post-7184599066087102238</id><published>2012-10-26T01:39:00.001-07:00</published><updated>2012-10-26T01:42:20.000-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="debian"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="python"/><category scheme="http://www.blogger.com/atom/ns#" term="python2.4"/><category scheme="http://www.blogger.com/atom/ns#" term="squeeze"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="with-zlib"/><title type='text'>Installing Python 2.4 with-zlib on Debian squeeze</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #404040; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 9px; padding: 0px;&quot;&gt;
Yap, it’s not as easy as it is supposed to be.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #404040; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 9px; padding: 0px;&quot;&gt;
1. First of all make sure you have installed&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; line-height: 1; margin: 0px; padding: 0px;&quot;&gt;zlib-dev&lt;/strong&gt;&amp;nbsp;library, which in Debian/Ubuntu is called&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; line-height: 1; margin: 0px; padding: 0px;&quot;&gt;zlib1-dev&lt;/strong&gt;:&lt;/div&gt;
&lt;div class=&quot;highlight-console&quot; style=&quot;background-color: white; color: #404040; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;background-color: #eeffcc; background-position: initial initial; background-repeat: initial initial;&quot;&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgba(0, 0, 0, 0.148438); color: black; font-family: Menlo, Monaco, &#39;Courier New&#39;, monospace; font-size: 12px; margin-bottom: 9px; overflow: auto; padding: 8.5px; word-break: break-all;&quot;&gt;&lt;span class=&quot;gp&quot; style=&quot;color: #c65d09; font-weight: bold;&quot;&gt;$&lt;/span&gt; sudo aptitude install zlib1-dev
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;ol class=&quot;arabic simple&quot; start=&quot;2&quot; style=&quot;background-color: white; border: 0px; color: #404040; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1; list-style-image: initial; list-style-position: initial; margin: 0px 0px 9px 25px; padding: 0px;&quot;&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; line-height: 18px; margin: 0px; padding: 0px;&quot;&gt;Download Python from&amp;nbsp;&lt;a class=&quot;reference external&quot; href=&quot;http://www.python.org/download/releases/2.4.6/&quot; style=&quot;border: 0px; color: #0e84b5; font-family: inherit; line-height: inherit; margin: 0px; padding: 0px; text-decoration: none;&quot;&gt;http://www.python.org/download/releases/2.4.6/&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&quot;highlight-console&quot; style=&quot;background-color: white; color: #404040; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;background-color: #eeffcc; background-position: initial initial; background-repeat: initial initial;&quot;&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgba(0, 0, 0, 0.148438); color: black; font-family: Menlo, Monaco, &#39;Courier New&#39;, monospace; font-size: 12px; margin-bottom: 9px; overflow: auto; padding: 8.5px; word-break: break-all;&quot;&gt;&lt;span class=&quot;gp&quot; style=&quot;color: #c65d09; font-weight: bold;&quot;&gt;$&lt;/span&gt; &lt;span class=&quot;nb&quot; style=&quot;color: #007020;&quot;&gt;cd&lt;/span&gt; /tmp
&lt;span class=&quot;gp&quot; style=&quot;color: #c65d09; font-weight: bold;&quot;&gt;$&lt;/span&gt; wget http://www.python.org/ftp/python/2.4.6/Python-2.4.6.tgz
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;ol class=&quot;arabic simple&quot; start=&quot;3&quot; style=&quot;background-color: white; border: 0px; color: #404040; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1; list-style-image: initial; list-style-position: initial; margin: 0px 0px 9px 25px; padding: 0px;&quot;&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; line-height: 18px; margin: 0px; padding: 0px;&quot;&gt;Decompress it:&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&quot;highlight-console&quot; style=&quot;background-color: white; color: #404040; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;background-color: #eeffcc; background-position: initial initial; background-repeat: initial initial;&quot;&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgba(0, 0, 0, 0.148438); color: black; font-family: Menlo, Monaco, &#39;Courier New&#39;, monospace; font-size: 12px; margin-bottom: 9px; overflow: auto; padding: 8.5px; word-break: break-all;&quot;&gt;&lt;span class=&quot;gp&quot; style=&quot;color: #c65d09; font-weight: bold;&quot;&gt;$&lt;/span&gt; tar -zxvf Python-2.4.6.tgz
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #404040; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 9px; padding: 0px;&quot;&gt;
4. Compile it. &lt;b&gt;STOP&lt;/b&gt;, I did that 10 times already with and without&amp;nbsp;&lt;cite style=&quot;border: 0px; font-family: inherit; line-height: 1; margin: 0px; padding: 0px;&quot;&gt;–with-zlib=/usr/include&lt;/cite&gt;&amp;nbsp;option, nothing, only a lot of frustration. So here is the key:&lt;/div&gt;
&lt;div class=&quot;highlight-console&quot; style=&quot;background-color: white; color: #404040; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;background-color: #eeffcc; background-position: initial initial; background-repeat: initial initial;&quot;&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgba(0, 0, 0, 0.148438); color: black; font-family: Menlo, Monaco, &#39;Courier New&#39;, monospace; font-size: 12px; margin-bottom: 9px; overflow: auto; padding: 8.5px; word-break: break-all;&quot;&gt;&lt;span class=&quot;gp&quot; style=&quot;color: #c65d09; font-weight: bold;&quot;&gt;$&lt;/span&gt; &lt;span class=&quot;nb&quot; style=&quot;color: #007020;&quot;&gt;cd&lt;/span&gt; /lib
&lt;span class=&quot;gp&quot; style=&quot;color: #c65d09; font-weight: bold;&quot;&gt;$&lt;/span&gt; sudo ln -s x86_64-linux-gnu/libz.so.1 libz.so
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;ol class=&quot;arabic simple&quot; start=&quot;5&quot; style=&quot;background-color: white; border: 0px; color: #404040; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1; list-style-image: initial; list-style-position: initial; margin: 0px 0px 9px 25px; padding: 0px;&quot;&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; line-height: 18px; margin: 0px; padding: 0px;&quot;&gt;Now compile and install python:&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&quot;highlight-console&quot; style=&quot;background-color: white; color: #404040; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;background-color: #eeffcc; background-position: initial initial; background-repeat: initial initial;&quot;&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgba(0, 0, 0, 0.148438); color: black; font-family: Menlo, Monaco, &#39;Courier New&#39;, monospace; font-size: 12px; margin-bottom: 9px; overflow: auto; padding: 8.5px; word-break: break-all;&quot;&gt;&lt;span class=&quot;gp&quot; style=&quot;color: #c65d09; font-weight: bold;&quot;&gt;$&lt;/span&gt; &lt;span class=&quot;nb&quot; style=&quot;color: #007020;&quot;&gt;cd&lt;/span&gt; /tmp/Python-2.4.6
&lt;span class=&quot;gp&quot; style=&quot;color: #c65d09; font-weight: bold;&quot;&gt;$&lt;/span&gt; ./configure --prefix&lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;=&lt;/span&gt;/opt/python24
&lt;span class=&quot;gp&quot; style=&quot;color: #c65d09; font-weight: bold;&quot;&gt;$&lt;/span&gt; make
&lt;span class=&quot;gp&quot; style=&quot;color: #c65d09; font-weight: bold;&quot;&gt;$&lt;/span&gt; make install
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;ol class=&quot;arabic simple&quot; start=&quot;6&quot; style=&quot;background-color: white; border: 0px; color: #404040; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1; list-style-image: initial; list-style-position: initial; margin: 0px 0px 9px 25px; padding: 0px;&quot;&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; line-height: 18px; margin: 0px; padding: 0px;&quot;&gt;Test if zlib is installed:&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&quot;highlight-console&quot; style=&quot;background-color: white; color: #404040; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;background-color: #eeffcc; background-position: initial initial; background-repeat: initial initial;&quot;&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgba(0, 0, 0, 0.148438); color: black; font-family: Menlo, Monaco, &#39;Courier New&#39;, monospace; font-size: 12px; margin-bottom: 9px; overflow: auto; padding: 8.5px; word-break: break-all;&quot;&gt;&lt;span class=&quot;gp&quot; style=&quot;color: #c65d09; font-weight: bold;&quot;&gt;$&lt;/span&gt; /opt/python24/bin/python -c &lt;span class=&quot;s2&quot; style=&quot;color: #4070a0;&quot;&gt;&quot;import zlib&quot;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;ol class=&quot;arabic simple&quot; start=&quot;7&quot; style=&quot;background-color: white; border: 0px; color: #404040; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1; list-style-image: initial; list-style-position: initial; margin: 0px 0px 9px 25px; padding: 0px;&quot;&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; line-height: 18px; margin: 0px; padding: 0px;&quot;&gt;Enjoy :o)&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://avoinea.blogspot.com/feeds/7184599066087102238/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6069357603139822014/7184599066087102238' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6069357603139822014/posts/default/7184599066087102238'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6069357603139822014/posts/default/7184599066087102238'/><link rel='alternate' type='text/html' href='http://avoinea.blogspot.com/2012/10/installing-python-24-with-zlib-on.html' title='Installing Python 2.4 with-zlib on Debian squeeze'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10201257540113538532</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6069357603139822014.post-66757700958663500</id><published>2012-09-13T14:57:00.001-07:00</published><updated>2012-10-26T01:43:24.272-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><category scheme="http://www.blogger.com/atom/ns#" term="jQuery"/><category scheme="http://www.blogger.com/atom/ns#" term="plugins"/><title type='text'>Writing solid and extensible jQuery plugins</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;color: #404040; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px; text-align: -webkit-auto;&quot;&gt;Personally, I don’t like the way&amp;nbsp;&lt;/span&gt;&lt;a class=&quot;reference external&quot; href=&quot;http://docs.jquery.com/Plugins/Authoring&quot; style=&quot;border: 0px; color: #0e84b5; font-family: inherit; font-size: 13px; line-height: inherit; margin: 0px; padding: 0px; text-align: -webkit-auto; text-decoration: none;&quot;&gt;jquery.com&lt;/a&gt;&lt;span style=&quot;color: #404040; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px; text-align: -webkit-auto;&quot;&gt;&amp;nbsp;encourages you to write plugins, as it’s easy to end up with a large spaghetti plate even if you’re not living in Italy :)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #404040; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #404040; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 9px; padding: 0px; text-align: -webkit-auto;&quot;&gt;
Despite the fact that I am a Python geek and Python is about doing things neatly and quickly with no more than one namespace - just kidding - I still like classes, instances, interfaces, utilities and adapters - this may be due to the fact that for the past 7 years I’ve worked mainly with Zope and Zope Components.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #404040; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 9px; padding: 0px; text-align: -webkit-auto;&quot;&gt;
Thus, after 4 years of adding life to my work by using&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; line-height: 1; margin: 0px; padding: 0px;&quot;&gt;JavaScript&lt;/strong&gt;&amp;nbsp;I’m ready to show you a very powerful way of&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; line-height: 1; margin: 0px; padding: 0px;&quot;&gt;writing JavaScript code&lt;/strong&gt;&amp;nbsp;and hence,&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; line-height: 1; margin: 0px; padding: 0px;&quot;&gt;jQuery plugins&lt;/strong&gt;.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #404040; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 9px; padding: 0px; text-align: -webkit-auto;&quot;&gt;
First of all let me share with you the following statement from&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; line-height: 1; margin: 0px; padding: 0px;&quot;&gt;The Zen of Python&lt;/strong&gt;, by Tim Peters:&lt;/div&gt;
&lt;div class=&quot;admonition note&quot; style=&quot;background-color: #fffbe0; color: #404040; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px; margin: 1em 0px 0px; padding: 0.2em 0.5em 0.2em 0.9em; text-align: -webkit-auto;&quot;&gt;
&lt;div class=&quot;last&quot; style=&quot;border: 0px; margin: 1em; padding: 0px;&quot;&gt;
Namespaces are one honking great idea – let’s do more of those!&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #404040; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 9px; padding: 0px; text-align: -webkit-auto;&quot;&gt;
Why not also apply this when&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; line-height: 1; margin: 0px; padding: 0px;&quot;&gt;writing JavaScript code&lt;/strong&gt;? Here is how we start: we define our&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; line-height: 1; margin: 0px; padding: 0px;&quot;&gt;top namespace&lt;/strong&gt;, safely, in order to allow it to be extended later outside this JS file:&lt;/div&gt;
&lt;div class=&quot;highlight-javascript&quot; style=&quot;background-color: white; color: #404040; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px; text-align: -webkit-auto;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;background-color: #eeffcc; background-position: initial initial; background-repeat: initial initial;&quot;&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgba(0, 0, 0, 0.148438); color: black; font-family: Menlo, Monaco, &#39;Courier New&#39;, monospace; font-size: 12px; margin-bottom: 9px; overflow: auto; padding: 8.5px; word-break: break-all;&quot;&gt;&lt;span class=&quot;k&quot; style=&quot;color: #007020; font-weight: bold;&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;nb&quot; style=&quot;color: #007020;&quot;&gt;window&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Alien&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;){&lt;/span&gt;
  &lt;span class=&quot;kd&quot; style=&quot;color: #007020; font-weight: bold;&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;Alien&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;s2&quot; style=&quot;color: #4070a0;&quot;&gt;&quot;version&quot;&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s2&quot; style=&quot;color: #4070a0;&quot;&gt;&quot;1.0&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;};&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #404040; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 9px; padding: 0px; text-align: -webkit-auto;&quot;&gt;
At this point, we begin to add our plugins:&lt;/div&gt;
&lt;div class=&quot;highlight-javascript&quot; style=&quot;background-color: white; color: #404040; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px; text-align: -webkit-auto;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;background-color: #eeffcc; background-position: initial initial; background-repeat: initial initial;&quot;&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgba(0, 0, 0, 0.148438); color: black; font-family: Menlo, Monaco, &#39;Courier New&#39;, monospace; font-size: 12px; margin-bottom: 9px; overflow: auto; padding: 8.5px; word-break: break-all;&quot;&gt;&lt;span class=&quot;nx&quot;&gt;Alien&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Ship&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kd&quot; style=&quot;color: #007020; font-weight: bold;&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;context&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;options&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;){&lt;/span&gt;
  &lt;span class=&quot;kd&quot; style=&quot;color: #007020; font-weight: bold;&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;self&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;k&quot; style=&quot;color: #007020; font-weight: bold;&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;nx&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;context&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;context&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;

  &lt;span class=&quot;nx&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;settings&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
    &lt;span class=&quot;nx&quot;&gt;width&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mi&quot; style=&quot;color: #208050;&quot;&gt;800&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
    &lt;span class=&quot;nx&quot;&gt;height&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mi&quot; style=&quot;color: #208050;&quot;&gt;600&lt;/span&gt;
  &lt;span class=&quot;p&quot;&gt;};&lt;/span&gt;

  &lt;span class=&quot;k&quot; style=&quot;color: #007020; font-weight: bold;&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;options&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;){&lt;/span&gt;
    &lt;span class=&quot;nx&quot;&gt;jQuery&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;extend&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;settings&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;options&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
  &lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;

  &lt;span class=&quot;nx&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;initialize&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;();&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;};&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #404040; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 9px; padding: 0px; text-align: -webkit-auto;&quot;&gt;
Now that we’ve added our constructor, let’s make it possible to instantiate it with the&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; line-height: 1; margin: 0px; padding: 0px;&quot;&gt;new&lt;/strong&gt;&amp;nbsp;JS keyword:&lt;/div&gt;
&lt;div class=&quot;highlight-javascript&quot; style=&quot;background-color: white; color: #404040; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px; text-align: -webkit-auto;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;background-color: #eeffcc; background-position: initial initial; background-repeat: initial initial;&quot;&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgba(0, 0, 0, 0.148438); color: black; font-family: Menlo, Monaco, &#39;Courier New&#39;, monospace; font-size: 12px; margin-bottom: 9px; overflow: auto; padding: 8.5px; word-break: break-all;&quot;&gt; &lt;span class=&quot;nx&quot;&gt;Alien&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Ship&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;prototype&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
  &lt;span class=&quot;nx&quot;&gt;initialize&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kd&quot; style=&quot;color: #007020; font-weight: bold;&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(){&lt;/span&gt;
    &lt;span class=&quot;kd&quot; style=&quot;color: #007020; font-weight: bold;&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;self&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;k&quot; style=&quot;color: #007020; font-weight: bold;&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;

    &lt;span class=&quot;c1&quot; style=&quot;color: #408090; font-style: italic;&quot;&gt;// Bind some events&lt;/span&gt;
    &lt;span class=&quot;nx&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;context&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;bind&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #4070a0;&quot;&gt;&#39;width-changed&#39;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kd&quot; style=&quot;color: #007020; font-weight: bold;&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;evt&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;data&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;){&lt;/span&gt;
      &lt;span class=&quot;nx&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;handle_width&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;data&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
    &lt;span class=&quot;p&quot;&gt;});&lt;/span&gt;

    &lt;span class=&quot;nx&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;context&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;bind&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #4070a0;&quot;&gt;&#39;height-changed&#39;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kd&quot; style=&quot;color: #007020; font-weight: bold;&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;evt&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;data&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;){&lt;/span&gt;
      &lt;span class=&quot;nx&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;handle_height&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;data&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
    &lt;span class=&quot;p&quot;&gt;});&lt;/span&gt;

    &lt;span class=&quot;c1&quot; style=&quot;color: #408090; font-style: italic;&quot;&gt;// Do some initialization&lt;/span&gt;
    &lt;span class=&quot;nx&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;context&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;css&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #4070a0;&quot;&gt;&#39;background-color&#39;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;s1&quot; style=&quot;color: #4070a0;&quot;&gt;&#39;gray&#39;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
  &lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;


  &lt;span class=&quot;nx&quot;&gt;handle_width&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kd&quot; style=&quot;color: #007020; font-weight: bold;&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;data&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;){&lt;/span&gt;
    &lt;span class=&quot;kd&quot; style=&quot;color: #007020; font-weight: bold;&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;self&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;k&quot; style=&quot;color: #007020; font-weight: bold;&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;nx&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;settings&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;width&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;data&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;width&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;

  &lt;span class=&quot;nx&quot;&gt;handle_height&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kd&quot; style=&quot;color: #007020; font-weight: bold;&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;data&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;){&lt;/span&gt;
    &lt;span class=&quot;kd&quot; style=&quot;color: #007020; font-weight: bold;&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;self&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;k&quot; style=&quot;color: #007020; font-weight: bold;&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;nx&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;settings&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;height&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;data&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;height&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;};&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #404040; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 9px; padding: 0px; text-align: -webkit-auto;&quot;&gt;
OK, but where is the&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; line-height: 1; margin: 0px; padding: 0px;&quot;&gt;jQuery plugin&lt;/strong&gt;? Well, here it is:&lt;/div&gt;
&lt;div class=&quot;highlight-javascript&quot; style=&quot;background-color: white; color: #404040; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px; text-align: -webkit-auto;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;background-color: #eeffcc; background-position: initial initial; background-repeat: initial initial;&quot;&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgba(0, 0, 0, 0.148438); color: black; font-family: Menlo, Monaco, &#39;Courier New&#39;, monospace; font-size: 12px; margin-bottom: 9px; overflow: auto; padding: 8.5px; word-break: break-all;&quot;&gt;&lt;span class=&quot;nx&quot;&gt;jQuery&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;fn&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;AlienShip&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kd&quot; style=&quot;color: #007020; font-weight: bold;&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;options&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;){&lt;/span&gt;
  &lt;span class=&quot;k&quot; style=&quot;color: #007020; font-weight: bold;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;k&quot; style=&quot;color: #007020; font-weight: bold;&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;each&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kd&quot; style=&quot;color: #007020; font-weight: bold;&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(){&lt;/span&gt;
    &lt;span class=&quot;kd&quot; style=&quot;color: #007020; font-weight: bold;&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;context&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;jQuery&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;k&quot; style=&quot;color: #007020; font-weight: bold;&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
    &lt;span class=&quot;kd&quot; style=&quot;color: #007020; font-weight: bold;&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;ship&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;k&quot; style=&quot;color: #007020; font-weight: bold;&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;Alien&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Ship&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;context&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;options&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
    &lt;span class=&quot;nx&quot;&gt;context&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;data&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #4070a0;&quot;&gt;&#39;AlienShip&#39;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;ship&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
  &lt;span class=&quot;p&quot;&gt;});&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;};&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #404040; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 9px; padding: 0px; text-align: -webkit-auto;&quot;&gt;
By using this, we have the power of a&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; line-height: 1; margin: 0px; padding: 0px;&quot;&gt;jQuery plugin&lt;/strong&gt;&amp;nbsp;mixed with the flexibility of the&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; line-height: 1; margin: 0px; padding: 0px;&quot;&gt;prototype object&lt;/strong&gt;&amp;nbsp;from JavaScript.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #404040; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 9px; padding: 0px; text-align: -webkit-auto;&quot;&gt;
It’s&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; line-height: 1; margin: 0px; padding: 0px;&quot;&gt;easy to call&lt;/strong&gt;&amp;nbsp;it:&lt;/div&gt;
&lt;div class=&quot;highlight-javascript&quot; style=&quot;background-color: white; color: #404040; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px; text-align: -webkit-auto;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;background-color: #eeffcc; background-position: initial initial; background-repeat: initial initial;&quot;&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgba(0, 0, 0, 0.148438); color: black; font-family: Menlo, Monaco, &#39;Courier New&#39;, monospace; font-size: 12px; margin-bottom: 9px; overflow: auto; padding: 8.5px; word-break: break-all;&quot;&gt;&lt;span class=&quot;nx&quot;&gt;jQuery&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #4070a0;&quot;&gt;&#39;.car&#39;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;).&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;AlienShip&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;({&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;width&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mi&quot; style=&quot;color: #208050;&quot;&gt;1024&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;height&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mi&quot; style=&quot;color: #208050;&quot;&gt;800&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;});&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #404040; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 9px; padding: 0px; text-align: -webkit-auto;&quot;&gt;
It&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; line-height: 1; margin: 0px; padding: 0px;&quot;&gt;easy to access&lt;/strong&gt;&amp;nbsp;it:&lt;/div&gt;
&lt;div class=&quot;highlight-javascript&quot; style=&quot;background-color: white; color: #404040; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px; text-align: -webkit-auto;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;background-color: #eeffcc; background-position: initial initial; background-repeat: initial initial;&quot;&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgba(0, 0, 0, 0.148438); color: black; font-family: Menlo, Monaco, &#39;Courier New&#39;, monospace; font-size: 12px; margin-bottom: 9px; overflow: auto; padding: 8.5px; word-break: break-all;&quot;&gt;&lt;span class=&quot;nx&quot;&gt;jQuery&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #4070a0;&quot;&gt;&#39;.car&#39;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;).&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;data&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #4070a0;&quot;&gt;&#39;AlienShip&#39;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;).&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;settings&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;width&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #404040; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 9px; padding: 0px; text-align: -webkit-auto;&quot;&gt;
And it’s&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; line-height: 1; margin: 0px; padding: 0px;&quot;&gt;easy to extend&lt;/strong&gt;&amp;nbsp;it:&lt;/div&gt;
&lt;div class=&quot;highlight-javascript&quot; style=&quot;background-color: white; color: #404040; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px; text-align: -webkit-auto;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;background-color: #eeffcc; background-position: initial initial; background-repeat: initial initial;&quot;&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgba(0, 0, 0, 0.148438); color: black; font-family: Menlo, Monaco, &#39;Courier New&#39;, monospace; font-size: 12px; margin-bottom: 9px; overflow: auto; padding: 8.5px; word-break: break-all;&quot;&gt;&lt;span class=&quot;nx&quot;&gt;Alien&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Ship&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;prototype&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;handle_width&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kd&quot; style=&quot;color: #007020; font-weight: bold;&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;data&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;){&lt;/span&gt;
  &lt;span class=&quot;kd&quot; style=&quot;color: #007020; font-weight: bold;&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;self&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;k&quot; style=&quot;color: #007020; font-weight: bold;&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;nx&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;settings&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;width&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;data&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;width&lt;/span&gt; &lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;/&lt;/span&gt; &lt;span class=&quot;mi&quot; style=&quot;color: #208050;&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;};&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #404040; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 9px; padding: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;a class=&quot;reference external&quot; href=&quot;https://gist.github.com/3717757&quot; style=&quot;border: 0px; color: #0e84b5; font-family: inherit; line-height: inherit; margin: 0px; padding: 0px; text-decoration: none;&quot;&gt;Download this full javascript file&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://avoinea.blogspot.com/feeds/66757700958663500/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6069357603139822014/66757700958663500' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6069357603139822014/posts/default/66757700958663500'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6069357603139822014/posts/default/66757700958663500'/><link rel='alternate' type='text/html' href='http://avoinea.blogspot.com/2012/09/writing-solid-and-extensible-jquery.html' title='Writing solid and extensible jQuery plugins'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10201257540113538532</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>