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 …
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.
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 …
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 …
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 …
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 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 …
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 …
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 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 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 …
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 …