JSFiddle

  • Aranan kaç kez kullanılmış

    jQuery 1.9.1, HTML, CSS, JavaScript

    $('#searchfor').keyup(function(){
             var page = $('#all_text');
             var pageText = page.text().replace("<span>","").replace("</span>");
             var searchedText = $('#searchfor').val();
             var theRegEx = new RegExp ...
  • Select'e jQuery ile Option Eklemek #2 is the latest revision

    jQuery 1.10.1, HTML, CSS, JavaScript

        var select, chosen;
    
        // cache the select element as we'll be using it a few times
        select = $(".chosen-select");
    
        // init the ...
  • Rengarenk #1 is the latest revision

    jQuery 1.9.1, HTML, CSS, JavaScript

    $(function() {
    
        var randomColor = Math.floor(Math.random()*16777215).toString(16);
    
        $("body").css({
        
            backgroundColor: '#' + randomColor
        
        });
        
        $("#colorcode").text("#" + randomColor);
    
    });
  • UL içindeki LI'leri döndürme ve düzenleme

    jQuery 1.9.1, HTML, CSS, JavaScript

    /*
    	var kacLiVar = $("#main-nav li").size();
    	//alert (kacLiVar);
    	
      if ($("#main-nav li").hasClass("dropdown")) {
    			//alert ("Hasel Vitrin");
          $("#main-nav li").attr('id','menu-item- ...
  • HTML5 Banner BODY içi

    No-Library (pure JS), HTML, CSS, JavaScript

    <canvas id="canvas" width="336" height="280" style="display: block; background-color:rgba(255, 255, 255, 1.00)" onclick="javascript:window.open(window.clickTag)"></canvas>
  • HTML5 Banner HEAD arası #1 is the latest revision

    No-Library (pure JS), HTML, CSS, JavaScript

    <meta name="ad.size" content="width=336,height=280" />
    <script type="text/javascript"> 
    	var clickTag = "http://www.google.com";
    </script>
  • Javascript ile Dil

    jQuery 1.6, HTML, CSS, JavaScript

    var translation, translate;
    
    translation = {
        "fr": {
            "div > a:eq(0)": "un lien",
            "div h1"       : "un title",
            "p"            : "du contenu"
        },
        "de": {
            "div ...
  • Cookie Control via jQuery

    The Content shown 1 time in a day.

    			//Cookie
    			function setCookie(cname, cvalue, exdays) {
    			    var d = new Date();
    			    //(exdays*24*60*60*1000) =  exdays*Hour*Minute*Second*SplitSecond ...
  • MouseOver Transition

    No-Library (pure JS), HTML, CSS, JavaScript

    <div class="SagdaSaklan">
        <div class="SagdaSaklan1">TEST1</div>
        <div class="SagdaSaklan2">TEST2</div>
    </div>
  • SuperSized Poster

    jQuery 1.8.3, HTML, CSS, JavaScript

    $(".fancybox")
        .attr('rel', 'gallery')
        .fancybox({
            padding    : 0,
            margin     : 5,
            nextEffect : 'fade',
            prevEffect : 'none',
            autoCenter : false,
            afterLoad  : function () {
                $.extend(this, {
                    aspectRatio ...