Showing posts with label JQuery. Show all posts
Showing posts with label JQuery. Show all posts

Efek Gambar Pecah dengan Jquery

Demo Disini

bagaimana??? anda tertarik??? berikut adalah script simple dari penggunaan fungsi jquery di atas :

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript">
</script><script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.5/jquery-ui.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#hide").click(function(){
$(".pecah").hide("explode",
{pieces:19},6000);});
$("#show").click(function(){
$(".pecah").show("explode",
{pieces:19},6000)
;});});
</script>
<style type="text/css">
.pecah{margin-left:200px;}#show(text-align:center;)</style>

<div class="pecah"><div id="hide">
<img src="MASUKAN URL GAMBAR DI SINI"/>

<button id="show">Kembalikan gambarnya!!!</button>
</div></div>

yg warna ijo ganti dengan url image anda  sedangkan yang berwarna pink

{pieces:19},6000);});

adalah pecahan dan kecepatan... anda juga dapat mengkreasikan dengan box shadow 

untuk box-shadow anda bisa berkunjung kesini

Efek Gambar Pecah dengan Jquery

Demo Disini

bagaimana??? anda tertarik??? berikut adalah script simple dari penggunaan fungsi jquery di atas :

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript">
</script><script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.5/jquery-ui.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#hide").click(function(){
$(".pecah").hide("explode",
{pieces:19},6000);});
$("#show").click(function(){
$(".pecah").show("explode",
{pieces:19},6000)
;});});
</script>
<style type="text/css">
.pecah{margin-left:200px;}#show(text-align:center;)</style>

<div class="pecah"><div id="hide">
<img src="MASUKAN URL GAMBAR DI SINI"/>

<button id="show">Kembalikan gambarnya!!!</button>
</div></div>

yg warna ijo ganti dengan url image anda  sedangkan yang berwarna pink

{pieces:19},6000);});

adalah pecahan dan kecepatan... anda juga dapat mengkreasikan dengan box shadow 

untuk box-shadow anda bisa berkunjung kesini

Pasang Exchange Link Dengan Efek Jquery


DEMO : __________________________
                                                                   |
/_________________________________|
\                                          |
                                           |
                                           |
                                           |
                                           |
                                           |
                                          \|/






mw widget seperti di atas?? berikut tutorialnya :




pertama anda mendaftar dulu di sini 

setelah mendaftar  :

masuk ke bagian wizard dan setelah itu pilih untuk blogger dan pilih di bawahnya Original Auto-Linkies


lalu terakhir copas kode di bawah ini sebelumnya masuk blogger - rancangan - tambah widget - html/javascript

<center><b>yang mw linknya masuk di bawah ini mari ceng cengan</b></center>
<style type="text/css">
#tag-cloud {

    width: 600px;

    height: 400px;

    border: 2px solid black;

    margin: 20px auto;

    overflow: hidden;

    position: relative;

    background: #111 url(http://kmwlrs.com/images/Grey%20Gradient%20GIF.gif) center center repeat;

    border-radius: 20px;

    -moz-border-radius: 20px;

    -webkit-border-radius: 20px;

    box-shadow:1px 1px 12px #000;

    -moz-box-shadow:1px 1px 12px #000;

    -webkit-box-shadow:1px 1px 12px #000;

    -o-transition: all 2s ease-in-out;

    -moz-transition: all 2s ease-in-out;

    -webkit-transition: all 2s ease-in-out;

        list-style: none;  

    }

#tag-cloud:hover {

    -o-transform: scale(1.1) rotate(0deg) translate(0px);

    -moz-transform: scale(1.1) rotate(0deg) translate(0px);

    -webkit-transform: scale(1.1) rotate(0deg) translate(0px);

    opacity: 1.0;

    background: black url(http://www.filehive.com/files/081007/3-seungyeon.jpg);

    border-color: red;

    box-shadow:1px 4px 18px #000;

    -moz-box-shadow:1px 4px 18px #000;

    -webkit-box-shadow:1px 4px 18px #000;          

    }

#tag-cloud li {list-style: none;}  
</style>  

<style type="text/css">
a.white { color: #fff;}

a.green { color: #00FF99;}

a.yellow { color: #FFFF99;}

a.blue { color: #02ddfe;}

a.gray { color: #CCCCCC;}

a.orange { color: #FFCC99;}

a.lime { color: #FF99FF;}

a.red { color: #fd3a31;}

a.white, a.green, a.yellow, a.blue, a.gray, a.orange, a.lime, a.red {

    text-decoration:none;

    padding:3px 8px;

    opacity: 0.8;

    filter: alpha(opacity=80);

    font-family: Times New Roman;

    font-weight: normal;

    text-shadow: 0 1px 1px #000;

    -o-transition: all 1s ease-in-out;

    -moz-transition: all 1s ease-in-out;

    -webkit-transition: all 1s ease-in-out;  

    }

a.white:hover, a.green:hover, a.yellow:hover, a.blue:hover, a.gray:hover, a.orange:hover, a.lime:hover, a.red:hover {

    background-color:#777;

    opacity: 1.0;

    filter: alpha(opacity=100);

    border-radius: 15px;

    -moz-border-radius: 15px;

    -webkit-border-radius: 15px;

    text-shadow: 0 1px 1px #000;

    box-shadow:1px 1px 15px #fff;

    -moz-box-shadow:1px 1px 15px #fff;

    -webkit-box-shadow:1px 1px 15px #fff;

    -o-transform: scale(1.2);

    -moz-transform: scale(1.2);

    -webkit-transform: scale(1.2);  

    color:#990000;

    border: 2px solid #999;

    }

/*#tag-cloud { position:relative; top:10px; left:10px; height:300px; width:400px; border:1px solid red; overflow:hidden; margin-bottom:40px;}*/

#tag-cloud1 { position:relative; top:10px; left:10px; height:400px; width:500px; border:1px solid red; overflow:hidden; margin-bottom:40px;}

#tag-cloud2 { position:relative; top:10px; left:10px; height:300px; width:300px; border:1px solid red; overflow:hidden; margin-bottom:40px;}
</style>

<ul id="tag-cloud" style="list-style: none outside none;">
<li>kode script mister linky widget anda</li>
</ul>


save dan liat hasilnya selamat mencoba!!!

Pasang Exchange Link Dengan Efek Jquery


DEMO : __________________________
                                                                   |
/_________________________________|
\                                          |
                                           |
                                           |
                                           |
                                           |
                                           |
                                          \|/






mw widget seperti di atas?? berikut tutorialnya :




pertama anda mendaftar dulu di sini 

setelah mendaftar  :

masuk ke bagian wizard dan setelah itu pilih untuk blogger dan pilih di bawahnya Original Auto-Linkies


lalu terakhir copas kode di bawah ini sebelumnya masuk blogger - rancangan - tambah widget - html/javascript

<center><b>yang mw linknya masuk di bawah ini mari ceng cengan</b></center>
<style type="text/css">
#tag-cloud {

    width: 600px;

    height: 400px;

    border: 2px solid black;

    margin: 20px auto;

    overflow: hidden;

    position: relative;

    background: #111 url(http://kmwlrs.com/images/Grey%20Gradient%20GIF.gif) center center repeat;

    border-radius: 20px;

    -moz-border-radius: 20px;

    -webkit-border-radius: 20px;

    box-shadow:1px 1px 12px #000;

    -moz-box-shadow:1px 1px 12px #000;

    -webkit-box-shadow:1px 1px 12px #000;

    -o-transition: all 2s ease-in-out;

    -moz-transition: all 2s ease-in-out;

    -webkit-transition: all 2s ease-in-out;

        list-style: none;  

    }

#tag-cloud:hover {

    -o-transform: scale(1.1) rotate(0deg) translate(0px);

    -moz-transform: scale(1.1) rotate(0deg) translate(0px);

    -webkit-transform: scale(1.1) rotate(0deg) translate(0px);

    opacity: 1.0;

    background: black url(http://www.filehive.com/files/081007/3-seungyeon.jpg);

    border-color: red;

    box-shadow:1px 4px 18px #000;

    -moz-box-shadow:1px 4px 18px #000;

    -webkit-box-shadow:1px 4px 18px #000;          

    }

#tag-cloud li {list-style: none;}  
</style>  

<style type="text/css">
a.white { color: #fff;}

a.green { color: #00FF99;}

a.yellow { color: #FFFF99;}

a.blue { color: #02ddfe;}

a.gray { color: #CCCCCC;}

a.orange { color: #FFCC99;}

a.lime { color: #FF99FF;}

a.red { color: #fd3a31;}

a.white, a.green, a.yellow, a.blue, a.gray, a.orange, a.lime, a.red {

    text-decoration:none;

    padding:3px 8px;

    opacity: 0.8;

    filter: alpha(opacity=80);

    font-family: Times New Roman;

    font-weight: normal;

    text-shadow: 0 1px 1px #000;

    -o-transition: all 1s ease-in-out;

    -moz-transition: all 1s ease-in-out;

    -webkit-transition: all 1s ease-in-out;  

    }

a.white:hover, a.green:hover, a.yellow:hover, a.blue:hover, a.gray:hover, a.orange:hover, a.lime:hover, a.red:hover {

    background-color:#777;

    opacity: 1.0;

    filter: alpha(opacity=100);

    border-radius: 15px;

    -moz-border-radius: 15px;

    -webkit-border-radius: 15px;

    text-shadow: 0 1px 1px #000;

    box-shadow:1px 1px 15px #fff;

    -moz-box-shadow:1px 1px 15px #fff;

    -webkit-box-shadow:1px 1px 15px #fff;

    -o-transform: scale(1.2);

    -moz-transform: scale(1.2);

    -webkit-transform: scale(1.2);  

    color:#990000;

    border: 2px solid #999;

    }

/*#tag-cloud { position:relative; top:10px; left:10px; height:300px; width:400px; border:1px solid red; overflow:hidden; margin-bottom:40px;}*/

#tag-cloud1 { position:relative; top:10px; left:10px; height:400px; width:500px; border:1px solid red; overflow:hidden; margin-bottom:40px;}

#tag-cloud2 { position:relative; top:10px; left:10px; height:300px; width:300px; border:1px solid red; overflow:hidden; margin-bottom:40px;}
</style>

<ul id="tag-cloud" style="list-style: none outside none;">
<li>kode script mister linky widget anda</li>
</ul>


save dan liat hasilnya selamat mencoba!!!

Animated Tag Cloud dengan JQuery & CSS3

DEMO :





mw yang seperti di atas???


langsung saja ke TKP :


step terakhir : masuk blogger - add widget - html/javascript 


masukkan kode berikut :







KLIK "SELECT ALL" UNTUK MELAKUKAN COPY PASTE






save dan liat hasilnya selamat mencoba dan jangan lupa kasi sedikit komen atau tambahan !!!

Animated Tag Cloud dengan JQuery & CSS3

DEMO :





mw yang seperti di atas???


langsung saja ke TKP :


step terakhir : masuk blogger - add widget - html/javascript 


masukkan kode berikut :







KLIK "SELECT ALL" UNTUK MELAKUKAN COPY PASTE






save dan liat hasilnya selamat mencoba dan jangan lupa kasi sedikit komen atau tambahan !!!

Membuat Menu Box Transisi Dengan JQuery

Demo : http://longfield-transitionpage.blogspot.com/
source : http://tympanus.net/Tutorials/LittleBoxesMenu/











step 1 :masukkan kode berikut di atas ]]></:b:skin>



kode image.jpg di atas anda ganti dengan url gambar yang anda inginkan
step 2 : masukkan script berikut di atas </head>





step 3 : masukkan kode berikut sebelum </body>



step 4 : masukan pada bagian body code berikut dan bisa juga di letakkan pada widget terserah anda




save dan liat hasilnya selamat mencoba dan jangan lupa kasi sedikit komen atau tambahan !!!

Membuat Menu Box Transisi Dengan JQuery

Demo : http://longfield-transitionpage.blogspot.com/
source : http://tympanus.net/Tutorials/LittleBoxesMenu/











step 1 :masukkan kode berikut di atas ]]></:b:skin>



kode image.jpg di atas anda ganti dengan url gambar yang anda inginkan
step 2 : masukkan script berikut di atas </head>





step 3 : masukkan kode berikut sebelum </body>



step 4 : masukan pada bagian body code berikut dan bisa juga di letakkan pada widget terserah anda




save dan liat hasilnya selamat mencoba dan jangan lupa kasi sedikit komen atau tambahan !!!

Membuat Menu Box Transisi Dengan JQuery

Demo : http://longfield-transitionpage.blogspot.com/
source : http://tympanus.net/Tutorials/LittleBoxesMenu/








step 1 : (langsung saja yaa kk :P ) masuk blogger - rancangan - Edit HTML


masukkan kode berikut di atas ]]></b:skin>


*/------------transisi---------------*/
.littleBoxes{

    width:350px;

    height:350px;

    margin:0 auto;

    position:relative;

}

.littleBoxes > div{

    position:absolute;

    width:90px;

    height:90px;

    text-align:center;

    border:2px solid white;

    overflow:hidden;

    background-color:#f7f7f7;

    -moz-box-shadow:0px 0px 3px #555;

    -webkit-box-shadow:0px 0px 3px #555;

    box-shadow:0px 0px 3px #555;

    background-position:center center;

    z-index:999;

}

.littleBoxes div a{

    text-transform:uppercase;

    font-size: 18px;

    font-weight:bold;

    letter-spacing:-1px;

    display:block;

    line-height:90px;

    text-decoration:none;

    color:#fff;

    background:#91EF4A url(../bgItem.png) repeat-x top left;

    outline:none;

    text-shadow:1px 1px 1px #888;

    -moz-box-shadow:1px 1px 3px #777;

    -webkit-box-shadow:1px 1px 3px #777;

    box-shadow:1px 1px 3px #777;

}

.littleBoxes div.boxcontent{

    width:334px;

    height:246px;

    text-align:left;

    padding:10px;

    font-size:16px;

    background-color:#f0f0f0;

    border:2px solid #fff;

    margin:10px 0px 0px 10px;

    text-shadow:1px 1px 1px #fff;

    -moz-box-shadow:1px 1px 3px #777;

    -webkit-box-shadow:1px 1px 3px #777;

    box-shadow:1px 1px 3px #777;

    opacity:0.8;

    display:none;

}

.bg1, .bg2, .bg3, .bg4{

    background-repeat:no-repeat;

}

.bg1{

    background-image:url(../images/1.jpg);   

}

.bg2{

    background-image:url(../images/2.jpg);

}

.bg3{

    background-image:url(../images/3.jpg);

}

.bg4{

    background-image:url(../images/4.jpg);

}

.bg5{

    background-image:url(../images/5.jpg);

}




step 2 : masukkan script berikut di atas </head>


<script type='text/javascript'>


  var _gaq = _gaq || [];
  _gaq.push([&#39;_setAccount&#39;, &#39;UA-7243260-2&#39;]);
  _gaq.push([&#39;_trackPageview&#39;]);


  (function() {
    var ga = document.createElement(&#39;script&#39;); ga.type = &#39;text/javascript&#39;; ga.async = true;
    ga.src = (&#39;https:&#39; == document.location.protocol ? &#39;https://ssl&#39; : &#39;http://www&#39;) + &#39;.google-analytics.com/ga.js&#39;;
    var s = document.getElementsByTagName(&#39;script&#39;)[0]; s.parentNode.insertBefore(ga, s);
  })();


</script>




step 3 : letakkan script berikut di atas </body>


<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js' type='text/javascript'/>
        <script src='http://tympanus.net/Tutorials/LittleBoxesMenu/jquery.easing.1.3.js' type='text/javascript'/>
       <script type='text/javascript'>
            $(function() {
                /* object to save the initial positions of each box */
                var divinfo = {&quot;initial&quot;: []};
                /* index of the selected / clicked box */
                var current = -1;


                /* we save the index,top and left of each one of the boxes */
                $(&#39;#littleBoxes &gt; div&#39;).each(function(){
                    var $this = $(this);
                    var initial = {
                                &#39;index&#39; : $this.index(),
                                &#39;top&#39;     : $this.css(&#39;top&#39;),
                                &#39;left&#39;     : $this.css(&#39;left&#39;)
                    };
                    divinfo.initial.push(initial);
                });


                /* clcik event for the anchors inside of the boxes */
                $(&#39;#littleBoxes a&#39;).bind(&#39;click&#39;,function(e){
                        var $this         = $(this);
                        var $currentBox    = $this.parent();
                        /* set a z-index lower than all the other boxes,
                        to see the other boxes animation on the top*/
                        $currentBox.css(&#39;z-index&#39;,&#39;1&#39;);


                        /* if we are clicking on a expanded box : */
                        if(current == $currentBox.index()){
                            /* put it back (decrease width,height, and set the top and left like it was before).
                            the previous positions are saved in the divinfo obj*/
                            $currentBox.stop().animate({
                                    &#39;top&#39;         : divinfo.initial[$currentBox.index()].top,
                                    &#39;left&#39;        : divinfo.initial[$currentBox.index()].left,
                                    &#39;width&#39;     : &#39;90px&#39;,
                                    &#39;height&#39;    : &#39;90px&#39;
                            },800,&#39;easeOutBack&#39;).find(&#39;.boxcontent&#39;).fadeOut();




                            $(&#39;#littleBoxes &gt; div&#39;).not($currentBox).each(function(){
                                var $ele         = $(this);
                                var elemTop     = divinfo.initial[$ele.index()].top;
                                var elemLeft     = divinfo.initial[$ele.index()].left;
                                $ele.stop().show().animate({
                                    &#39;top&#39;         : elemTop,
                                    &#39;left&#39;        : elemLeft,
                                    &#39;opacity&#39;    : 1
                                },800);
                            });
                            current = -1;
                        }
                        /* if we are clicking on a small box : */
                        else{
                            /* randomly animate all the other boxes.
                            Math.floor(Math.random()*601) - 150 gives a random number between -150 and 450.
                            This range is considering the initial lefts/tops of the elements. It&#39;s not the exact right
                            range, since we would have to calculate the range based on each one of the boxes. Anyway, it
                            fits our needs...
                            */
                            $(&#39;#littleBoxes &gt; div&#39;).not($currentBox).each(function(){
                                var $ele = $(this);
                                $ele.stop().animate({
                                    &#39;top&#39; : (Math.floor(Math.random()*601) - 150) +&#39;px&#39;,
                                    &#39;left&#39;: (Math.floor(Math.random()*601) - 150) +&#39;px&#39;,
                                    &#39;opacity&#39;:0
                                },800,function(){
                                    $(this).hide();
                                });
                            });


                            /* expand the clicked one. Also, fadeIn the content (boxcontent)
                            if you want it to fill the space of the littleBoxes container,
                            then these are the right values */
                            var newwidth     = 379;
                            var newheight     = 379;
                            $currentBox.stop().animate({
                                &#39;top&#39;     : &#39;0px&#39;,
                                &#39;left&#39;    : &#39;0px&#39;,
                                &#39;width&#39; : newwidth +&#39;px&#39;,
                                &#39;height&#39;: newheight+&#39;px&#39;
                            },800,&#39;easeOutBack&#39;,function(){
                                current = $currentBox.index();
                                $(this).find(&#39;.boxcontent&#39;).fadeIn();
                            });




                        }
                        e.preventDefault();
                });
            });
        </script>






step 4 : tinggal melakukan penempatan body dan div ini bisa anda kreasikan sendiri misalkan menu pertama untuk chat menu ke 2 untuk label dan sebagainya kodenya :


<div class="title">
<
h1>Little Boxes Menu with jQuery</h1>
</
div>
<
div id="content">
<
div class="reference">
<p><a href="http://www.flickr.com/photos/adforce1/">Photos from williamcho's photostream on Flickr</a></p>
</
div>

<
a class="back" href="http://tympanus.net/codrops/2010/05/18/little-boxes-menu-with-jquery">Back to Codrops</a>
<
div id="littleBoxes" class="littleBoxes">
<
div class="boxlink bg1" style="top:0px;left:0px;">
<
a href="">About</a>
<
div class="boxcontent">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, 
sed do eiusmod tempor incididunt ut labore et dolore magna
aliqua. Ut enim ad minim veniam, quis nostrud exercitation
ullamco laboris nisi ut aliquip ex ea commodo consequat.
</
p>
</
div>
</
div>
<
div class="bg5" style="background-position:-90px 0;top:0px;left:95px;"></div>
<
div class="bg5" style="background-position:-180px 0;top:0px;left:190px;"></div>
<
div class="bg5" style="background-position:-270px 0;top:0px;left:285px;"></div>

<
div class="bg5" style="background-position:0 -90px;top:95px;left:0px;"></div>
<
div class="boxlink bg2" style="top:95px;left:95px;">
<a href="">Menu</a>
<
div class="boxcontent">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna
aliqua. Ut enim ad minim veniam, quis nostrud exercitation
ullamco laboris nisi ut aliquip ex ea commodo consequat.
</
p>
</
div>
</
div>
<
div class="bg5" style="background-position:-180px -90px;top:95px;left:190px;"></div>
<
div class="bg5" style="background-position:-270px -90px;top:95px;left:285px;"></div>

<div class="bg5" style="background-position:0 -180px;top:190px;left:0px;"></div>
<
div class="bg5" style="background-position:-90px -180px;top:190px;left:95px;"></div>
<
div class="boxlink bg3" style="top:190px;left:190px;">
<
a href="">Chef</a>
<
div class="boxcontent">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna
aliqua. Ut enim ad minim veniam, quis nostrud exercitation
ullamco laboris nisi ut aliquip ex ea commodo consequat.
</
p>
</
div>
</
div>
<div class="bg5" style="background-position:-270px -180px;top:190px;left:285px;"></div>

<
div class="bg5" style="background-position:0 -270px;top:285px;left:0px;"></div>
<
div class="bg5" style="background-position:-90px -270px;top:285px;left:95px;"></div>
<
div class="bg5" style="background-position:-180px -270px;top:285px;left:190px;"></div>
<
div class="boxlink bg4" style="top:285px;left:285px;">
<
a href="">Contact</a>
<
div class="boxcontent">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna
aliqua. Ut enim ad minim veniam, quis nostrud exercitation
ullamco laboris nisi ut aliquip ex ea commodo consequat.
</
p>
</div>
</
div>
</
div>
</
div>




save template anda dan liat hasilnya seperti demo. dan warna hijau bisa anda isi dengan HTML atau Script lainnya,, sedang warna kuning bisa anda modif sesuai keinginan anda misalkan posistion dan width serta tingginya bla bla bla. . ..


selamat mencoba!!!