upload2.us Layout - coded

Results 1 to 12 of 12
  1. #1
    Web Developer Markshall is offline
    MemberRank
    Oct 2009 Join Date
    EnglandLocation
    628Posts

    upload2.us Layout - coded

    You may have seen my other thread getting an opinion on a layout I designed for my website, upload2us - Get Google Chrome - anyway, I received good feedback from it so I decided to code it.

    Here is an image of my result:


    Personally I'm proud of it - I'm glad I spent the time I did creating it because I'm pleased with my outcome.

    I have also uploaded a demo of the layout so you guys can test it out.

    upload2.us • Home

    All feedback will be appreciated. Thanks.


  2. #2
    Zzzz... billybombill is offline
    MemberRank
    Dec 2008 Join Date
    1,355Posts

    Re: upload2.us Layout - coded

    I would recommend increasing line-height on the main paragraph though, it seems squished. Other than that its awesome :D

  3. #3
    Web Developer Markshall is offline
    MemberRank
    Oct 2009 Join Date
    EnglandLocation
    628Posts

    Re: upload2.us Layout - coded

    Thanks for the idea and feedback. I've fixed line-height now :).

  4. #4
    Alpha Member Caustik is offline
    MemberRank
    May 2011 Join Date
    LondonLocation
    1,837Posts

    Re: upload2.us Layout - coded

    It's very clean and looks pretty awesome, good one Mark

  5. #5
    Proficient Member Alexx. is offline
    MemberRank
    Feb 2011 Join Date
    160Posts

    Re: upload2.us Layout - coded

    Nice, was waiting for this layout to be released.

  6. #6
    Web Developer Markshall is offline
    MemberRank
    Oct 2009 Join Date
    EnglandLocation
    628Posts

    Re: upload2.us Layout - coded

    Thanks for the feedback :D

    I think it's time to start coding the PHP into it tomorrow.

    Alexx., where did you hear about it?

  7. #7
    Developer Chris is offline
    DeveloperRank
    Nov 2008 Join Date
    933Posts

    Re: upload2.us Layout - coded

    It looks sexy. The drag to upload is a good idea for the new version as well.

    good job ^_^

  8. #8
    Proficient Member Lautaro is offline
    MemberRank
    Jul 2007 Join Date
    CaliforniaLocation
    163Posts

    Re: upload2.us Layout - coded

    looks nice..

    i would just suggest changing "we accept anything except" to "we accept everything except".


  9. #9
    C:\ WizCoder is offline
    MemberRank
    Aug 2010 Join Date
    JapanLocation
    703Posts

    Re: upload2.us Layout - coded

    Looking real nice.

  10. #10
    Hm. foxx is offline
    MemberRank
    Sep 2006 Join Date
    Czech RepublicLocation
    5,257Posts

    Re: upload2.us Layout - coded

    unfortunately extremely messy

    ---------- Post added at 10:37 AM ---------- Previous post was at 10:28 AM ----------

    heavy weight coded as well..

    I've done this ages ago Grafické studio F13 | upload uploading something is matter of seconds, not a single refresh

    Last edited by foxx; 30-08-11 at 12:44 PM.

  11. #11
    Alpha Member Justei is offline
    MemberRank
    Oct 2007 Join Date
    /f241Location
    1,904Posts

    Re: upload2.us Layout - coded

    Quote Originally Posted by foxx View Post
    unfortunately extremely messy

    ---------- Post added at 10:37 AM ---------- Previous post was at 10:28 AM ----------

    heavy weight coded as well..

    I've done this ages ago Grafické studio F13 | upload uploading something is matter of seconds, not a single refresh

    Well, isn't that just uploadify and some simple cssing? :P

  12. #12
    Hm. foxx is offline
    MemberRank
    Sep 2006 Join Date
    Czech RepublicLocation
    5,257Posts

    Re: upload2.us Layout - coded

    You tell me.

    It's uploadify AND just this.


    <script type="text/javascript" src="/scripts/jquery.center.js"></script>
    <script type="text/javascript" src="/scripts/ZeroClipboard.js"></script>

    PHP Code:
    function fadeOutPop() {
        
    jQuery('.popMsg').fadeOut("slow", function() {
            
    jQuery('.popMsg').remove();
        });

    }
    var 
    timeout;

    var 
    clip null;

    function $(
    id) { return document.getElementById(id); }

    function 
    init() {
        
    // Enable Rich HTML support (Flash Player 10 Only)
        
    ZeroClipboard.setMoviePath'/scripts/ZeroClipboard10.swf' );
        
        
    // Create our clipboard object as per usual
        
    clip = new ZeroClipboard.Client();
        
    clip.setHandCursortrue );
        
        
    clip.addEventListener('mouseOver', function (client) {
            
    // update the text on mouse over
            
    clip.setText( $('urlToFile').value );
        });
        
        
    clip.addEventListener('complete', function (clienttext) {
                
    jQuery("body").append('<div class="popMsg"><div class="popMsgInside">Úspěšně zkopírováno do schránky</div></div>');
                
                
    jQuery('.popMsg').center();

                
    clearTimeout(timeout);
                
    timeout setTimeout('fadeOutPop()'2000);

                
                
    jQuery('.popMsg').click(function() {
                    
    fadeOutPop();
                });
        });

        
        
    clip.glue'd_clip_button' );
    }


    jQuery(document).ready(function() {
        
    init();
        
        
    //alert(jQuery("#browser").val());
        
    jQuery("#uploadify").uploadify({
            
    'uploader'       'scripts/uploadify.swf',
            
    'script'         '/upload.php?browserip='+jQuery("#browser").val()+' / '+jQuery("#ip").val(),
            
    //'script'         : '/upload.php?browser=sfd&asfa=sdfs',
            
    'cancelImg'      '/images/cancel.png',
            
    'folder'         'uploads',
            
    'queueID'        'fileQueue',
            
    'auto'           true,
            
    'fileDesc'         'Typ souboru',
            
    'fileExt'         '*.pdf;*.rar;*.zip;*.jpg;*.png;*.gif;*.bmp;*.exe;*.psd;*.jpeg;*.7z;*.doc;*.txt;*.xls;*.docx;*.xlsx;*.pptx;*.crd;',
            
    'multi'          false,
            
    'buttonText'     'Vybrat soubor',
            
            
    'onError'         : function (abcd) {
                                    
    console.log(d);                        
                                },    
            
            
    'onComplete'     : function (abcd) {
                                    
    //console.log(d);
                                    
                                    
    if (!= 0) {
                                        var 
    json = eval('(' ')');
                                        
                                        if (
    json.list) {
                                            
    jQuery("#files").prepend(json.list);
                                            
    jQuery("#files .clip.hidden").removeClass("hidden");
                                            
    jQuery("#urlToFile").val(json.url);
                                            
                                            
    jQuery('<span class="or">nebo zkopírujte odkaz ručně..</span>'+json.bigInput).insertAfter("#files");
                                            
                                            
    jQuery("#forKubajz").focus(function(){
                                                
    jQuery(this).select();
                                            });


                                            
    clip.reposition();
                                        
                                        } else {
                                            $(
    '#uploadify').uploadifyClearQueue();
                                        }
                                    } else {
                                        $(
    '#uploadify').uploadifyClearQueue();
                                        
                                    }
                                },
                                
            
    'onSelectOnce'     : function() {
                                
    jQuery("#files dt, #files dd").not(".clip").remove();
                                
    jQuery("#files .clip").addClass("hidden");
                                
    jQuery("#forKubajz, .or").remove();
                            }

        });
    }); 


    ---------- Post added at 03:58 PM ---------- Previous post was at 03:54 PM ----------

    Took me quite a while to get the shit working with that flash clipboard shit actually.



Advertisement