Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                
              
            
!

CSS

              
                
              
            
!

JS

              
                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
}
              
            
!
999px

Console