
Search In
FrontEnd:
Include jquery.Jcrop.css, jquery.Jcrop.js and jquery.Jcrop.min.js
Open an image in a div with a form. Take 4 hidden input fields:
<input type="hidden" id="x" name="x" /> // x coordinate of the image
<input type="hidden" id="y" n
Welcome to Findnerd. We all knows the power of shortcodes. It is very simple way to create a new functonality. We are going to discuss the way how we can add attributes in shortcode. We can give any name to shortcode and then manage attributes using
Find the difference between final and effectively final as below:
Final:- Any variable that cannot be modified once it is initialized can be final variable. You cannot modified again that variable.
Ex: final int var=20;
in the above example you
As per Drupal's definition "A hook is a PHP function that is named foo_bar(), where "foo" is the name of the module (whose filename is thus foo.module) and "bar" is the name of the hook. Each hook has a defined set of parameters and a specified resul
JavaScript Debugging
Debugging is very complex for users to writing a JavaScript code without a debugger in web page.
Javascript code might contain syntax errors, or logical errors, which are difficult to find out.
Note : Javascript errors will
Sometimes we need to replace whole word with the word boundaries in a string. For this we use "\b" regular expression token which is called a word boundary. It usually matches at the start or the end of a word.
Example: You just need to place the wo
Generic Methods:- The Below code will helps you to implement Generic Method using the Generic Programming in Java. The generic methods enable us to specify, with a single method declaration and use with different data types. we can write a single gen
We can add animation on activity switching.
First thing that we need to do is to create xml for animation. Here I am using two xml for in and out.
animation_in.xml
set xmlns:android="http://schemas.android.com/apk/res/android" android:shareinterp
Bitcode refers to an intermediate representation of a compiled program. The installation of iOS, tvOS, and watchOS apps by tailoring app delivery to the capabilities of the user’s particular device. Apple called this optimization,"app thinning".
Note
Method Overriding is a type of polymorphism.
It is dynamic type of polymorphism.
In this we have the method with the similar name in both parent class and child class.
But the child class override the method of the parent class when we create object
