Left: | ||
Right: |
OLD | NEW |
---|---|
(Empty) | |
1 title=Services | |
2 | |
3 <script src="/js/jquery.ui.core.min.js"></script> | |
4 <script src="/js/jquery.ui.widget.min.js"></script> | |
5 <script src="/js/jquery.ui.tabs.min.js"></script> | |
6 <script> | |
7 jQuery(function() | |
8 { | |
9 jQuery( | |
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 }); | |
23 </script> | |
24 | |
25 <header class="page-title"> | |
26 <h1>Services</h1> | |
27 </header> | |
28 | |
29 <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.
| |
30 <div class="column"> | |
31 <? include services/overview ?> | |
32 | |
33 <div id="tabs"> | |
34 <ul> | |
35 <li><a href="#publisher">Publisher</a></li> | |
36 <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.
| |
37 <li><a href="#advertiser">Advertiser</a></li> | |
38 <li><a href="#ad-tech">Ad Tech</a></li> | |
39 </ul> | |
40 | |
41 <div id="publisher"> | |
42 <? include services/publisher ?> | |
43 </div> | |
44 | |
45 <div id="ad-networks"> | |
46 <? include services/ad-networks ?> | |
47 </div> | |
48 | |
49 <div id="advertiser"> | |
50 <? include services/advertiser ?> | |
51 </div> | |
52 | |
53 <div id="ad-tech"> | |
54 <? include services/ad-tech ?> | |
55 </div> | |
56 </div> | |
57 </div> | |
58 </div> | |
OLD | NEW |