« first day (2547 days earlier)      last day (1570 days later) » 

10:55
//app.component.ts file
<a (click)="download();">ClickHere</a>

//app.component.ts file
import * as jsPDF from 'jspdf'

download() {
var doc = new jsPDF('p', 'pt', 'letter');
var pageHeight = doc.internal.pageSize.height;
var y = 800;
var x = 800;
doc.text(100, 100, 'com1');

if (y >= pageHeight) {
doc.addPage();
doc.text(100, 100, 'com1');
y = 0;
}
if (x >= pageHeight) {
doc.addPage();
doc.text(100, 100, 'com1');
x = 0;
}

const merge = require('easy-pdf-merge');
merge(doc, 'http://www.africau.edu/images/default/sample.pdf', function (err) {
1 message moved from JavaScript
 
6 hours later…
 
1 hour later…
18:19
marker = new google.maps.Marker({
map: map,
draggable: false,
title: '{{camera_name[0]}}',
icon: "https://developers.google.com/maps/documentation/javascript/examples/full/images/info-i_maps.png",
animation: google.maps.Animation.DROP,
position: {lat: camera1_lat, lng: camera1_lat_log}
});
marker.addListener('click', function() {
infowindow.open(map, marker);
});
1 message moved from JavaScript
19:05
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Interkodas - Main </title>
<style>
#map {
height: 100%;
}
html, body {
height: 100%;
margin: 0;
padding: 0;
}
</style>
</head>
<body>

<div id="map"></div>
<script>

var marker;

// ALL Camera settings
//1
var camera1_lat = parseFloat("{camera_lat[0]}", 10);
var camera1_log = parseFloat("{camera_log[0]}", 10);

//2
var camera2_lat = parseFloat("{{camera2_lat}}", 10);
var camera2_log = parseFloat("{{camera2_log}}", 10);

//3
var camera3_lat = parseFloat("{{camera3_lat}}", 10);
1 message moved from JavaScript
hi
0
Q: media queries not working! i want the h1 text to be at center with bootstrap

Faisal NadeemCSS PART @media only screen and (max-width: 700px) { body { h1.h1 mb-0 text-gray-800 { text-align: center; } } } Bootstrap Part <div class="container-fluid" style="overflow: hidden;"> <!-- Page Heading --> <div class="d-sm-flex align-items-center justif...

can some one solve my issue in above question?
19:27
3 messages moved from HTML / CSS / WebDesign

« first day (2547 days earlier)      last day (1570 days later) »