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

Unified Diff: pages/services.html

Issue 4946299447148544: Issue 1761 - services page on Eyeo.com (Closed)
Patch Set: changed .raw to .html Created April 14, 2015, 4:37 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
Index: pages/services.html
===================================================================
new file mode 100644
--- /dev/null
+++ b/pages/services.html
@@ -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()
Thomas Greiner 2015/04/14 17:31:35 This feature wasn't mentioned in the issue so no n
saroyanm 2015/04/16 12:19:06 Done.
+ {
+ jQuery("[href=" + location.hash + "]").click();
+ });
+ });
+</script>
+
+<header class="page-title">
+ <h1>Services</h1>
+</header>
+
+<div id="press-info" class="content-block">
Thomas Greiner 2015/04/14 17:31:35 I assume that this is a copy&paste issue so please
saroyanm 2015/04/16 12:19:06 Done.
+ <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>
Thomas Greiner 2015/04/14 17:31:35 Interestingly, the names of the other tabs are sin
saroyanm 2015/04/16 12:19:06 Done.
+ <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>

Powered by Google App Engine
This is Rietveld