A Pen by G Man

Thumbnail
This awesome code was written by ginil, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright ginil ©
  • HTML
  • JavaScript
<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">
  <title>A Pen by  G Man</title>
  
  
  
  
  
</head>

<body>

  
  
  

    <script  src="js/index.js"></script>




</body>

</html>

/*Downloaded from https://www.codeseek.co/ginil/a-pen-by-g-man-gwbka */
var data = {
  "senderID": 1,
  "ESENDER_SERVER": "http://lib2u.directcomms.net/server",
  "SERVER_VERSION": 1,
  "FACEBOOK_URL": "https://www.facebook.com/pages/Charles-Sturt-Library-Service/117026058355433",
  "TWITTER_URL": "https://twitter.com/CharlesSturtSA",
  "PINTREST_URL": "http://sapln.lib.overdrive.com/",
  "DEFAULT_BRANCH": 1,
  "BROADCAST_ID": 0,
  "SENDER_NAME": "Your Library                                      ",
  "SENDER_IMAGE": "https://www.westtorrens.sa.gov.au/files/0/1/logo.gif",
  "CATALOGUE": "http://www.libanywhere.com/m/495",
  "WEB_PAGE": "https://www.charlessturt.sa.gov.au/page.aspx?u=1",
  "branches": [
{
      "branchID": 10,
      "branchName": "Branch C",
      "address": "378 Seaview Road, Henley Beach SA 5022 ",
      "lat": 0.0,
      "lon": 0.0,
      "phone": "8408 1333",
      "email": " library@charlessturt.sa.gov.au",
      "hours": "Monday 10:00AM - 05:30PM<br>Tuesday 10:00AM - 05:30PM<br>Wednesday 10:00AM - 05:30PM<br>Thursday 10:00AM - 08:00PM<br>Friday 10:00AM - 05:30PM<br>Saturday 09:15AM - 01:00PM<br>Sunday Closed<br>-Closed on Public Holidays<br>-Closed during the Easter Weekend<br>",
      "messageTypes": [
        {
          "fullID": "1_10_18",
          "messageTypeID": 18,
          "typeName": "New library titles this month",
          "branchID": 10,
          "messages": []
        },
        {
          "fullID": "1_10_22",
          "messageTypeID": 22,
          "typeName": "Tutorials and classes",
          "branchID": 10,
          "messages": []
        },
        {
          "fullID": "1_10_97",
          "messageTypeID": 97,
          "typeName": "Author visits",
          "branchID": 10,
          "messages": []
        },
        {
          "fullID": "1_10_98",
          "messageTypeID": 98,
          "typeName": "Fund Raisers",
          "branchID": 10,
          "messages": []
        },
        {
          "fullID": "1_10_99",
          "messageTypeID": 99,
          "typeName": "JP availability",
          "branchID": 10,
          "messages": []
        },
        {
          "fullID": "1_10_101",
          "messageTypeID": 101,
          "typeName": "Kids story time",
          "branchID": 10,
          "messages": []
        },
        {
          "fullID": "1_10_104",
          "messageTypeID": 104,
          "typeName": "Special library events",
          "branchID": 10,
          "messages": []
        },
        {
          "fullID": "1_10_115",
          "messageTypeID": 115,
          "typeName": "Toddler time",
          "branchID": 10,
          "messages": []
        }
      ]
    },
    {
      "branchID": 13,
      "branchName": "Branch D",
      "address": "72 Woodville Road, Woodville SA 5011 ",
      "lat": 0.0,
      "lon": 0.0,
      "phone": "8408 1333",
      "email": " library@charlessturt.sa.gov.au",
      "hours": "Monday 10:00AM - 05:30PM<br>Tuesday 10:00AM - 05:30PM<br>Wednesday 10:00AM - 05:30PM<br>Thursday 10:00AM - 08:00PM<br>Friday 10:00AM - 05:30PM<br>Saturday 09:15AM - 01:00PM<br>Sunday Closed<br>-Closed on Public Holidays<br>-Closed during the Easter Weekend<br>",
      "messageTypes": [
        {
          "fullID": "1_13_97",
          "messageTypeID": 97,
          "typeName": "Author visits",
          "branchID": 13,
          "messages": []
        },
        {
          "fullID": "1_13_98",
          "messageTypeID": 98,
          "typeName": "Fund Raisers",
          "branchID": 13,
          "messages": [
            {
              "ID": 573,
              "Name": "a",
              "Description": "sdasdfsadf",
              "Date": "2014-04-04T22:00:00",
              "EndDate": "2014-06-27T23:00:00",
              "startTime": "22:00:00",
              "endTime": "23:00:00",
              "Duration": null,
              "Location": null,
              "Cost": null,
              "Attending": null,
              "VisibleStartDate": null,
              "VisibleEndDate": "2014-02-02T17:36:56.19",
              "Attendees": null,
              "MaxAttendees": null,
              "AgeGroup": null,
              "AttendanceURL": null,
              "recurringDesc": "Fridays on the first week of the month until 27/06/2014",
              "branchID": 13,
              "messageTypeID": 98
            },
            {
              "ID": 575,
              "Name": "testing monthly dates",
              "Description": "afasdfasfasd",
              "Date": "2014-04-04T02:00:00",
              "EndDate": "2014-06-27T03:00:00",
              "startTime": "02:00:00",
              "endTime": "03:00:00",
              "Duration": null,
              "Location": null,
              "Cost": null,
              "Attending": null,
              "VisibleStartDate": null,
              "VisibleEndDate": "2014-02-02T21:22:08.487",
              "Attendees": null,
              "MaxAttendees": null,
              "AgeGroup": null,
              "AttendanceURL": null,
              "recurringDesc": "Fridays on the first week of the month until 27/06/2014",
              "branchID": 13,
              "messageTypeID": 98
            }
          ]
        },
        {
          "fullID": "1_13_134",
          "messageTypeID": 134,
          "typeName": "Local History",
          "branchID": 13,
          "messages": [
            {
              "ID": 574,
              "Name": "sdfasfasfd",
              "Description": "asfdfasdfasdsdfa",
              "Date": "2014-04-04T22:00:00",
              "EndDate": "2014-06-27T23:00:00",
              "startTime": "22:00:00",
              "endTime": "23:00:00",
              "Duration": null,
              "Location": null,
              "Cost": null,
              "Attending": null,
              "VisibleStartDate": null,
              "VisibleEndDate": "2014-02-02T17:37:53.087",
              "Attendees": null,
              "MaxAttendees": null,
              "AgeGroup": null,
              "AttendanceURL": null,
              "recurringDesc": "Fridays on the first week of the month until 27/06/2014",
              "branchID": 13,
              "messageTypeID": 134
            }
          ]
        }
      ]
    }
  ],
  "buttons": null
}

Comments