<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Web notes &#187; upload</title>
	<atom:link href="http://www.webnotes.com.ua/index.php/archives/tag/upload/feed" rel="self" type="application/rss+xml" />
	<link>http://www.webnotes.com.ua</link>
	<description>nice web notes - полезные веб заметки</description>
	<lastBuildDate>Wed, 01 Feb 2012 19:27:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Загрузка файлов на сервер</title>
		<link>http://www.webnotes.com.ua/index.php/archives/114</link>
		<comments>http://www.webnotes.com.ua/index.php/archives/114#comments</comments>
		<pubDate>Tue, 07 Apr 2009 11:12:46 +0000</pubDate>
		<dc:creator>nice</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[upload]]></category>
		<category><![CDATA[usability]]></category>

		<guid isPermaLink="false">http://www.webnotes.com.ua/?p=114</guid>
		<description><![CDATA[Рассмотрим простой и удобный плагин к jQuery для загрузки файлов на сервер Uploadify. Подключается все, как всегда, простенько и быстренько! Ну, тогда стразу и пример загрузки файлов. Подключаем jQuery и плагин: &#60;script language=&#34;JavaScript1.2&#34; src=&#34;jquery.js&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62; &#60;script language=&#34;JavaScript1.2&#34; src=&#34;jquery.uploadify.js&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62; Стиль: &#60;link rel=&#039;stylesheet&#039; href=&#039;uploadify.css&#039; type=&#039;text/css&#039; media=&#039;all&#039; /&#62; JavaScript. Для одиночной загрузки: $(&#039;#fileInput1&#039;).fileUpload({ &#039;uploader&#039;:&#039;uploader.swf&#039;, &#039;script&#039;:&#039;upload.php&#039;, &#039;cancelImg&#039;:&#039;cancel.png&#039;, &#039;folder&#039;:&#039;uploads&#039; [...]]]></description>
			<content:encoded><![CDATA[<p>Рассмотрим простой и удобный плагин к <a href="http://jquery.com/" target="_blank">jQuery</a> для загрузки файлов на сервер <a href="http://www.uploadify.com/" target="_blank">Uploadify</a>.</p>
<p><span id="more-114"></span></p>
<p>Подключается все, как всегда, простенько и быстренько! Ну, тогда стразу и <a href="http://www.webnotes.com.ua/demo/upload/upload.html" target="_blank">пример загрузки файлов</a>.</p>
<p>Подключаем jQuery и плагин:</p>
<pre class="brush: html">
&lt;script language=&quot;JavaScript1.2&quot; src=&quot;jquery.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
&lt;script language=&quot;JavaScript1.2&quot; src=&quot;jquery.uploadify.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
</pre>
<p>Стиль:</p>
<pre class="brush: html">&lt;link rel=&#039;stylesheet&#039; href=&#039;uploadify.css&#039; type=&#039;text/css&#039; media=&#039;all&#039; /&gt;</pre>
<p>JavaScript.<br />
Для одиночной загрузки:</p>
<pre class="brush: js">$(&#039;#fileInput1&#039;).fileUpload({
&#039;uploader&#039;:&#039;uploader.swf&#039;,
&#039;script&#039;:&#039;upload.php&#039;,
&#039;cancelImg&#039;:&#039;cancel.png&#039;,
&#039;folder&#039;:&#039;uploads&#039;
});</pre>
<p>Для  загрузки сразу нескольких файлов:</p>
<pre class="brush: js">$(&#039;#fileInput2&#039;).fileUpload({
&#039;uploader&#039;:&#039;uploader.swf&#039;,
&#039;script&#039;:&#039;upload.php&#039;,
&#039;cancelImg&#039;:&#039;cancel.png&#039;,
&#039;folder&#039;:&#039;uploads&#039;,
&#039;multi&#039;:true
});</pre>
<p>Для автоматической одиночной загрузки файла:</p>
<pre class="brush: js">$(&#039;#fileInput3&#039;).fileUpload({
&#039;uploader&#039;:&#039;uploader.swf&#039;,
&#039;script&#039;:&#039;upload.php&#039;,
&#039;cancelImg&#039;:&#039;cancel.png&#039;,
&#039;folder&#039;:&#039;uploads&#039;,
&#039;auto&#039;:true
});</pre>
<p>Для автоматической одиночной загрузки файла со своей кнопкой - картинкой:</p>
<pre class="brush: js">$(&#039;#fileInput4&#039;).fileUpload({
&#039;uploader&#039;:&#039;uploader.swf&#039;,
&#039;script&#039;:&#039;upload.php&#039;,
&#039;cancelImg&#039;:&#039;cancel.png&#039;,
&#039;folder&#039;:&#039;uploads&#039;,
&#039;buttonImg&#039;:&#039;browse-files.png&#039;,
&#039;wmode&#039;:&#039;transparent&#039;,
&#039;width&#039;:130,
&#039;auto&#039;:true
});</pre>
<p>Ну и один из контейнеров для загрузки файла в HTML коде:</p>
<pre class="brush: html">&lt;div class=&quot;demo&quot;&gt;
&lt;input type=&quot;file&quot; id=&quot;fileInput1&quot; name=&quot;fileInput1&quot; /&gt;
&lt;a href=&quot;javascript:$(&#039;#fileInput1&#039;).fileUploadStart();&quot;&gt;Загрузить файл&lt;/a&gt;
&lt;/div&gt;</pre>


<!-- Begin SexyBookmarks Menu Code -->
<noindex><div class="sexy-bookmarks sexy-bookmarks-expand">
<ul class="socials">
		<li class="sexy-google">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.webnotes.com.ua/index.php/archives/114&amp;title=%D0%97%D0%B0%D0%B3%D1%80%D1%83%D0%B7%D0%BA%D0%B0+%D1%84%D0%B0%D0%B9%D0%BB%D0%BE%D0%B2+%D0%BD%D0%B0+%D1%81%D0%B5%D1%80%D0%B2%D0%B5%D1%80" rel="nofollow" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=%D0%97%D0%B0%D0%B3%D1%80%D1%83%D0%B7%D0%BA%D0%B0+%D1%84%D0%B0%D0%B9%D0%BB%D0%BE%D0%B2+%D0%BD%D0%B0+%D1%81%D0%B5%D1%80%D0%B2%D0%B5%D1%80+-+<br />
<b>Notice</b>:  Undefined index:  alias in <b>/home/shared_useracct/e7t.us/create.php</b> on line <b>9</b><br />
http://e7t.us/jtux+(via+@niceteg)" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://www.webnotes.com.ua/index.php/archives/114&amp;title=%D0%97%D0%B0%D0%B3%D1%80%D1%83%D0%B7%D0%BA%D0%B0+%D1%84%D0%B0%D0%B9%D0%BB%D0%BE%D0%B2+%D0%BD%D0%B0+%D1%81%D0%B5%D1%80%D0%B2%D0%B5%D1%80" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.webnotes.com.ua/index.php/archives/114&amp;t=%D0%97%D0%B0%D0%B3%D1%80%D1%83%D0%B7%D0%BA%D0%B0+%D1%84%D0%B0%D0%B9%D0%BB%D0%BE%D0%B2+%D0%BD%D0%B0+%D1%81%D0%B5%D1%80%D0%B2%D0%B5%D1%80" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://www.webnotes.com.ua/index.php/archives/114&amp;t=%D0%97%D0%B0%D0%B3%D1%80%D1%83%D0%B7%D0%BA%D0%B0+%D1%84%D0%B0%D0%B9%D0%BB%D0%BE%D0%B2+%D0%BD%D0%B0+%D1%81%D0%B5%D1%80%D0%B2%D0%B5%D1%80" rel="nofollow" title="Post this to MySpace">Post this to MySpace</a>
		</li>
		<li class="sexy-bobrdobr">
			<a href="http://bobrdobr.ru/addext.html?url=http://www.webnotes.com.ua/index.php/archives/114&amp;title=%D0%97%D0%B0%D0%B3%D1%80%D1%83%D0%B7%D0%BA%D0%B0+%D1%84%D0%B0%D0%B9%D0%BB%D0%BE%D0%B2+%D0%BD%D0%B0+%D1%81%D0%B5%D1%80%D0%B2%D0%B5%D1%80" rel="nofollow" title="Share this on BobrDobr">Share this on BobrDobr</a>
		</li>
		<li class="sexy-yandex">
			<a href="http://zakladki.yandex.ru/userarea/links/addfromfav.asp?bAddLink_x=1&amp;lurl=http://www.webnotes.com.ua/index.php/archives/114&amp;lname=%D0%97%D0%B0%D0%B3%D1%80%D1%83%D0%B7%D0%BA%D0%B0+%D1%84%D0%B0%D0%B9%D0%BB%D0%BE%D0%B2+%D0%BD%D0%B0+%D1%81%D0%B5%D1%80%D0%B2%D0%B5%D1%80" rel="nofollow" title="Add this to Yandex.Bookmarks">Add this to Yandex.Bookmarks</a>
		</li>
		<li class="sexy-memoryru">
			<a href="http://memori.ru/link/?sm=1&amp;u_data[url]=http://www.webnotes.com.ua/index.php/archives/114&amp;u_data[name]=%D0%97%D0%B0%D0%B3%D1%80%D1%83%D0%B7%D0%BA%D0%B0+%D1%84%D0%B0%D0%B9%D0%BB%D0%BE%D0%B2+%D0%BD%D0%B0+%D1%81%D0%B5%D1%80%D0%B2%D0%B5%D1%80" rel="nofollow" title="Add this to Memory.ru">Add this to Memory.ru</a>
		</li>
		<li class="sexy-100zakladok">
			<a href="http://www.100zakladok.ru/save/?bmurl=http://www.webnotes.com.ua/index.php/archives/114&amp;bmtitle=%D0%97%D0%B0%D0%B3%D1%80%D1%83%D0%B7%D0%BA%D0%B0+%D1%84%D0%B0%D0%B9%D0%BB%D0%BE%D0%B2+%D0%BD%D0%B0+%D1%81%D0%B5%D1%80%D0%B2%D0%B5%D1%80" rel="nofollow" title="Add this to 100 bookmarks">Add this to 100 bookmarks</a>
		</li>
		<li class="sexy-comfeed">
			<a href="http://www.webnotes.com.ua/index.php/archives/114/feed" rel="nofollow" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div></noindex>
<!-- End SexyBookmarks Menu Code -->

]]></content:encoded>
			<wfw:commentRss>http://www.webnotes.com.ua/index.php/archives/114/feed</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
