One can easily scale background in CSS to any dimension to fit its container. 100% CSS background is good looking and gives bump to your design. Here is how this can be done. #MyID { background-size: 70% 60%; /* 70% width and...

More
  • May 10, 2014

Since XMLHttpRequest ,or the equivalent, object is returned by jQuery, so you can simply use abort function. To cancel ajax requests you have to follow below code. var myRequest= $.ajax({ type: “POST”, url: “file.php”, data: “name=you&class=10”, success: function(e){ alert( “Awesome : “...

More
  • May 9, 2014

By default unordered list have bullets. If you don’t need them, you can easily remove them by using following CSS code. ul { list-style-type: none; } If you need to remove indentation too, this can be easily done by following code: ul...

More
  • May 8, 2014

Sometimes it seems very frustrating to keep textarea in resizable mode. You can disable this property very easily by simple CSS rule. To disable resizable in all textareas in a page, use textarea { resize: none; } To disable resizable in selected...

More
  • May 6, 2014

Many web apps , these days, modify or change URL without refreshing web page. Facebook is a great example. This seems quite fast and index-able too. This is supported by Chrome, Safari, FF4+, and IE10 & above. function processAjaxData(answer, url){ document.getElementById(“mycontainer”).innerHTML =...

More
  • May 3, 2014

Breadcrumb navigation offers you a visually tempting ways tell the user that where they are actually located on the website. It improves the usability of website and especially of those websites that needs to be structured and organized well in a hierarchical...

More
  • April 28, 2014
8 Best Free Stock Video Websites for Tiktok, Reels, and Shorts Top 5 PHP Frameworks: Fast and Secure