Popover is a small overlay of content that is used to display secondary information of any element when it is clicked or hover by a user. Also you can set popovers to appear on top, right, bottom and left sides of an element. HTML Code
Month: May 2017
Pure CSS image zoom on hover inside a div
You can create image zoom effect using css3 transitions. That means you can Grow an Image or Shrink and Image on mouse hover can be created using CSS3 scaling transformation. CSS transition CSS transitions, which are part of the CSS3 set of specifications, provide a way to control animation speed when changing CSS properties.
Error Handling in Codeigniter
CodeIgniter lets you build error reporting into your applications using the functions described below. In addition, it has an error logging class that permits error and debugging messages to be saved as text files. Note: By default, CodeIgniter displays all PHP errors. You might wish to change this behavior once your development is complete. You’ll […]
URI Routing in Codeigniter
Typically there is a one-to-one relationship between a URL string and its corresponding controller class/method. The segments in a URI normally follow this pattern:
1 | example.com/class/function/id/ |
In some instances, however, you may want to remap this relationship so that a different class/method can be called instead of the one corresponding to the URL. For example, let’s […]
Compatibility Functions in Codeigniter
Compatibility Functions CodeIgniter provides a set of compatibility functions that enable you to use functions what are otherwise natively available in PHP, but only in higher versions or depending on a certain extension. Being custom implementations, these functions will also have some set of dependencies on their own, but are still useful if your PHP […]
Common Functions in Codeigniter
Common Functions CodeIgniter uses a few functions for its operation that are globally defined, and are available to you at any point. These do not require loading any libraries or helpers. is_php($version) Parameters: $version (string) – Version number Returns: TRUE if the running PHP version is at least the one specified or FALSE if not […]
Auto-loading Resources
CodeIgniter comes with an “Auto-load” feature that permits libraries, helpers, and models to be initialized automatically every time the system runs. If you need certain resources globally throughout your application you should consider auto-loading them for convenience. The following items can be loaded automatically: 1) Classes found in the libraries/ directory 2) Helper files found […]