Created
October 10, 2018 00:56
-
-
Save larenelg/7b1d67a3cbf16f97961560764100b169 to your computer and use it in GitHub Desktop.
WORK180 Job Feed Widget Integration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Work180 Widgets</title> | |
</head> | |
<style> | |
body { | |
margin: 1rem 0 0 0; | |
display: flex; | |
flex-direction: column; | |
align-items: center; | |
justify-content: center; | |
} | |
.widgetContainer { | |
width: 100%; | |
max-width: 25rem; | |
margin-bottom: 1rem; | |
} | |
</style> | |
<body> | |
<div id="science" class="widgetContainer"></div> | |
<div id="engineering" class="widgetContainer"></div> | |
<div id="it-and-t" class="widgetContainer"></div> | |
<script> | |
(function (w,d,s,o,f,js,fjs) { | |
w['Work180_Widget']=o;w[o] = w[o] || function () { (w[o].q = w[o].q || []).push(arguments) }; | |
js = d.createElement(s), fjs = d.getElementsByTagName(s)[0]; | |
js.id = o; js.src = f; js.async = 1; fjs.parentNode.insertBefore(js, fjs); | |
}(window, document, 'script', 'widget', './widget.js')); | |
widget({'parentId': 'science', 'domain': 'careerswithstem.com.au/science', 'region': 'AU'}); | |
widget({'parentId': 'engineering', 'domain': 'careerswithstem.com.au/engineering', 'region': 'AU'}); | |
widget({'parentId': 'it-and-t', 'domain': 'careerswithstem.com.au/it-and-t', 'region': 'AU'}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment