Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

example don't work
  • I tried to make the example on the site work, but I can't.
    I made a directory whit the name of uploadify , i copied the files there, I can see in firebug, that the scripts are loaded, i added an alert line to check everything is ok whit JS and alert is worked, but uploadify isn't.
    Here is the code, where is the problem?:


    <html>
    <head>
    <link href="uploadify/uploadify.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript" src="uploadify/jquery-1.4.2.min.js"></script>
    <script type="text/javascript" src="uploadify/swfobject.js"></script>
    <script type="text/javascript" src="uploadify/jquery.uploadify.v2.1.4.min.js"></script>
    <script type="text/javascript">
    $(document).ready(function() {
    $('#file_upload').uploadify({
    'uploader' : 'uploadify/uploadify.swf',
    'script' : 'uploadify/uploadify.php',
    'cancelImg' : 'uploadify/cancel.png',
    'folder' : 'uploads',
    'auto' : true
    }
    });
    </script>
    </head>
    <body>
    <input id="file_upload" name="file_upload" type="file" />
    </body>
    </html>


    I uploaded it here:

    http://www.ghostika.synhosting.eu/test/

    thanx for the help.
  • Documentation was missing a );

    add a ); after 'auto' : true }
    'auto' : true
    });