Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: pages/services.raw

Issue 4946299447148544: Issue 1761 - services page on Eyeo.com (Closed)
Patch Set: Created March 10, 2015, 12:55 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « includes/services/publisher.md ('k') | templates/default.tmpl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pages/services.raw
===================================================================
new file mode 100644
--- /dev/null
+++ b/pages/services.raw
@@ -0,0 +1,58 @@
+title=Services
+
+<script src="/js/jquery.ui.core.min.js"></script>
+<script src="/js/jquery.ui.widget.min.js"></script>
+<script src="/js/jquery.ui.tabs.min.js"></script>
+<script>
+ jQuery(function()
+ {
+ jQuery(
+ "ul:first", jQuery("#tabs").tabs(
+ {
+ activate: function(event, ui)
+ {
+ location.hash = ui.newTab.find("a")[0].hash;
+ }
+ })
+ );
+ jQuery(window).on("hashchange", function()
+ {
+ jQuery("[href=" + location.hash + "]").click();
+ });
+ });
+</script>
+
+<header class="page-title">
+ <h1>Services</h1>
+</header>
+
+<div id="press-info" class="content-block">
+ <div class="column">
+ <? include services/overview ?>
+
+ <div id="tabs">
+ <ul>
+ <li><a href="#publisher">Publisher</a></li>
+ <li><a href="#ad-networks">Ad Networks</a></li>
+ <li><a href="#advertiser">Advertiser</a></li>
+ <li><a href="#ad-tech">Ad Tech</a></li>
+ </ul>
+
+ <div id="publisher">
+ <? include services/publisher ?>
+ </div>
+
+ <div id="ad-networks">
+ <? include services/ad-networks ?>
+ </div>
+
+ <div id="advertiser">
+ <? include services/advertiser ?>
+ </div>
+
+ <div id="ad-tech">
+ <? include services/ad-tech ?>
+ </div>
+ </div>
+ </div>
+</div>
« no previous file with comments | « includes/services/publisher.md ('k') | templates/default.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld