Left: | ||
Right: |
LEFT | RIGHT |
---|---|
1 title=Services | 1 title=Services |
2 | 2 |
3 <script src="/js/jquery.ui.core.min.js"></script> | 3 <script src="/js/jquery.ui.core.min.js"></script> |
4 <script src="/js/jquery.ui.widget.min.js"></script> | 4 <script src="/js/jquery.ui.widget.min.js"></script> |
5 <script src="/js/jquery.ui.tabs.min.js"></script> | 5 <script src="/js/jquery.ui.tabs.min.js"></script> |
6 <script> | 6 <script> |
7 jQuery(function() | 7 jQuery(function() |
8 { | 8 { |
9 jQuery( | 9 jQuery("#tabs").tabs(); |
10 "ul:first", jQuery("#tabs").tabs( | |
11 { | |
12 activate: function(event, ui) | |
13 { | |
14 location.hash = ui.newTab.find("a")[0].hash; | |
15 } | |
16 }) | |
17 ); | |
18 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.
| |
19 { | |
20 jQuery("[href=" + location.hash + "]").click(); | |
21 }); | |
22 }); | 10 }); |
23 </script> | 11 </script> |
24 | 12 |
25 <header class="page-title"> | 13 <header class="page-title"> |
26 <h1>Services</h1> | 14 <h1>Services</h1> |
27 </header> | 15 </header> |
28 | 16 |
29 <div id="press-info" class="content-block"> | 17 <div 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.
| |
30 <div class="column"> | 18 <div class="column"> |
31 <? include services/overview ?> | 19 <? include services/overview ?> |
32 | 20 |
33 <div id="tabs"> | 21 <div id="tabs"> |
34 <ul> | 22 <ul> |
35 <li><a href="#publisher">Publisher</a></li> | 23 <li><a href="#publisher">Publisher</a></li> |
36 <li><a href="#ad-networks">Ad Networks</a></li> | 24 <li><a href="#ad-network">Ad Network</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.
| |
37 <li><a href="#advertiser">Advertiser</a></li> | 25 <li><a href="#advertiser">Advertiser</a></li> |
38 <li><a href="#ad-tech">Ad Tech</a></li> | 26 <li><a href="#ad-tech">Ad Tech</a></li> |
39 </ul> | 27 </ul> |
40 | 28 |
41 <div id="publisher"> | 29 <div id="publisher"> |
42 <? include services/publisher ?> | 30 <? include services/publisher ?> |
43 </div> | 31 </div> |
44 | 32 |
45 <div id="ad-networks"> | 33 <div id="ad-network"> |
46 <? include services/ad-networks ?> | 34 <? include services/ad-network ?> |
47 </div> | 35 </div> |
48 | 36 |
49 <div id="advertiser"> | 37 <div id="advertiser"> |
50 <? include services/advertiser ?> | 38 <? include services/advertiser ?> |
51 </div> | 39 </div> |
52 | 40 |
53 <div id="ad-tech"> | 41 <div id="ad-tech"> |
54 <? include services/ad-tech ?> | 42 <? include services/ad-tech ?> |
55 </div> | 43 </div> |
56 </div> | 44 </div> |
57 </div> | 45 </div> |
58 </div> | 46 </div> |
LEFT | RIGHT |