Sat, 4/07/09 – 0:12 | 8 Comments

Attitude…..
An old man lived alone in Minnesota . He wanted to spade his potato garden, but it was very hard work. His only son, who would have helped him, was in …

Read the full story »
More posts from this section »
More posts from this section »
CodeIgniter

javascript »

prevent iframe ,frame theft
Sun, 31/01/10 – 4:56 | No Comment

How to stop iframe, frame thefts of our site resources.

Sites like Google Image search , goodphptutorials.com and phpcamp.net displays the website under the IFRAME .No one want their site to be displayed it under the IFRAME, FRAMES. If you want to protect your site to be displayed under the IFRAME,FRAMES then just copy and paste below javascript code after body tag.

 

1
2
3
4
5
6
if (window.top !== window.self) {
document.write = "";
window.top.location = window.self.location; setTimeout(function(){document.body.innerHTML='';},1);
window.self.onload=function(evt){
document.body.innerHTML='';};
}

Here we use simple logic that we check our page document window is main window or not. if our document isn’t in main window it might be in iframe or frame. then we switch the location of main window to our existing document locations. Before doing this redirection we make the document empty, because the imposter can break this code before loading .

How to host multiple domains in a single hosting package
Sun, 10/01/10 – 12:29 | 2 Comments
How to host multiple domains in a single hosting package

How to host multiple domains in a single hosting package.
In our real time,we work mostly small websites where limited static files are hosted. So in that case we waste additional money for less than a …

jQuery ajaxstart ajaxstop
Sat, 9/01/10 – 6:14 | No Comment
jQuery ajaxstart ajaxstop

Displaying Ajax started element using JQuery ajaxstart,ajaxstop
jQuery is most famous javascript library compared to its concurrents. One of importent functionality in jQuery is its Ajax handling. It has very flexible methods for Ajax.We seen how …

Ie css hack reference
Thu, 3/12/09 – 23:07 | No Comment
Ie css hack reference

CSS difference Between IE6,IE7,IE8
As a designer we experience the most bizzare conditions with internet explerer because it doesn’t follow w3 standereds mostly while rendering elemets and Box Model where moslty other Gecko browsers follow same.Even …

favico tutorial
Thu, 26/11/09 – 7:28 | One Comment

How to Add fav icon to your web site
What is fav icon?
a favicon is really nothing more than a tiny png image with a .ico extension and sized to 16x 16 or 32 …

hide javascript code from non javascript browser
Tue, 25/08/09 – 22:14 | No Comment

hide JavaScript code from non-JavaScript browsers
Here we learn how to hide the javascript code from non javascript browsers , javascript disabled browsers and mobile browsers .Non javascript browsers renders the javascript code as generel …

codeigniter anchor
Wed, 19/08/09 – 22:54 | 3 Comments

How to make a link using Codeigniter.
Here we learn how to use anchor method that is URL helper of Codeigniter.We already discussed in my previous post URL structure of Codeigniter. It creates a …

codeigniter url helper 1
Wed, 19/08/09 – 21:09 | 2 Comments

Here we discuss about the codeigniter URL structur. Codeigniter mainly preferes search engine freindly. that is segmented method. by default it won’t support get method.you can see my previous post for enabling get method in …

check browser java enabled
Tue, 28/07/09 – 6:48 | 3 Comments

Check Browser Java application enabled

Java is a high-level, third generation programming language, like C and many others.Java allows you to play online games, chat with people around the world, calculate your …

check javascript disabled
Mon, 20/07/09 – 22:09 | 2 Comments

Check Browser Javascript enabled
JavaScript is a small, lightweight, object-oriented, cross-platform scripting language.JavaScript is used in millions of Web pages to add functionality, validate forms, detect browsers, and much more.With some reasons the web browser don’t …

wordpress custom contact form template
Sat, 18/07/09 – 21:03 | 6 Comments
wordpress custom contact form template

How to make contact us form page for wordpress default theme .
We know that word press is popular open source blog.it has thousands of plugins to enhance it’s features.we can extend it …