Modifikasi Contact Form Dengan Style UI

Discussion in 'HTML & Website Design' started by Virlyz82, Jun 9, 2014.

  1. Virlyz82

    Virlyz82 Member

    Joined:
    Jan 23, 2014
    Messages:
    67
    Likes Received:
    2
    Trophy Points:
    8
    Google+:
    [​IMG]

    Modifikasi Contact Form UI Style
    - Dengan adanya penambahan fitur baru blogger yaitu Contact Form ( send feed back ), maka banyak sekali para blogger yang sudah memodifikasinya dengan tampilan yang berbeda dan menjadikannya widget unik blog. dan untuk kali ini saya juga akan mencoba membuat sedikit efek contact me ( contact form ) dengan sedikit nuansa metro UI style.

    DEMO

    Komponen Dasarnya adalah sebagai berikut :

    CSS
    Code:
    .ContactForm, .ContactForm .title {
    display: none;
    }
    .floating-ct {
    position: fixed;
    width: 250px;
    right: 0;
    bottom: 0;
    z-index: 999;
    }
    .floating-ct-head a:hover {
    color: #fff;
    background: #2c3e50;
    }
    .floating-ct-head a {border-radius:8px 0 0 0;
    text-decoration:none;
    padding: 5px 10px;
    background: #16a085;
    color:#fff;
    font-weight: bold;
    display: inline-block;
    zoom: 1;
    }
    .floating-ct-body {
    height: 311px;
    background: #FD6CA3;
    border: 1px solid #FD6CA3;
    padding: 10px;
    display: none;
    }
    .floating-ct-head {
    text-align: right;
    }
    .floating-ct-body .ContactForm {
    margin: 0;
    display: block!important;
    }
    
    Javascript
    Code:
    //<![CDATA[
    $('body').append('<div class="floating-ct"><div class="floating-ct-head"><a href="#no-move">Contact Me</a></div><div class="floating-ct-body"></div></div>');
    $('.ContactForm').appendTo('.floating-ct-body');
    var slide_up_ct = false;
    $('.floating-ct-head a').click(function(){
    if (!slide_up_ct) {
    slide_up_ct = true;
    $('.floating-ct-body').slideDown();
    } else {
    slide_up_ct = false;
    $('.floating-ct-body').slideUp();
    }
    });
    //]]>
    
    SOURCE
     
    Last edited by a moderator: Jun 9, 2014
  2. pram

    pram Well-Known Member

    Joined:
    Sep 23, 2013
    Messages:
    3,099
    Likes Received:
    161
    Trophy Points:
    63
    Google+:
    Wah btw Demonya kok saya klik nggak ada yang demo untuk contact formnya ?
     
  3. Virlyz82

    Virlyz82 Member

    Joined:
    Jan 23, 2014
    Messages:
    67
    Likes Received:
    2
    Trophy Points:
    8
    Google+:
    Itu demonya di pojok kanan bawah blog
     
  4. pram

    pram Well-Known Member

    Joined:
    Sep 23, 2013
    Messages:
    3,099
    Likes Received:
    161
    Trophy Points:
    63
    Google+:
    iya bener gan udah ketemu, letaknya agak susah dilihat ya. mungkin kalau contact lebih baik berada di page :)
     
  5. Virlyz82

    Virlyz82 Member

    Joined:
    Jan 23, 2014
    Messages:
    67
    Likes Received:
    2
    Trophy Points:
    8
    Google+:
    Namanya juga floating widget Mas
     
  6. Ardian

    Ardian New Member

    Joined:
    Jun 22, 2014
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Keren gan... patut dicoba nih
     
  7. exabytes-id

    exabytes-id Member

    Joined:
    Oct 3, 2013
    Messages:
    866
    Likes Received:
    35
    Trophy Points:
    28
    keren gan. sepertinya warna flast memang sedang populernya saat ini.
     
  8. Dede P

    Dede P Member

    Joined:
    Nov 4, 2014
    Messages:
    40
    Likes Received:
    2
    Trophy Points:
    8
    sip gan.... ntar tak coba
     
Loading...

Share This Page