JunyTony Horário na Globo de jan a jun
About this app
Confira o horário de exibição do programa JunyTony na Globo de janeiro a junho.
JunyTony Horário na Globo de jan a jun
Related apps
Put this on your site
Source
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>JunyTony Horário na Globo de jan a jun</title>
<meta name="description" content="Confira o horário de exibição do programa JunyTony na Globo de janeiro a junho.">
<meta name="keywords" content="JunyTony, Globo, horário, jan a jun">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<script type="text/javascript">
try {
// App Javascript Goes Here. Place your entire script content inside the try block for error handling.
// This will run when the DOM is ready.
document.addEventListener("DOMContentLoaded", function() {
// Fetch the schedule data from the server
fetchScheduleData();
});
function fetchScheduleData() {
// Make an AJAX request to fetch the schedule data from the server
$.ajax({
url: "https://api.example.com/schedule", // Replace with your API endpoint
method: "GET",
success: function(response) {
// Handle the response and display the schedule data
displaySchedule(response);
},
error: function(error) {
console.log("Error fetching schedule data:", error);
}
});
}
function displaySchedule(schedule) {
// Get the main container element
var mainContainer = document.getElementById("main-container");
// Create a table to display the schedule data
var table = document.createElement("table");
table.classList.add("table");
// Create the table header
var thead = document.createElement("thead");
var tr = document.createElement("tr");
var thMonth = document.createElement("th");
thMonth.textContent = "Month";
tr.appendChild(thMonth);
var thTime = document.createElement("th");
thTime.textContent = "Time";
tr.appendChild(thTime);
thead.appendChild(tr);
table.appendChild(thead);
// Create the table body
var tbody = document.createElement("tbody");
// Loop through the schedule data and create table rows
for (var i = 0; i < schedule.length; i++) {
var month = schedule[i].month;
var time = schedule[i].time;
var tr = document.createElement("tr");
var tdMonth = document.createElement("td");
tdMonth.textContent = month;
tr.appendChild(tdMonth);
var tdTime = document.createElement("td");
tdTime.textContent = time;
tr.appendChild(tdTime);
tbody.appendChild(tr);
}
table.appendChild(tbody);
// Append the table to the main container
mainContainer.appendChild(table);
}
} catch (error) {
// This will throw the error to the parent window.
throw error;
}
</script>
<style>
/* App CSS Goes Here */
</style>
</head>
<body>
<div id="main-container" class="container">
<!-- App HTML Goes Here -->
</div>
</body>
</html>
NEW APPS
These are apps made by the community!