Posts

Showing posts with the label html

Backend/ Admin page-Table display with added features

I have seen many people used to code themselves for the backend table. As they don't know that there are many plugins for the table for the Backend or Admin page. I also used to program myself but It took lot of time. I have researched to accomplish these things for less and fast time to program. Datatable.js is the best way to use the table display in the Backend / Admin page. This js has features of sorting, pagination and searching Tutorial for the data table. First of all, we need JAVASCRIPT and CSS files.  Download Place this inside <head> tag. <script type="text/javascript" src="js/jquery.min.js"></script> <script type="text/javascript" src="js/jquery.dataTables.js"></script> Now the javascript code. place this code anywhere inside body. <script>         $(function() {         $('#example').dataTable();         } ); </script> Now just paste the code below <

Line or Graph chart for data in multiple array.

As I have said that I have research for the line graph or chart by many ways. But the easiest and fast processing tutorial is highchart graph. The other way of the multiple array, as I have got that many got problem in this section. I also got that may plugins and programming is slow processing. The best way is to use High chart plugins. One of the example on the graph is as follow. <script type="text/javascript"> $(document).ready(function() { var options = {  colors: ['#058DC7', '#50B432', '#ED561B'], chart: {                renderTo: 'diagram', type: 'spline', zoomType: 'x', spacingRight: 20, backgroundColor: { linearGradient: { x1: 0, y1: 0, x2: 1, y2: 1 }, stops: [ [0, 'rgb(255, 255, 255)'], [1, 'rgb(240, 240, 255)'] ]   }, plotShadow: true, plotBorderWidth: 1, width:700, height:450 }, title: { style:

Line or Graph chart for data in array.

I have research for the line graph or chart by many ways. But the easiest and fast processing tutorial is highchart graph. We can make any type of the chart using highchart. For more information on Highchart go to the highchart site . One of the example on the graph is as follow. <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Highcharts Example</title> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> <script type="text/javascript"> $(function () { $('#container').highcharts({ chart: { zoomType: 'x', spacingRight: 20 }, title: { text: 'USD to EUR exchange rate from 2006 through 2008' }, subtitle: { text: document.ontouchstart === undefined ? 'Click and drag in the plot area to zoom in' : 'Pinch the chart