restaurant review map
Get RSS feed and
by falldeaf
HTML
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<meta charset="utf-8">
<style>
#list {
height:80px;
width: 100%;
background-color:#3F3F3F;
color:#FFF;
text-align:center;
font-size:20px;
line-height:35px;
}
#description {
font-weight:bold;
font-size:24px;
margin:10px;
}
#left-arrow {
color:#019AFF;
}
#right-arrow {
margin:10px 0 0 0;
background-color:#DDD;
border:1px solid black;
color:#019AFF;
padding:1px 5px;
border-radius:4px;
cursor: pointer;
}
#map {
bottom:0;
height: 90%;
width:100%;
}
.info_content {
width: 225px;
}
.info_content .title{
font-size:20px;
margin:2px 0;
}
.info_content div:first-of-type a:first-of-type img{
width:220px;
margin:2px;
}
html, body {
height: 100%;
margin: 0;
padding: 0;
}
</style>
</head>
<body>
<div id="list">
<span id="description">Discover other restaurant reviews</span><br />
<span id="current-restaurant"> </span>
<span id="right-arrow"> Next > </span>
</div>
<div id="map"></div>
<script
src="https://code.jquery.com/jquery-3.3.1.min.js"
integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
crossorigin="anonymous"></script>
<script>
window.pins = new Array();
//window.rssurl = "http://www.tcpalmextras.com/tcpalm_hosted/giverss.php";
//window.rssurl = "http://rssfeeds.tcpalm.com/treasurecoast/dining&x=1";
window.rssurl = "https://www.tcpalmextras.com/tcpalm_hosted/images/foodmap/food.php";
//ICONS URL
window.iconurl = "https://www.tcpalmextras.com/tcpalm_hosted/images/foodmap/icons/";
...