Angular.tile

Developer
Size
1,854 Kb
Views
8,096

How do I make an angular.tile?

What is a angular.tile? How do you make a angular.tile? This script and codes were developed by Anton on 11 January 2023, Wednesday.

Angular.tile Previews

Angular.tile - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Angular.tile</title>
</head>
<body> <script src="js/index.js"></script>
</body>
</html>

Angular.tile - Script Codes JS Codes

var data = [{"Id": 0, "Name": "images/0.jpg", "callout":"sometext", "Category":"Mixed use", "colspan":8, "rawspan":2, "class":"yellow"}, {"Id": 1, "Name": "images/1.jpg", "callout":"sometext", "Category":"Studio", "colspan":4, "rawspan":1, "class":"purple"},	{"Id": 2, "Name": "images/2.jpg", "callout":"sometext", "Category":"Hospitality","colspan":4, "rawspan":2, "class":"red"}, {"Id": 3, "Name": "images/3.jpg", "callout":"sometext", "Category":"Offices", "colspan":4, "rawspan":4, "class":"yellow"}, {"Id": 4, "Name": "images/4.jpg", "callout":"sometext", "Category":"Museum", "colspan":4, "rawspan":4, "class":"green"}, {"Id": 5, "Name": "images/5.jpeg", "callout":"sometext", "Category":"Museum", "colspan":2, "rawspan":2, "class":"purple"}, {"Id": 6, "Name": "images/6.jpg", "callout":"sometext", "Category":"Offices", "colspan":4, "rawspan":1, "class":"green"}, {"Id": 7, "Name": "images/7.jpg", "callout":"sometext", "Category":"Hospitality","colspan":4, "rawspan":2, "class":"red"}, {"Id": 8, "Name": "images/eight.jpg", "callout":"sometext", "Category":"Studio", "colspan":8, "rawspan":2, "class":"gray"}, {"Id": 9, "Name": "images/nine.jpg", "callout":"sometext", "Category":"Mixed use","colspan":4, "rawspan":1, "class":"red"}, {"Id": 10, "Name": "images/nine.jpg", "callout":"sometext", "Category":"Mixed use","colspan":4, "rawspan":1, "class":"red"}, {"Id": 11, "Name": "images/ten.jpg", "callout":"sometext", "Category":"Studio", "colspan":4, "rawspan":2, "class":"yellow"}];
var items = [];	for (var bob in data) { var item = {}; item.cols = data[bob].colspan; item.rows = data[bob].rawspan; item.id = data[bob].Id; items.push(item); document.write(' '+items[bob].id);	}
var newData = [];
var k = items.length;
console.log('The length of the array is '+k);
console.log(items);
while (k--){ if (items[k].cols==8){ document.write('</br>Found an 8 at '+items[k].id); newData.push(items[k]); items.splice(k,1); }
}
console.log('newData');
console.log(newData);
console.log('items');
console.log(items);
Angular.tile - Script Codes
Angular.tile - Script Codes
Home Page Home
Developer Anton
Username antonandoff
Uploaded January 11, 2023
Rating 3
Size 1,854 Kb
Views 8,096
Do you need developer help for Angular.tile?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Anton (antonandoff) Script Codes
Create amazing blog posts with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!