Jimnio

  • Home
  • Services
    • API Development
    • Big Data
    • Branding Design
    • Custom Desktop Software
    • EDI Development
    • Graphic Design
    • Mobile App Development(iOS and Android)
    • Robotic Engineering
    • SEO – Google Business Listings
    • Web Development
    • Website and Cloud Hosting
    • WordPress Development and Theming
  • Online Tools
    • Email
      • Business Email
      • Personal Email
      • Email Ultimate Business
    • Email Marketing
      • Email Marketing Beginner
      • Email Marketing Pro
      • Email Marketing Up & Running
    • Online Calendar
    • SEO
      • Search Engine Optimization (SEO)
    • Website Builder
      • Website Builder Personal
      • Website Builder Business
      • Website Builder Business Plus
      • Quick Shopping Cart Economy
      • Quick Shopping Cart Deluxe
      • Quick Shopping Cart Premium
    • Website Security and Backups
      • Website Security Express
      • Website Security Essential
      • Website Security Deluxe
      • Website Backup 5 GB
      • Website Backup 25 GB
      • Website Backup 50 GB
  • Portfolio
  • Customers
    • Sign In
    • Create Account
  • Contact Us
  • About
  • Inspirations

Jimnio

  • Home
  • Services
    • API Development
    • Big Data
    • Branding Design
    • Custom Desktop Software
    • EDI Development
    • Graphic Design
    • Mobile App Development(iOS and Android)
    • Robotic Engineering
    • SEO – Google Business Listings
    • Web Development
    • Website and Cloud Hosting
    • WordPress Development and Theming
  • Online Tools
    • Email
      • Business Email
      • Personal Email
      • Email Ultimate Business
    • Email Marketing
      • Email Marketing Beginner
      • Email Marketing Pro
      • Email Marketing Up & Running
    • Online Calendar
    • SEO
      • Search Engine Optimization (SEO)
    • Website Builder
      • Website Builder Personal
      • Website Builder Business
      • Website Builder Business Plus
      • Quick Shopping Cart Economy
      • Quick Shopping Cart Deluxe
      • Quick Shopping Cart Premium
    • Website Security and Backups
      • Website Security Express
      • Website Security Essential
      • Website Security Deluxe
      • Website Backup 5 GB
      • Website Backup 25 GB
      • Website Backup 50 GB
  • Portfolio
  • Customers
    • Sign In
    • Create Account
  • Contact Us
  • About
  • Inspirations
  • Home
  • Services
    • API Development
    • Big Data
    • Branding Design
    • Custom Desktop Software
    • EDI Development
    • Graphic Design
    • Mobile App Development(iOS and Android)
    • Robotic Engineering
    • SEO – Google Business Listings
    • Web Development
    • Website and Cloud Hosting
    • WordPress Development and Theming
  • Online Tools
    • Email
      • Business Email
      • Personal Email
      • Email Ultimate Business
    • Email Marketing
      • Email Marketing Beginner
      • Email Marketing Pro
      • Email Marketing Up & Running
    • Online Calendar
    • SEO
      • Search Engine Optimization (SEO)
    • Website Builder
      • Website Builder Personal
      • Website Builder Business
      • Website Builder Business Plus
      • Quick Shopping Cart Economy
      • Quick Shopping Cart Deluxe
      • Quick Shopping Cart Premium
    • Website Security and Backups
      • Website Security Express
      • Website Security Essential
      • Website Security Deluxe
      • Website Backup 5 GB
      • Website Backup 25 GB
      • Website Backup 50 GB
  • Portfolio
  • Customers
    • Sign In
    • Create Account
  • Contact Us
  • About
  • Inspirations

Jimnio

  • Home
  • Services
    • API Development
    • Big Data
    • Branding Design
    • Custom Desktop Software
    • EDI Development
    • Graphic Design
    • Mobile App Development(iOS and Android)
    • Robotic Engineering
    • SEO – Google Business Listings
    • Web Development
    • Website and Cloud Hosting
    • WordPress Development and Theming
  • Online Tools
    • Email
      • Business Email
      • Personal Email
      • Email Ultimate Business
    • Email Marketing
      • Email Marketing Beginner
      • Email Marketing Pro
      • Email Marketing Up & Running
    • Online Calendar
    • SEO
      • Search Engine Optimization (SEO)
    • Website Builder
      • Website Builder Personal
      • Website Builder Business
      • Website Builder Business Plus
      • Quick Shopping Cart Economy
      • Quick Shopping Cart Deluxe
      • Quick Shopping Cart Premium
    • Website Security and Backups
      • Website Security Express
      • Website Security Essential
      • Website Security Deluxe
      • Website Backup 5 GB
      • Website Backup 25 GB
      • Website Backup 50 GB
  • Portfolio
  • Customers
    • Sign In
    • Create Account
  • Contact Us
  • About
  • Inspirations
Coding
Home Coding Page 2

Category: Coding

April 8, 2016
Coding

Bootstrap 3 The Love Affair

Bootstrap 3.1: Base CSS

Bootstrap has many reasons to love it. Why? Apart from being a FREE open-sourced, really powerful, mobile-first responsive front-end framework, it also provides you with quite a lot of value right out of the box with very little effort. With just a simple knowledge of some of the basic elements of Bootstrap styles, it takes just a small amount of work typically just adding an CSS class here or there to HTML elements you already have in place to to truly transform your site into a professional-looking cleanly designed web application. In this course, we look at what basic CSS classes come with Bootstrap and how to apply them to your site to make it look great. You ll be surprised at how easy it is, and maybe you re love affair with this front-end framework will begin too

Bootstrap 3.1: Components

HTML is pretty simple. There are a limited number of elements, and onlym so much you can do to style those individual elements. Bootstrap s core CSS does a good job with that default styling, but now it s time to take the next step. In this course, we ll look at Bootstrap Components these are design elements that are not a part of HTML proper, but a combination of HTML and CSS that create compelling visual design elements to help create engaging user interfaces. We ll look at creating some different input elements, page navigation, emphasizing content in subtle ways with labels and badges, or in big ways with jumbotrons. We ll also check out how we can visually separate content from its surroundings both text-based content in wells, panels and alerts, and images in thumbnails. It all comes together beautifully with Bootstrap to make our job of creating great-looking websites easy!

Bootstrap 3.1: javascript

It s time for javascript to take the center stage! Bootstrap comes loaded with a ton of great javascript plugins to help us create powerful and engaging sites for our customers and users. We ll capture the user s attention with modal dialogs and create an auto-updating navigation element that remains fixed in the browser window as you scroll through your site. We ll also add some interactive elements to your site as we show and hide content dynamically using the tab and collapse plugins, as well as provide some additional contextual content to our users in the form of tooltips ad popovers. This is when we take our site to the next level not only will it look good, but it will start behaving well too. Interactive and engaging that s what will hold your viewers attention Let s see how Bootstrap will help us deliver:

Learn More

admin 0 Comments
July 31, 2015
Coding

Zip Code DB KML Layer Tool From Programming Times

Fusion Table Layers

JS:
var initial = document.getElementById('address').value;//initial value is zip codes separated by commas and no space between:: example:40475,40489,44456
$.ajax({
type:"GET",
url: "query.php?zipcode="+encodeURI(initial),
dataType: 'json',
success: function(data) {
map.data.forEach(function (feature) {
map.data.remove(feature);
});
map.data.loadGeoJson('google.json');
map.data.addGeoJson(data);
map.data.setStyle({
icon: '//example.com/path/to/image.png',
fillColor: "#FF0000",
strokeColor: "#FF0000",
fillOpacity: 0.2,
strokeOpacity: 0.6,
strokeWeight: 3
});
}
});

INIT of Google Map:
function initialize() {
geocoder = new google.maps.Geocoder();
map = new google.maps.Map(document.getElementById('map_canvas'), {
center: new google.maps.LatLng(34.0500,-118.2500),
zoom: 8,
mapTypeId: google.maps.MapTypeId.ROADMAP
});
layer[0] = new google.maps.FusionTablesLayer({
query: {
select: 'geometry',
from: yourtableid
},
templateId: 2,
styleId: 2
});
layer[0].setMap(map);
google.maps.event.addListener(map, "bounds_changed", function() {
displayZips();
});
google.maps.event.addListener(map, "zoom_changed", function() {
if (map.getZoom() < 11) {
for (var i=0; i<labels.length; i++) {
labels[i].setMap(null);
}
}
});
}

query.php
query($query)){
while ($row = $result->fetch_assoc()) {
$array['features'][$count]['type'] = 'Feature';
$array['features'][$count]['properties']['zipCode'] = $row["zipcode"];
$array['features'][$count]['properties']['state'] = $row["state"];
$MultiPolygon = explode('MultiPolygon', $row['geometry']);
$xml = simplexml_load_string($row['geometry']);
if(!$xml->Polygon[1]){
$array['features'][$count]['geometry']['type'] = 'Polygon';
$geometry = trim(preg_replace('/\s+/', ' ', $row['geometry']));
$geometry = strip_tags($geometry);
$geometry = explode(',0.0', $geometry);
$geometry = array_diff( $geometry, array( ' ' ) );
for ($i=0; $i < count($geometry); $i++) { // $array['features'][$count]['geometry']['coordinates'][0][$i][] = $geometry[$i]; $coor = explode(",", $geometry[$i]); $array['features'][$count]['geometry']['coordinates'][0][$i][] = floatval($coor[0]); $array['features'][$count]['geometry']['coordinates'][0][$i][] = floatval($coor[1]); } $count++; }else{ $array['features'][$count]['geometry']['type'] = 'MultiPolygon'; $multicount = 0; foreach ($xml->Polygon as $multi) {
$geometry = (string)$multi->outerBoundaryIs->LinearRing->coordinates[0];
$geometry = trim(preg_replace('/\s+/', ' ', $geometry));
$geometry = explode(',0.0', $geometry);
$geometry = array_diff( $geometry, array( '' ) );
for ($i=0; $i < count($geometry); $i++) { $coor = explode(",", $geometry[$i]); $array['features'][$count]['geometry']['coordinates'][$multicount][0][$i][] = floatval($coor[0]); $array['features'][$count]['geometry']['coordinates'][$multicount][0][$i][] = floatval($coor[1]); // $array['features'][$count]['geometry']['coordinates'][$multicount][0][$i][] = $geometry[$i]; } $multicount++; } $count++; } } echo json_encode($array); $result->free();
}
$conn->close();?>

?>

More Information

A active Database to use of all zip codes, counties,states,population and their coordinates to map please check out Zipnio.com

Learn More

admin 0 Comments
July 31, 2015
Coding

KML Convertor To MySQL Script

CREATE a Db in Mysql with this statement

CREATE TABLE tablename (
id INT(6) UNSIGNED AUTO_INCREMENT PRIMARY KEY,
boundary VARCHAR(9000) NOT NULL,
zipcode VARCHAR(6) NOT NULL)

Then Connect this script to your DataBase!


<html>
<body>
<?php
$db_host = ''; // hostname
$db_name = ''; // databasename
$db_user = ''; // username
$user_pw = ''; // password
//THIS CAN CONVERT CENSUS DATA
$con = new PDO('mysql:host='.$db_host.'; dbname='.$db_name, $db_user, $user_pw);
$con->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );
$completeurl = "map.xml";
$xml = simplexml_load_file($completeurl);
$placemarks = $xml->Document->Folder->Placemark;
for ($i = 0; $i < count($placemarks); $i++) { $coordinates = $placemarks[$i]->ExtendedData->SchemaData->SimpleData[2][0];
$cor_d = $placemarks[$i]->Polygon->outerBoundaryIs->LinearRing->coordinates;
$cor_d = json_encode($cor_d);
$sql = "INSERT INTO tablename (zipcode, boundary) VALUES (?,?)";
$q = $con->prepare($sql);
$q->execute(array($coordinates ,$cor_d));
echo $i;
}
?>
</body>
</html>

Learn More

admin 0 Comments
  • 1
  • 2
Web Hosting and Design

We are the guys you hire when others say it can not be done. With a rich history of experimental and Research Based Development we are almost certain if you have a issue we can fix it.

Give us a Review Today

Recent Posts
  • Jimnio Launches Shakey Network: AI-Verifiable Secure Channels
  • PHP2Shell Explained: The Critical PHP Bugs Hackers Are Actively Exploiting
  • PHP Vulnerabilities: What Was Found, Why It Matters, and How to Fix Them
  • SQLite Sync is the Future of All Microsoft Web Apps
  • Excellence Award in Internet Marketing Services 2019 – Colorado
Categories
  • apps (10)
  • business (10)
  • Coding (13)
  • Crypto (1)
  • News (12)
  • Uncategorized (9)

Copyright © 2019 Softlab by WebGeniusLab. All Rights Reserved