Last active
December 10, 2015 19:08
-
-
Save mrcave/4479008 to your computer and use it in GitHub Desktop.
Implementing global regions
This file contains 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
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> | |
<script type="text/javascript"> | |
$(document).ready(function() { | |
$('#target_region').load('/assets-for-global-regions #element3535938_1349732 > div'); | |
}); | |
</script> |
This file contains 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
$('#target_div').load('/source-url #source_element > div'); |
This file contains 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
<div id="target_region"> | |
<!-- content will be loaded here --> | |
</div> |
This file contains 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
<div class="element" id="element3535938_1349732"> | |
<div id="SubColumn_0_0_pnlDiv" class="textElement"> | |
<p><strong>LightIgnite</strong><br> | |
PO Box 721322<br> | |
Oklahoma City, OK 73172</p> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment