Categories
jQuery

jQuery toggleClass() Method

The jQuery toggleClass() Method toggles between adding and removing one or more class names from each element in the set of matched elements. Example of jQuery toggleClass: Suppose, we have below HTML: <div class=”myclass”>Your text here.</div> When you apply $( “.myclass” ).toggleClass( “newClass” ), we get the following: <div class=”myclass newClass”>Your text here.</div> Again, if […]

Categories
Careers Interview questions

CakePHP interview questions and answers

CakePHP  is a free, open-source, rapid development framework for PHP. It’s a foundational structure for programmers to create web applications. There is number of in built component like Ajax, RequestHandler, Session etc. Question: What are the drawbacks of cakephp? Answer : The learning curve, and it loads full application before it starts your task. Its […]

Categories
jQuery

jQuery trigger() method

jQuery trigger() method triggers the default behavior of a specified event for a selected elements. Although the .trigger() simulates an event activation by completing with a synthesized event object, that does not perfectly replicate a naturally-occurring event. Suppose you are trying to trigger an event on the anchor. So in this case you can call […]

Categories
jQuery

Check if an element is Visible/Hidden with jQuery

In jQuery, the :visible selector selects each elements which is currently visible or check whether element is visible or not. Basically, elements are considered visible when they consume space in a document. So, visible elements have a width or height greater than zero. Elements with “visibility: hidden” or “opacity: 0” are considered as visible, because […]

Categories
jQuery

jQuery wrap() Method

jQuery wrap Method wraps specified HTML element(s) around each element in the set of matched elements. This wrapping process is very useful for injecting any additional structure into a document, without destroying the original semantic qualities of the document. Possible values are: HTML elements jQuery objects DOM elements This is the simple syntax to use […]

Categories
jQuery

Uploadify – jQuery file upload plugin

Uploadify, a jQuery plugin, allows you to upload multiple files at a time. HTML5 and Flash both both versions are available for implementation on your website. Some features include: Multiple file uploads at a time – main benefit of this plugin is its ability to allow multiple file uploads. Drag and drop facility – it […]

Categories
jQuery

jQuery Cookie (Set, Get and Delete)

Cookies are the most important thing or technology for storing data on the client side environment. jQuery Cookie is a simple, lightweight plugin for writing, reading and deleting cookies from client side. At first you need to download jquery.cookie plugin and simply need to add it in your pages. <head> <script src=”js/jquery.js”></script> <script src=”js/jquery.cookie.js”></script> </head> […]

Categories
Creative blog

Do we really need splash page?

Splash page is a front page of any website which does not contain the actual content rather than show some kind of attractive information for what the website is for. To attract people this can be an eye candy to draw attention. Here are few using of splash page or screen: Some form of advertising. […]

Categories
SEO

WWW or non-WWW version?

Any website can be accessed either WWW or non-WWW version. It can be harmful for search engine ranking. Google and other search engines can see two separate versions with the same content. Basically “www” is the sub domain which can target to another content. Any search engines based on how many incoming links are pointing […]

Categories
Css Css3

6 Free online CSS sprite generator

Image sprite is a collection of images put into a single image depends on particular position of a image. Basically CSS sprites are used for faster loading of your site. Read our previous article about CSS Image Sprites. There are few online CSS Sprite generator tool which is very handy to create sprites quickly. 1) […]