If you want to get an edge over your competition, it’s no longer enough to provide them with a good product or service. There are plenty of options out there, so you have to be prepared to demonstrate that you can offer them s...
Hi Reader's,
Welcome to FindNerd,today we are going to discuss convert Html to pdf in CakePHP 2.x.
If we want to convert Html to pdf in our CakePHP web application then firstly we have to download TCPF library from Github. You can see bel...
Hi Reader’s,
This blog includes the concept of how to create custom library with the help of AssestsLibrary framework. Custom library is useful for multiple images selection at one time so given below is the screenshot of story...
Hii,
In this blog i am going share how to use css gradient property to increase visual appeal of your webpage.
Go through the example below to learn how we can apply gradient property in background of any html tags in different ways.
CSS gra...
Hello Readers !!
Today I will explain to you how you can reduce the size of the APK file.
We need to take care following points when we create a build so that APK size should be small.
Device Filter:- This is a ver...
Hello Readers!
Have you ever looked out of a car window while driving and noticed how fast the electricity poles move by, while the mountains in the background move really slowly. This is what we say, parallax motion, in real.
For a long ti...
Association is basically linking two models of the database.
It is very useful.
After applying association you don't need to join the tables from the controller and fetch the data of another model from the controller.
The four types ...
In today's world, we need to display the data in tabular format with edit and delete functionality. For example, in ASP.NET we have Gridview control, which is more simple to achieve this. We have Edit data template and view template in ASP.NE...
Hello Everyone!!
When the mouse is over the image or block then the side of the appeared. It use transition and position properties of css. Transition will takes place when the hover effect is apply on image block,positions a...
User can handle the cookies in Selenium WebDriver. Here, we discuss this in detail:
1. Add Cookie: User can add a specific cookie. Also, if the cookie's domain name left blank then it will be assumed that cookie is mean...
Hello Readers,
There are many ways to redirect a web page to another web page. We can do this via server redirects and JavaScript redirects. But the question is which method is best and appropriate for redirection as there are many methods avail...
Welcome to FindNerd. Today we are going to discuss angularJS controllers. A controller in angularJS is nothing but a regular javascript object which provides attributes, properties and functions to the angularJS application. In angular applicatio...
In this blog you will see some code samples that you might find useful while accomplishing simple user management tasks like creating a user, assigning a role and so on. Following code samples assume that you have created an ASP.NET MVC applicati...
Hii,
Learn how we can repeat html element without using any conditional loop by using AngularJs.
To repeat html elements using AngularJs we use ng-repeat which is a directive of AngularJs, ng-repeat directive is used to repeat an HTML element.
...
By using CSS, HTML and Javascript we are going to customize a file upload button. Here we are going to create a new file upload button with image on clicking that button it will open up the files so the user will upload the particular file that h...
Hello all, In this blog today, I am going to show u how with the help of CSS, We can easily create custom checkbox and radio buttons. Following is the HTML and CSS code, which shows how to create your own checkbox and radio button.
...
Hello Everyone,
In this blog, we will be learning about that how to use AJAX in cakePHP. There is not much difference of using Ajax with cakePHP or with HTML.
Ajax is defined as Asynchronous JavaScript. It is a client-side scripting language th...
In this tutorial we will learn about installing vim text editor in Ubuntu. This article is about how to install vim editor in Ubuntu? VIM is clone to vi editor but vim text editor is cross platforms software.
VIM is a text editor and widely us...
Hello readers, today i guide you "jQuery loop in JSON result from AJAX Success".
If you are working with JSON and and want to display all JSON value in AJAX Success, you can do this using jquery loop.
Recently I am working on a pr...
Difference between ngBind, ngBindHtm and ngBindTemplate in Angular JS
ng-bind
ng-bind binds the value of a variable or expression to an HTML element i.e the content of HTML element is replaced with the value of a variable or expression...
Here, we discuss that how to capture a screenshot in Selenium WebDriver.
Scenario to be automated:
Launch the web browser
Open your application
Take a screenshot
Save the screenshot in a location
...
A pop-up is usually a small window that appears in front of the original web page.
It is a graphical user interface(GUI) display area. The pop-up window opens on the single or double click and can be occured in a particular time period.
The...
Hi Reader’s,
This blog includes the concept of how to set random numbers from an array as title of different UIButton taken in story board. Random numbers are much needed if you are making a number based gaming applic...
Hi Readers,
Pagination is required in most of our apps in today scenario. We can achieve it either pull to refresh from top or bottom. UIRefreshControl is the feature if you want to implement it from top side and insert processed records into ...
In the below example code I have described how to add Header in RecyclerView without using any external library. For that, Firstly, I have created a header.xml layout and here I have added a TextView.
Now see programing In MyAdapter class I ha...
Many a times, I have heard the phrase ‘Organic SEO’. It may improve the organic results but it's highly structured with stringent rules.
Is SEO Organic? If yes then in what way?
To perform mouse hover function over a main menu which has sub elements, for this we have to chain all the actions that we want to achieve in one go.
In order to perform it, first move on to the main menu element which has sub e...
Customizing checkbox using Pure Css
The checkbox you see below is nothing but the label and its input that is hidden or making its opacity to "zero" reason for doing this is, it has very less CSS styling property that will not satisf...
Hello Readers!
Browsers have a default text selection color (mainly, blue or orange). However, this setting can be overrided with the CSS pseudo-element ::selection. This overrides the browser-level text selection color with a color of ...
This blog is about how to update android notification and how to use Expanded and Big notification.
For Big style Notification you can check my previous blog which is:-
http://findnerd.com/account#url=/list/publish/Big-View-Notifi...
In our previous blog, we learned how to declare a variable in LESS and how to use variables as to control values in CSS rules, but they can also be replaced with the selector names, property names, URLs and @import statements.
1. Sel...
Lets take a basic example of giving color values across an entire website. We will generally apply a palette of colors and any given color could be used countless number times also on multiple elements which leads to the repetition of code throug...
Social Media marketing is the talk of the town. I have heard a lot about Social Media Marketing and its utilization in modern day business. Why is it so much essential? Are other modes of marketing and promotions fading away?
Hi Friends,
As we all know rails works on MVC Architecture, where the controllers acts as the receiver of the requests and sends the response back to the requester. There are actually 3 ways a controller can send a response :
a) render: It ...
In our previous blog we talked about how to install the LESS into our system. Now in this blog we will learn how to write LESS CSS. So, are you ready? Let's start then.
As we have many different compilers available for LESS, each...
Hello Readers !!
Here is the second method to read the XML file.
using UnityEngine;
using System.Collections;
using System.Xml;
using System.Collections.Generic;
public class XMLParsing : MonoBehaviour
{
public Text...
The z-index property has caused a lot of confusion more than any other CSS property. It’s not complicated, the problem is that a few people understand how it really works. z-index is not a difficult property to understand. But due to false ...
Hello Readers
Today I am going to explain you parsing of XML in unity. XML can be parse in unity by two ways.
1. By Class method.
2. By Normal method.
&...
Hello everyone!!
Parallax Scrolling is in which foreground content and background content are moved with different scrolling rate. In parallax scrolling we can use the different content in different scrolling position.
code:-
&...
Hii,
I had shared few example of animation effects using CSS and jQuery,This blog is continuation with my previous blogs on "animation effects" using CSS and jQuery
Learn how to create a slider in html with different animation eff...
Welcome to FindNerd. Today we are going to discuss one of feature of angularJS that is filters. We will discuss angularJS features one by one so keep reading our blogs. Filters play with data. It transforms the data as well as change the format o...
In this blog we will get to know about the way to prevent CSRF (Cross Site Request Forgery) attacks in ASP.NET MVC applications. If you want to have some idea about this attack you would like to have a look at this blog http://findnerd.com/list/v...
Hi Reader's,
Welcome to FindNerd,today we are going to discuss helpers in cakephp 2.x.
If we are making any web application in CakePHP then sometimes we have to use helper for extending the functionality of view. Because helper is used fo...
Hello Reader's ,
Hope your are doing good today.
Today we will discuss about login Authentication in cakephp 3 using Auth Component.Authentication is a very important part of any application.
If you are working on user based project th...
Data validation is the process to ensure that computer input coming from user is clean, correct and useful. Data validation also checks if field is not empty. If validation fails , response is sent back to the user, then display proper message, s...
WebDriver provides some methods through which user can verify the visibility of the web elements. These web elements can be buttons, drop boxes, checkboxes, radio buttons, labels etc.
isDisplayed()
isSelected()
isEnabled()
...
If we want to add some content at the beginning of our selected html element then we can acquire it by simply using jQuery prepend() method.
The jQuery prepend() method appends the content at the begining of the element which we have been...
Hello Readers
The slide Toggles (slideToggle()) method is use toggle between slideUp() and slideDown() for the selected elements like(div, paragraph, etc..).
This blog post will help you with displaying the navigation menu items in a ...
Handling the multiple windows or window based alert pop ups is beyond web driver capabilities. To handle this we need some third party utilities(alerts API).
Web driver interface provides two methods to handle this:
To acc...