JSON EAN PHOTOS

by Andrew Pougher

HTML

<div id="hotelphotos"></div><div id="d"></div>

CSS

#d{font-size:9px}

JavaScript

var json = {
    "HotelRoomAvailabilityResponse": {
        "@size": "3",
        "customerSessionId": "0ABAA83E-8DEA-A9E9-13D2-1C8A60EC9283",
        "hotelId": 221875,
        "arrivalDate": "04\/28\/2013",
        "departureDate": "04\/30\/2013",
        "hotelName": "Pemberton Valley Lodge",
        "hotelAddress": "1490 Sea to Sky Highway (Portage Road)",
        "hotelCity": "Pemberton",
        "hotelStateProvince": "BC",
        "hotelCountry": "CA",
        "numberOfRoomsRequested": 1,
        "checkInInstructions": "<br \/><br \/> <p><strong>Notifications and Fees:<\/strong><br \/><\/p><p><ul><li>Reservations are required for massage services. Reservations can be made by contacting the condo prior to arrival, using the contact information on the booking confirmation. <\/li><li>Minimum Spring Break check-in age is 18 years old. <\/li> <li>Children 18 years old and younger stay free when occupying the parent or guardian's room, using existing bedding.<\/li><li>Connecting\/adjoining rooms may be available, subject to availability. Guests can request connecting\/adjoining rooms by contacting the property directly, using the contact information on the booking confirmation. <\/li> <\/ul><\/p><p><\/p><p><\/p> <p>The following fees and deposits are charged by the property at time of service, check-in, or check-out.  <ul><li>Pet fee: CAD 45.00 per room, per week (maximum CAD 45.00 per stay)<\/li><li>Crib (infant bed) fee: CAD 10 per night<\/li> <\/ul><\/p><p>The above list may not be comprehensive. Fees and deposits may not include tax and are subject to change. <\/p>",
        "tripAdvisorRating": 4,
        "tripAdvisorReviewCount": 126,
        "tripAdvisorRatingUrl": "http:\/\/www.tripadvisor.com\/img\/cdsi\/img2\/ratings\/traveler\/4.0-12345-4.gif",
        "HotelRoomResponse": [{
            "rateCode": 133838,
            "roomTypeCode": 57949,
            "roomTypeDescription": "Studio Suite",
            "supplierType": "E",
            "propertyId":...