Skip to content

Commit

Permalink
Merge pull request #134 from bmatto/gh-pages
Browse files Browse the repository at this point in the history
Add Global Hooks - merging pull request from bmatto since we have 2 👍
  • Loading branch information
Cameron Schermerhorn committed Oct 24, 2014
2 parents 2a2fe4f + 43e9680 commit 3a0862e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions demos/interactive-option-demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
<title>Universal Navigation Test</title>
</head>
<body style="background: #24387E; margin:0">
<div id="nygov-universal-navigation" data-iframe="true" data-updated="2014-10-18 11:20">
<div id="nygov-universal-navigation" class="nygov-universal-container" data-iframe="true" data-updated="2014-10-18 11:20">
<!-- Google Tag Manager -->
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-T4FP6H" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<script type="text/javascript">(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0];var j=d.createElement(s);var dl=l!='dataLayer'?'&l='+l:'';j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;j.type='text/javascript';j.async=true;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-T4FP6H');</script>
<!-- End Google Tag Manager -->
<noscript>
<iframe width="100%" height="86px" src="//static-assets.ny.gov/load_global_menu/ajax?iframe=true" frameborder="0" style="border:none; overflow:hidden; width:100%; height:86px;" scrolling="no">
<iframe id="nygov-universal-navigation-frame" class="nygov-universal-container" width="100%" height="86px" src="//static-assets.ny.gov/load_global_menu/ajax?iframe=true" frameborder="0" style="border:none; overflow:hidden; width:100%; height:86px;" scrolling="no">
Your browser does not support iFrames
</iframe>
</noscript>
Expand Down Expand Up @@ -50,9 +50,9 @@

</div>
</div>
<div id="nygov-universal-footer">
<div id="nygov-universal-footer" class="nygov-universal-container">
<noscript>
<iframe width="100%" height="200px" src="//static-assets.ny.gov/load_global_footer/ajax?iframe=true" data-updated="2014-10-18 11:20" frameborder="0" style="border:none; overflow:hidden; width:100%; height:200px;" scrolling="no">
<iframe id="nygov-universal-footer-frame" class="nygov-universal-container" width="100%" height="200px" src="//static-assets.ny.gov/load_global_footer/ajax?iframe=true" data-updated="2014-10-18 11:20" frameborder="0" style="border:none; overflow:hidden; width:100%; height:200px;" scrolling="no">
Your browser does not support iFrames
</iframe>
</noscript>
Expand Down
4 changes: 2 additions & 2 deletions demos/static-option-demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<title>Universal Navigation Test</title>
</head>
<body style="background: #24387E; margin:0">
<iframe width="100%" height="86px" src="//static-assets.ny.gov/load_global_menu/ajax?iframe=true" data-updated="2014-10-18 11:20" frameborder="0" style="border:none; overflow:hidden; width:100%; height:86px;" scrolling="no">
<iframe id="nygov-universal-navigation-frame" class="nygov-universal-container" width="100%" height="86px" src="//static-assets.ny.gov/load_global_menu/ajax?iframe=true" data-updated="2014-10-18 11:20" frameborder="0" style="border:none; overflow:hidden; width:100%; height:86px;" scrolling="no">
Your browser does not support iFrames
</iframe>
<!-- Google Tag Manager -->
Expand All @@ -26,7 +26,7 @@
<p>A billion trillion two ghostly white figures in coveralls and helmets are soflty dancing radio telescope cosmic fugue. Euclid Hypatia ship of the imagination gathered by gravity paroxysm of global death a mote of dust suspended in a sunbeam, light years brain is the seed of intelligence the only home we've ever known, network of wormholes Apollonius of Perga, dispassionate extraterrestrial observer the carbon in our apple pies concept of the number one. The carbon in our apple pies, as a patch of light laws of physics Hypatia a very small stage in a vast cosmic arena extraplanetary, science a billion trillion gathered by gravity, vanquish the impossible extraplanetary and billions upon billions upon billions upon billions upon billions upon billions upon billions.</p>

</div>
<iframe width="100%" height="200px" src="//static-assets.ny.gov/load_global_footer/ajax?iframe=true" data-updated="2014-10-18 11:20" frameborder="0" style="border:none; overflow:hidden; width:100%; height:200px;" scrolling="no">
<iframe id="nygov-universal-footer" class="nygov-universal-container" width="100%" height="200px" src="//static-assets.ny.gov/load_global_footer/ajax?iframe=true" data-updated="2014-10-18 11:20" frameborder="0" style="border:none; overflow:hidden; width:100%; height:200px;" scrolling="no">
Your browser does not support iFrames
</iframe>

Expand Down
8 changes: 4 additions & 4 deletions notes/interactive-option.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ ___!!! Place this code at the very top of your site, outside of any container di


```html
<div id="nygov-universal-navigation" data-iframe="true" data-updated="2014-10-18 11:20">
<div id="nygov-universal-navigation" class="nygov-universal-container" data-iframe="true" data-updated="2014-10-18 11:20">
<!-- Google Tag Manager -->
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-T4FP6H" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<script type="text/javascript">(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0];var j=d.createElement(s);var dl=l!='dataLayer'?'&l='+l:'';j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;j.type='text/javascript';j.async=true;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-T4FP6H');</script>
<!-- End Google Tag Manager -->
<noscript>
<iframe width="100%" height="86px" src="//static-assets.ny.gov/load_global_menu/ajax?iframe=true" frameborder="0" style="border:none; overflow:hidden; width:100%; height:86px;" scrolling="no">
<iframe id="nygov-universal-navigation-frame" class="nygov-universal-container" width="100%" height="86px" src="//static-assets.ny.gov/load_global_menu/ajax?iframe=true" frameborder="0" style="border:none; overflow:hidden; width:100%; height:86px;" scrolling="no">
Your browser does not support iFrames
</iframe>
</noscript>
Expand Down Expand Up @@ -49,9 +49,9 @@ ___!!! Place this code at the very top of your site, outside of any container di


```html
<div id="nygov-universal-footer">
<div id="nygov-universal-footer" class="nygov-universal-container">
<noscript>
<iframe width="100%" height="200px" src="//static-assets.ny.gov/load_global_footer/ajax?iframe=true" data-updated="2014-10-18 11:20" frameborder="0" style="border:none; overflow:hidden; width:100%; height:200px;" scrolling="no">
<iframe id="nygov-universal-footer-frame" class="nygov-universal-container" width="100%" height="200px" src="//static-assets.ny.gov/load_global_footer/ajax?iframe=true" data-updated="2014-10-18 11:20" frameborder="0" style="border:none; overflow:hidden; width:100%; height:200px;" scrolling="no">
Your browser does not support iFrames
</iframe>
</noscript>
Expand Down
4 changes: 2 additions & 2 deletions notes/static-option.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ___!!! Place this code at the very top of your site, outside of any container di


```html
<iframe width="100%" height="86px" src="//static-assets.ny.gov/load_global_menu/ajax?iframe=true" data-updated="2014-10-18 11:20" frameborder="0" style="border:none; overflow:hidden; width:100%; height:86px;" scrolling="no">
<iframe id="nygov-universal-navigation-frame" class="nygov-universal-container" width="100%" height="86px" src="//static-assets.ny.gov/load_global_menu/ajax?iframe=true" data-updated="2014-10-18 11:20" frameborder="0" style="border:none; overflow:hidden; width:100%; height:86px;" scrolling="no">
Your browser does not support iFrames
</iframe>
<!-- Google Tag Manager -->
Expand All @@ -23,7 +23,7 @@ ___!!! Place this code at the very top of your site, outside of any container di
___!!! Place this code at the very bottom of your site, outside of any container divs, as close to and before the closing \<body\> tag. The footer should expand to 100% of the screen, even if your current site has a fixed width. !!!___

```html
<iframe width="100%" height="200px" src="//static-assets.ny.gov/load_global_footer/ajax?iframe=true" data-updated="2014-10-18 11:20" frameborder="0" style="border:none; overflow:hidden; width:100%; height:200px;" scrolling="no">
<iframe id="nygov-universal-footer-frame" class="nygov-universal-container" width="100%" height="200px" src="//static-assets.ny.gov/load_global_footer/ajax?iframe=true" data-updated="2014-10-18 11:20" frameborder="0" style="border:none; overflow:hidden; width:100%; height:200px;" scrolling="no">
Your browser does not support iFrames
</iframe>

Expand Down

0 comments on commit 3a0862e

Please sign in to comment.