jQuery is the most used and popular library of JavaScript. If jQuery isn’t loaded, a jQuery coded site will not function properly. Such sites will reload automatically or give an error when jQuery isn’t loaded. But, how do they check if jQuery is loaded ? You will find a simple solution to accomplish this task in this post. Since, jQuery won’t be loaded, we can’t check if jQuery is loaded using jQuery. But we can use JavaScript which will always be available in browsers.
... [READ MORE]Posts marked with "Posts" in posts
Use uTorrent Without Installing (Portable uTorrent)
Torrents are the most common thing computer users hear of. There are torrent downloading, torrent sharing and many others. Torrent has become a business in the WWW. Due to the increase in demand of torrents, there should be torrent clients that downloads the files of a torrent. The most popular of them is uTorrent – A Windows package. uTorrent is widely used by computer enthusiasts. uTorrent is widely used because of it’s lightness, simple usage and limitless options. But, you have to install uTorrentto use it’s features. What if, your friend needs a download from torrent and he doesn’t have a torrent client. He don’t know how to install a torrent client. In this case, the only way is to use a Portable Torrent Client. Since uTorrent is light weight and easy to use, it’s the best torrent client to give to anyone.
... [READ MORE]Implementing Login With Google + In PHP
In the last post, I introduced you to a PHP OAuth Class named OAuth API. In this post I’m going to tell you how to implement Login With Google + feature in PHP using the class I introduced. It’s very simple. I will tell the ways of implementing step by step. This tutorial includes placing a **Login with Google + **button on web site to authorization and finishes when we get user details. You should read this post before starting this tutorial.
... [READ MORE]Image Handling On Client Side With Base64 In PHP
Every website needs images. It make the site attractive and beautiful. But sometimes, images won’t get loaded. The latest **Browsers **have a feature that generates image on a base64 string. Most of the browser have it. In this post I’m going to describe the way to use base64 in displaying images on a website.
What’s base64 ?
Base64 is a encrypting method which is available in many languages. It can be used for encrypting and decrypting. It is not like other hash functions (MD5, SHA 256, SHA 512). Unlike other hash methods, a base64 encrypted string can be directly decrypted. But other hash functions can only be used for checking a value.
... [READ MORE]Replace Broken Images With Default Image Using JavaScript OR jQuery OR HTML
Images are common in web pages now a days. These images make the web page attractive and beautiful. But sometimes due to problems, some images won’t load completely. When the image doesn’t load completely, that image is said to be a broken image. When the image is broken, the Browser will replace that broken image with an ugly image or replace the broken image with a blank space. I have included a broken image below. Different Browsers will render the broken image in different ways.
... [READ MORE]Implementing Login With Facebook In PHP
In the last post, I introduced you to a PHP OAuth Class named OAuth API. In this post I’m going to tell you how to implement Login With Facebook feature in PHP using the class I introduced. It’s very simple. I will tell the ways of implementing step by step. This tutorial includes placing a Login with Facebook button on web site to authorization and finishes when we get user details. You should read the previous post before starting this tutorial.
... [READ MORE]Implementing OAuth System Using OAuth API Library In PHP
OAuth Login System is one of the needed system in a website. There are many online services that have their own OAuth system. Popular Services have their own PHP OAuth library and documentation.
But, we’re gonna use a simpler and a common Library for all of those services. This common library (OAuth API) is created by PHPClasses.org founder Manuel Lemos.
His library can be used to authorize many API‘s including Facebook, Twitter, Google. Everything is made easy by Manuel. He is a hard working programmer. That’s why he has the # 1 rank on PHP Classes.
... [READ MORE]Open : An Open Source Social Network Is Released
I’m excited to announce that Open, the Open Source Social Network initiated by me is released. Actually it has been released on December 1st, but was undergoing many bug fixes and was making it smooth on the WWW. You can access Open @ **http://open.subinsb.com. **If you would like to contribute to this project, there are a few ways :
- Report Bugs, Issues & Suggestions (https://github.com/subins2000/open/issues)
- Fix errors on Source Code (https://github.com/subins2000/open)
- Try Out Open (http://open.subinsb.com)
- Share the link (http://open.subinsb.com) with your friends and others.
As it is an Open Source Project, there are no ads. Each contributer of this project is a developer of this project. It’s your contribution that makes Open Powerful. Let’s create the world more connective and more Open. Here is the logo of Open. If you have a better logo, please submit it.
... [READ MORE]How To Open/Show A Select Element Using jQuery
The default select elements looks ugly and if you want to create beautiful sites, its better to not use select element. But what if you really want to use select element ? The only way to accomplish this is to create a dynamic select box which functions just like the HTML select element. In this post I’m going to show you the way to create a fake select box that will open when clicked and when the user selects an option, the select box will automatically close.
... [READ MORE]How To Add Back jQuery .live() & .die() Function
As you may know, jQuery removed .live() function and instead they told to use .on() function. But I didn’t like this because .on() needs up more parameters than .live() and to handle a click function you have to add an event to the document, instead of the element. A normal live click event code is like this
$("#element").live("click",function(){
dosomething();
});
When using .on() to do the same task, the code will be like this :
... [READ MORE]