<?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>ABCoder &#187; Ajax</title>
	<atom:link href="http://abcoder.com/topics/javascript/ajax/feed/" rel="self" type="application/rss+xml" />
	<link>http://abcoder.com</link>
	<description>ABCoder - Coding is Simple as A b c</description>
	<lastBuildDate>Sat, 17 Jul 2010 11:45:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>IE6 png alpha transparency fix for dynamically loaded images via ajax</title>
		<link>http://abcoder.com/javascript/ie6-png-alpha-transparency-fix-for-dynamically-loaded-images-via-ajax/</link>
		<comments>http://abcoder.com/javascript/ie6-png-alpha-transparency-fix-for-dynamically-loaded-images-via-ajax/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 10:13:55 +0000</pubDate>
		<dc:creator>adnan</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Core JavaScript]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[ajax loading]]></category>
		<category><![CDATA[alpha]]></category>
		<category><![CDATA[dynamic image]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[iepngfix]]></category>
		<category><![CDATA[iepngfix.htc]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[png]]></category>
		<category><![CDATA[transparency]]></category>
		<category><![CDATA[transparent]]></category>
		<category><![CDATA[YUI]]></category>

		<guid isPermaLink="false">http://abcoder.com/?p=66</guid>
		<description><![CDATA[Simple javascript and jQuery code for fixing the alpha transparency problem of png image on Internet explorer 6. iepngfix.htc does not work for dynamic images loaded via ajax call. But this simple code works great for dynamically loaded images.


Related posts:<ol><li><a href='http://abcoder.com/javascript/using-dreamweaver-spry-validation-with-jquery-ajax-form-plugin/' rel='bookmark' title='Permanent Link: Using Dreamweaver Spry validation with jQuery ajax form plugin'>Using Dreamweaver Spry validation with jQuery ajax form plugin</a> <small>A simple function for using Spry form validation of Dreamweaver with jQuery ajax form submit plugin. Just put this 3 lines of code in the "beforeSubmit" parameter of $.ajaxForm and that's all!...</small></li>
<li><a href='http://abcoder.com/php/problem-with-resizing-corrupted-images-using-php-image-functions/' rel='bookmark' title='Permanent Link: Problem with resizing corrupted images using PHP image functions'>Problem with resizing corrupted images using PHP image functions</a> <small>PHP image functions can not resize corrupted image files. Use phpThumb for resizing images and you'll save a lot of time. Please read the full article for source code. Thanks again to phpThumb for their great effort!...</small></li>
<li><a href='http://abcoder.com/javascript/jquery/ajax-and-seo-is-it-possible-to-get-them-together/' rel='bookmark' title='Permanent Link: AJAX and SEO &#8211; Is it possible to get them together?'>AJAX and SEO &#8211; Is it possible to get them together?</a> <small>About 7 months ago I threw a question on LinkedIn, AJAX &amp; SEO. It was about is ajax seo friendly! (The website can be found here http://demo.zpbappi.com). Most of the people answered &#8220;NO&#8221;. All of them suggested me not to use 100% Ajax(ed) website as search endings do not render the javascript. The site has [...]...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>IE6 is always a nightmare for web developers. The most painful drawback is it does not support the alpha transparency of transparent png images and you know how to solve this problem using <a href="http://www.twinhelix.com/css/iepngfix/" title="IE6 png fix" rel="nofollow" target="_blank">iepngfix</a> or <a href="http://jquery.andreaseberhard.de/pngFix/" title="jQuery IE6 png fix" rel="nofollow" target="_blank">jquery.pngFix.js</a>.</p>
<p>You must be thinking.. what is new in my post then!! Have you ever used any of them for dynamic png images? Some people call it &#8220;Loading an image via ajax&#8221;. Let me explain what I mean by &#8220;dynamic png images&#8221;.. say you have a page where clicking on a link does not reload the page, but load a transparent/semitransparent png image. Most specifically, I was working on a <a href="http://www.wisedecor.com/" title="Wise Decor" rel="nofollow" target="_blank">project</a> where user types some text in a text box, it is converted to transparent png image on the fly using php and then it is displayed inside a div which has a graph-paper like background-image. This whole thing is done without reloading the page at all.</p>
<p>It looks okay on FF, safari, IE7 but on IE6 the transparent portion looks Grey. The iepngfix.htc script didn&#8217;t help, cos it only works on the images which are loaded and showed at the beginning of page loading. After the page is fully loaded and you load another png image using ajax this script won&#8217;t work. But I could not do that for my project as it is meant to be loaded dynamically using ajax for the sake of advanced user experience.</p>
<p>I started googling for it, no luck. Finally I modified a portion of code used in the iepngfix.htc file and fixed the problem using this simple javascript code. (FYI, I was using YUI so only the browser checking part is done using it, you can use jQuery or pure javascript for browser detection)</p>
<pre class="brush: jscript;">var textImage = new Image();
textImage.src = &quot;text.png&quot;; // src of the png image. okay if not ie6
if (YAHOO.env.ua.ie &gt; 5 &amp;&amp; YAHOO.env.ua.ie &lt; 7) { // if IE 5+ or 6 or 6+
    var timg_src = textImage.src;  // textImage
    var new_img = new Image();  // just as a preloader
    new_img.src = timg_src;

    new_img.onload = function(){ // remember, the image is being loaded dynamically, so apply the filter after it is loaded.
        var ti = document.getElementById(&quot;textImage&quot;); // the ID of the img tag where it'll be loaded
        ti.style.width = new_img.width; // you can get the width/height of image after it is fully loaded
        ti.style.height = new_img.height; // and you must &quot;DEFINE&quot; the image height/width. &quot;auto&quot; height/width won't work!

        // This is it. apply the filter :)
        ti.style.filter = &quot;progid:DXImageTransform.Microsoft.AlphaImageLoader(src='&quot; + timg_src + &quot;', sizingMethod='scale')&quot;;
        ti.setAttribute('src', 'blank.gif'); // don't forget this part. the image src is replaced with a blank gif image.
    }
}</pre>
<p>Here is another version of the code which is not for dynamic images. It&#8217;s alternative of iepngfix.htc. In some cases you may not like using iepngfix.htc, rather want to control it yourself. For example if your page has hundreds of png images which are not transparent and only a few images that are transparent, in this case using iepngfix.htc will make the whole process too slow. I applied a pseudo class &#8220;png&#8221; to all png images &amp; divs with png background image with fixed height &amp; width and applied this simple jQuery code:</p>
<pre class="brush: jscript;">$(window).load(function(){ // after all the images are loaded
    if ($.browser.msie &amp;&amp; parseInt($.browser.version.substr(0, 1)) &lt; 7) { // ie6 or 5
        $(&quot;img.png&quot;).each(function(){
            $(this).css(&quot;filter&quot;, &quot;progid:DXImageTransform.Microsoft.AlphaImageLoader(src='&quot; + $(this).attr('src') + &quot;', sizingMethod='scale')&quot;).attr(&quot;src&quot;, &quot;images/blank.gif&quot;);
        });
        $(&quot;div.png&quot;).each(function(){
            var bg = $(this).css(&quot;backgroundImage&quot;);
            bg.match(/^url[(&quot;']+(.*\.png)[)&quot;']+$/i);
            bg = RegExp.$1;
            $(this).css(&quot;filter&quot;, &quot;progid:DXImageTransform.Microsoft.AlphaImageLoader(src='&quot; + bg + &quot;', sizingMethod='crop')&quot;).css(&quot;backgroundImage&quot;, &quot;none&quot;);
        });
    }
});</pre>
<p>Hope you&#8217;ll find it helpful. Please let me know if you have any better idea.</p>


<p>Related posts:</p><ol><li><a href='http://abcoder.com/javascript/using-dreamweaver-spry-validation-with-jquery-ajax-form-plugin/' rel='bookmark' title='Permanent Link: Using Dreamweaver Spry validation with jQuery ajax form plugin'>Using Dreamweaver Spry validation with jQuery ajax form plugin</a> <small>A simple function for using Spry form validation of Dreamweaver with jQuery ajax form submit plugin. Just put this 3 lines of code in the "beforeSubmit" parameter of $.ajaxForm and that's all!...</small></li>
<li><a href='http://abcoder.com/php/problem-with-resizing-corrupted-images-using-php-image-functions/' rel='bookmark' title='Permanent Link: Problem with resizing corrupted images using PHP image functions'>Problem with resizing corrupted images using PHP image functions</a> <small>PHP image functions can not resize corrupted image files. Use phpThumb for resizing images and you'll save a lot of time. Please read the full article for source code. Thanks again to phpThumb for their great effort!...</small></li>
<li><a href='http://abcoder.com/javascript/jquery/ajax-and-seo-is-it-possible-to-get-them-together/' rel='bookmark' title='Permanent Link: AJAX and SEO &#8211; Is it possible to get them together?'>AJAX and SEO &#8211; Is it possible to get them together?</a> <small>About 7 months ago I threw a question on LinkedIn, AJAX &amp; SEO. It was about is ajax seo friendly! (The website can be found here http://demo.zpbappi.com). Most of the people answered &#8220;NO&#8221;. All of them suggested me not to use 100% Ajax(ed) website as search endings do not render the javascript. The site has [...]...</small></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://abcoder.com/javascript/ie6-png-alpha-transparency-fix-for-dynamically-loaded-images-via-ajax/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Using Dreamweaver Spry validation with jQuery ajax form plugin</title>
		<link>http://abcoder.com/javascript/using-dreamweaver-spry-validation-with-jquery-ajax-form-plugin/</link>
		<comments>http://abcoder.com/javascript/using-dreamweaver-spry-validation-with-jquery-ajax-form-plugin/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 13:30:26 +0000</pubDate>
		<dc:creator>adnan</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Core JavaScript]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[ajax form submit]]></category>
		<category><![CDATA[ajax submit]]></category>
		<category><![CDATA[click]]></category>
		<category><![CDATA[Dreamweaver]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[mouse]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[Spry]]></category>
		<category><![CDATA[submit]]></category>
		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://abcoder.com/?p=60</guid>
		<description><![CDATA[A simple function for using Spry form validation of Dreamweaver with jQuery ajax form submit plugin. Just put this 3 lines of code in the "beforeSubmit" parameter of $.ajaxForm and that's all!


Related posts:<ol><li><a href='http://abcoder.com/javascript/jquery/jquery-cycle-plugin-as-carousel/' rel='bookmark' title='Permanent Link: jQuery cycle plugin as carousel'>jQuery cycle plugin as carousel</a> <small>You can use the jQuery cycle plugin as carousel. No need of special plugin for carousel. Just use the fx: 'scrollHorz' and that's all! This option is kinda hidden on the malsup site. Don't know why they never emphasize on this option!!...</small></li>
<li><a href='http://abcoder.com/javascript/ie6-png-alpha-transparency-fix-for-dynamically-loaded-images-via-ajax/' rel='bookmark' title='Permanent Link: IE6 png alpha transparency fix for dynamically loaded images via ajax'>IE6 png alpha transparency fix for dynamically loaded images via ajax</a> <small>Simple javascript and jQuery code for fixing the alpha transparency problem of png image on Internet explorer 6. iepngfix.htc does not work for dynamic images loaded via ajax call. But this simple code works great for dynamically loaded images....</small></li>
<li><a href='http://abcoder.com/javascript/gmail-uploader-clone-with-drag-drop-feature-free-download-with-source-code/' rel='bookmark' title='Permanent Link: Gmail uploader clone with drag drop feature : Free Download with source code'>Gmail uploader clone with drag drop feature : Free Download with source code</a> <small>Gmail file uploader clone with drag drop feature using jQuery. Download full working source code in a single zip file for free....</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Writing form validation code manually is a boring task. Not only that, editing or adding new fields each time and modifying the validation code accordingly is such a pain. When Dreamweaver added the Spry form validation with CS3 the nightmare is over. The greatest feature of using it is you can do the form validation work automatically with a couple of mouse clicks and no hand written code! And you can easily change/edit or add/remove the fields.</p>
<p>I know jQuery has simple validation plugin but you have to write the codes for it, which is time consuming. I always use the spry validation of dreamweaver as I learned using it for it&#8217;s simplicity. When I tried to use it with the <a rel ="nofollow" href="http://malsup.com/jquery/form/" target="_blank">jQuery ajax form submit plugin</a> I got disappointed. It didn&#8217;t work! I didn&#8217;t stop trying. And finally I found the way which I&#8217;m gonna share with you :)</p>
<p>Here is the simple code that you need in the &#8220;beforeSubmit&#8221; parameter of $.ajaxForm</p>
<pre class="brush: jscript;">$(&quot;#formID&quot;).ajaxForm({
    url: &quot;submit.php&quot;,
    beforeSubmit: function(formData, jqForm, options){
        if (Spry) { // checks if Spry is used in your page
            var r = Spry.Widget.Form.validate(jqForm[0]); // validates the form
            if (!r)
                return r;
        }
    },
    success: successFunction,
    complete: completeFunction
});</pre>
<p>Hope that&#8217;ll help a lot boosting your web development.</p>


<p>Related posts:</p><ol><li><a href='http://abcoder.com/javascript/jquery/jquery-cycle-plugin-as-carousel/' rel='bookmark' title='Permanent Link: jQuery cycle plugin as carousel'>jQuery cycle plugin as carousel</a> <small>You can use the jQuery cycle plugin as carousel. No need of special plugin for carousel. Just use the fx: 'scrollHorz' and that's all! This option is kinda hidden on the malsup site. Don't know why they never emphasize on this option!!...</small></li>
<li><a href='http://abcoder.com/javascript/ie6-png-alpha-transparency-fix-for-dynamically-loaded-images-via-ajax/' rel='bookmark' title='Permanent Link: IE6 png alpha transparency fix for dynamically loaded images via ajax'>IE6 png alpha transparency fix for dynamically loaded images via ajax</a> <small>Simple javascript and jQuery code for fixing the alpha transparency problem of png image on Internet explorer 6. iepngfix.htc does not work for dynamic images loaded via ajax call. But this simple code works great for dynamically loaded images....</small></li>
<li><a href='http://abcoder.com/javascript/gmail-uploader-clone-with-drag-drop-feature-free-download-with-source-code/' rel='bookmark' title='Permanent Link: Gmail uploader clone with drag drop feature : Free Download with source code'>Gmail uploader clone with drag drop feature : Free Download with source code</a> <small>Gmail file uploader clone with drag drop feature using jQuery. Download full working source code in a single zip file for free....</small></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://abcoder.com/javascript/using-dreamweaver-spry-validation-with-jquery-ajax-form-plugin/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>AJAX and SEO &#8211; Is it possible to get them together?</title>
		<link>http://abcoder.com/javascript/jquery/ajax-and-seo-is-it-possible-to-get-them-together/</link>
		<comments>http://abcoder.com/javascript/jquery/ajax-and-seo-is-it-possible-to-get-them-together/#comments</comments>
		<pubDate>Sat, 24 Jan 2009 08:38:41 +0000</pubDate>
		<dc:creator>adnan</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[ajax with seo]]></category>
		<category><![CDATA[is ajax seo friendly]]></category>
		<category><![CDATA[search engine optimization]]></category>
		<category><![CDATA[seo and ajax]]></category>

		<guid isPermaLink="false">http://abcoder.com/?p=26</guid>
		<description><![CDATA[About 7 months ago I threw a question on LinkedIn, AJAX &#38; SEO. It was about is ajax seo friendly! (The website can be found here http://demo.zpbappi.com). Most of the people answered &#8220;NO&#8221;. All of them suggested me not to use 100% Ajax(ed) website as search endings do not render the javascript. The site has [...]


Related posts:<ol><li><a href='http://abcoder.com/javascript/ie6-png-alpha-transparency-fix-for-dynamically-loaded-images-via-ajax/' rel='bookmark' title='Permanent Link: IE6 png alpha transparency fix for dynamically loaded images via ajax'>IE6 png alpha transparency fix for dynamically loaded images via ajax</a> <small>Simple javascript and jQuery code for fixing the alpha transparency problem of png image on Internet explorer 6. iepngfix.htc does not work for dynamic images loaded via ajax call. But this simple code works great for dynamically loaded images....</small></li>
<li><a href='http://abcoder.com/javascript/using-dreamweaver-spry-validation-with-jquery-ajax-form-plugin/' rel='bookmark' title='Permanent Link: Using Dreamweaver Spry validation with jQuery ajax form plugin'>Using Dreamweaver Spry validation with jQuery ajax form plugin</a> <small>A simple function for using Spry form validation of Dreamweaver with jQuery ajax form submit plugin. Just put this 3 lines of code in the "beforeSubmit" parameter of $.ajaxForm and that's all!...</small></li>
<li><a href='http://abcoder.com/javascript/a-better-process-to-find-maximum-z-index-within-a-page/' rel='bookmark' title='Permanent Link: A better process to find maximum z-index within a page'>A better process to find maximum z-index within a page</a> <small>A jQuery approach to find the maximum z-index of an element in DOM. You'll find it helpful and handy for your complex javascript application when you need to handle the absolute positioned message windows layers or similar cases....</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>About 7 months ago I threw a question on LinkedIn, <a rel="nofollow" title="AJAX and SEO" href="http://www.linkedin.com/answers?viewQuestion=&amp;questionID=240279&amp;askerID=24489185&amp;goback=.mqr_false_1_DATE.mid_596763036">AJAX &amp; SEO</a>. It was about is ajax seo friendly! (The website can be found here <a rel="nofollow" href="http://demo.zpbappi.com/">http://demo.zpbappi.com</a>). Most of the people answered &#8220;NO&#8221;. All of them suggested me not to use 100% Ajax(ed) website as search endings do not render the javascript. The site has one index.php page and no other pages. When you click any link/buttons it loads the content dynamically using ajax. So I agreed that search engines wont be able to crawl the site properly and stop thinking about it any more.</p>
<p>One week ago I got a project to fully ajaxify a simple static website <a rel="nofollow" title="camillenelson.com" href="http://www.camillenelson.com">camillenelson.com</a> with search enginge readability. I already knew (still then) it is not possible. I started re-thinking about the issue and find out a solution of my own. The site has only 8 pages which is a plus point. To assume any site from search spider&#8217;s view just disable the javascript from your browser settings and you&#8217;ll understand how the spider will go from one link to another.</p>
<p>For example: </p>
<pre class="brush: xml;">&lt;a href=&quot;about.html&quot;
onclick=&quot;javascript: Load('about'); return false;&quot;&gt;
    About
&lt;/a&gt;</pre>
<p>When javascript is enabled, clicking on About link won&#8217;t go to about.html page (return false;), rather it would call Load function. I think you&#8217;ve already got the idea!</p>
<p>In real I used jQuery to make the whole thing unobtrusive. The static html pages (already done) except index.html were kept as they are. In index.html the container div (the only div that changes for different pages) loads the content of different pages. I created a folder &#8220;ajaxContent&#8221; and created the html files with same name of the main html(s) but they contain only the contents, not the full html page.</p>
<p>Here is the jQuery code I used: (N.B. All the links are assigned with &#8220;ajax&#8221; class.)</p>
<pre class="brush: jscript;">$(function() {
    $(&quot;a&quot;).focus(function() {
        this.blur();
    });
    $(&quot;a.ajax&quot;).click(function() {
        var lnk = &quot;ajaxContent/&quot; + $(this).attr(&quot;href&quot;);
        var hover = $(this).find(&quot;img&quot;).attr(&quot;src&quot;);
        var img = $(this).find(&quot;img&quot;);
        $.ajax({
            url: lnk,
            beforeSend: function() {
                $(&quot;div#container&quot;).html('Loading...');
            },
            success: function(d) {
                $(&quot;div#container&quot;).html(d);
            },
            complete: function() {
                $(&quot;#loading&quot;).hide();
            }
        });
        return false;
    });
});</pre>
<p>If you have any better idea to make a fully-ajaxed website SEO friendly please let me know.</p>
<p>Thanks</p>


<p>Related posts:</p><ol><li><a href='http://abcoder.com/javascript/ie6-png-alpha-transparency-fix-for-dynamically-loaded-images-via-ajax/' rel='bookmark' title='Permanent Link: IE6 png alpha transparency fix for dynamically loaded images via ajax'>IE6 png alpha transparency fix for dynamically loaded images via ajax</a> <small>Simple javascript and jQuery code for fixing the alpha transparency problem of png image on Internet explorer 6. iepngfix.htc does not work for dynamic images loaded via ajax call. But this simple code works great for dynamically loaded images....</small></li>
<li><a href='http://abcoder.com/javascript/using-dreamweaver-spry-validation-with-jquery-ajax-form-plugin/' rel='bookmark' title='Permanent Link: Using Dreamweaver Spry validation with jQuery ajax form plugin'>Using Dreamweaver Spry validation with jQuery ajax form plugin</a> <small>A simple function for using Spry form validation of Dreamweaver with jQuery ajax form submit plugin. Just put this 3 lines of code in the "beforeSubmit" parameter of $.ajaxForm and that's all!...</small></li>
<li><a href='http://abcoder.com/javascript/a-better-process-to-find-maximum-z-index-within-a-page/' rel='bookmark' title='Permanent Link: A better process to find maximum z-index within a page'>A better process to find maximum z-index within a page</a> <small>A jQuery approach to find the maximum z-index of an element in DOM. You'll find it helpful and handy for your complex javascript application when you need to handle the absolute positioned message windows layers or similar cases....</small></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://abcoder.com/javascript/jquery/ajax-and-seo-is-it-possible-to-get-them-together/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Flickr Uploader Clone: Free Download with source code</title>
		<link>http://abcoder.com/javascript/flickr-uploader-clone-free-download-with-source-code/</link>
		<comments>http://abcoder.com/javascript/flickr-uploader-clone-free-download-with-source-code/#comments</comments>
		<pubDate>Sun, 30 Nov 2008 18:13:44 +0000</pubDate>
		<dc:creator>adnan</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Core JavaScript]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[flash uploader]]></category>
		<category><![CDATA[Flickr]]></category>
		<category><![CDATA[Flickr Uploader]]></category>
		<category><![CDATA[Javascript uploader with progress bar]]></category>
		<category><![CDATA[Uploader]]></category>

		<guid isPermaLink="false">http://abcoder.com/?p=18</guid>
		<description><![CDATA[Flickr Uploader clone for free using javascript and flash. PHP is used for server side. Download if for completely free in one zip file.


Related posts:<ol><li><a href='http://abcoder.com/javascript/gmail-uploader-clone-with-drag-drop-feature-free-download-with-source-code/' rel='bookmark' title='Permanent Link: Gmail uploader clone with drag drop feature : Free Download with source code'>Gmail uploader clone with drag drop feature : Free Download with source code</a> <small>Gmail file uploader clone with drag drop feature using jQuery. Download full working source code in a single zip file for free....</small></li>
<li><a href='http://abcoder.com/javascript/how-to-get-currently-logged-on-windows-username-in-php-javascript/' rel='bookmark' title='Permanent Link: How to get currently logged on windows username in PHP and Javascript'>How to get currently logged on windows username in PHP and Javascript</a> <small>Get current windows username in php and javascript! Is that possible?...</small></li>
<li><a href='http://abcoder.com/flickr/flicka-on-android-market-is-knocking-at/' rel='bookmark' title='Permanent Link: Flicka on Android Market is knocking at'>Flicka on Android Market is knocking at</a> <small>Flickr.com is going to introduce its aptitude through Flicka on Android phone....</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I have been searching for flickr uploader clone script online for one of my project. But no luck! There is no such thing on internet. Then I started with analyzing the javascript code of flickr uploader. Lucky that they did not packed their js. Though it was minified by removing white spaces. I used an online javascript code beautifier to make it pretty readable. After that the challenging part began. Cos, the code normally does not work on my local server. After huge hard working of long one week I made it finally. It works great! Even it works for videos too. You can modify the code for uploading any types of file. FYI, Flickr has used YUI (Yahoo User Interface) library for their uploader. So there is no licensing problem if you use this uploader for your own.</p>
<p>For my own need I added 2 extra fields. They are sent to server via POST method along with the FILES. One thing I&#8217;ve noticed, it can upload file faster than normal file uploading method. Cos, the file is encoded first via the flash uploader and somehow it is faster than normal.</p>
<p><img src="http://abcoder.com/YUI/select-multiple-files.jpg" alt="Upload Multiple File Once" width="500" height="299" /></p>
<p>And the great advantage is you can select multiple files during browsing by pressing Ctlr + A or select your files by dragging mouse. By using html &lt;input type=&#8221;file&#8221; /&gt; you can only select one file at a time which is really so boaring and life-taking when you want to upload hundreds of images.</p>
<p><img src="http://abcoder.com/YUI/Flickr-YUI-Uploader.jpg" alt="Flickr YUI Uploader" width="500" height="600" /></p>
<p><a title="Flickr Uploader using YUI" href="http://abcoder.com/YUI" target="_blank"><strong>Here is the online demo</strong></a>. The files are not being saved on my server for my own security!</p>
<p><a title="Free download Flickr Uploader using YUI - zip file." href="http://abcoder.com/YUI/Flickr-YUI.zip" target="_blank">Download it here completely free in a single zip file</a>!</p>
<p><strong>Modify the index_files/config.js file line no 49,<br />
var _site_root = &#8216;your script location&#8217;;</strong><br />
<strong>It won&#8217;t work for you until you change _site_root</strong></p>
<p>I have no problem if you use it for your own use. But I do not actually want anyone to put the files/zip on their own site to drive the traffics away from our blog.</p>
<p>If you need any support for modifying or setting it up or any bug report please contact me directly at <a title="adnan.eee@gmail.com" href="mailto:adnan.eee@gmail.com" target="_blank">adnan.eee@gmail.com</a></p>
<p>Thanks<br />
Have a pain-less uploading experience!</p>


<p>Related posts:</p><ol><li><a href='http://abcoder.com/javascript/gmail-uploader-clone-with-drag-drop-feature-free-download-with-source-code/' rel='bookmark' title='Permanent Link: Gmail uploader clone with drag drop feature : Free Download with source code'>Gmail uploader clone with drag drop feature : Free Download with source code</a> <small>Gmail file uploader clone with drag drop feature using jQuery. Download full working source code in a single zip file for free....</small></li>
<li><a href='http://abcoder.com/javascript/how-to-get-currently-logged-on-windows-username-in-php-javascript/' rel='bookmark' title='Permanent Link: How to get currently logged on windows username in PHP and Javascript'>How to get currently logged on windows username in PHP and Javascript</a> <small>Get current windows username in php and javascript! Is that possible?...</small></li>
<li><a href='http://abcoder.com/flickr/flicka-on-android-market-is-knocking-at/' rel='bookmark' title='Permanent Link: Flicka on Android Market is knocking at'>Flicka on Android Market is knocking at</a> <small>Flickr.com is going to introduce its aptitude through Flicka on Android phone....</small></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://abcoder.com/javascript/flickr-uploader-clone-free-download-with-source-code/feed/</wfw:commentRss>
		<slash:comments>34</slash:comments>
		</item>
	</channel>
</rss>
