Skip to content

Instantly share code, notes, and snippets.

View sionjlewis's full-sized avatar

Siôn J. Lewis sionjlewis

View GitHub Profile

Every 3rd item ('-' * 14) The Javascript modulus operator ( % ) is used to calculate the remainder of two values if they were divided

A Pen by Siôn J. Lewis on CodePen.

License.

Every 2nd item ('-' * 14) The Javascript modulus operator ( % ) is used to calculate the remainder of two values if they were divided

A Pen by Siôn J. Lewis on CodePen.

License.

@sionjlewis
sionjlewis / RSS Cross-Origin Request using an AJAX promise.markdown
Last active August 29, 2015 14:22
RSS Cross-Origin Request using an AJAX promise

RSS Cross-Origin Request using an AJAX promise ('-' * 46) Cross-Origin RSS Feed requested with AJAX and a JQuery Promise. This example requires a Web Service with CORS enabled.

A Pen by Siôn J. Lewis on CodePen.

License.

@sionjlewis
sionjlewis / Test Cross-Origin Requests.markdown
Last active August 29, 2015 14:22
Test Cross-Origin Requests

Test Cross-Origin Requests ('-' * 26) ...Using CORS, a server can explicitly allow some cross-origin requests while rejecting others. CORS is safer and more flexible than earlier techniques such as JSONP...

A Pen by Siôn J. Lewis on CodePen.

License.

@sionjlewis
sionjlewis / Cascading DropDown List Controls V2.markdown
Last active August 29, 2015 14:22
Cascading DropDown List Controls V2

Cascading DropDown List Controls V2 ('-' * 35) Uses Knockout JS to populate and control a pair for cascading drop-down lists. Uses Knockout JS to populate and control a pair for cascading drop-down lists. This has been crafted with SharePoint in mind as the data source(s). This example disables the 2nd drop-down list if the first control has not been selected.

A Pen by Siôn J. Lewis on CodePen.

License.

@sionjlewis
sionjlewis / Cascading DropDown List Controls V3.markdown
Last active August 29, 2015 14:22
Cascading DropDown List Controls V3

Cascading DropDown List Controls V3 ('-' * 35) Uses Knockout JS to populate and control a pair for cascading drop-down lists. This has been crafted with SharePoint in mind as the data source(s). This example disables the 2nd drop-down list if the first control has not been selected.

A Pen by Siôn J. Lewis on CodePen.

License.

@sionjlewis
sionjlewis / RSS Feed JQuery Test.markdown
Last active August 29, 2015 14:22
RSS Feed JQuery Test

RSS Feed JQuery Test ('-' * 20) x4 examples: RSS Feed display within web page using JQuery with and without the jquery-rss plugin.

A Pen by Siôn J. Lewis on CodePen.

License.