http://bacaberita.info/
HOME I NASIONAL I INTERNASIONAL I EKONOMI I OLAHRAGA I HIBURAN I IPTEK I INDEKS

top_bar

NAML documentation   Watch a video
   Usages of this macro
... in top_bar.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<override_macro name="top_bar">
    <div class="top-bar">
        <div class="breadcrumbs" style="float:left">
            <n.breadcrumbs
Macro
/>
        </div>
        <div style="text-align:right;">
            <n.user_header
Macro
/>
        </div>
    </div>
    <div id="google-ads-1" style="display: block; text-align: center;">
 <script type="text/javascript">
        adUnit   = document.getElementById("google-ads-1");
        adWidth  = adUnit.offsetWidth;
        /* Replace this with your AdSense Publisher ID */
        google_ad_client = "ca-pub-2262896992439289";
        if ( adWidth >= 750 ) {
          /* Leaderboard 675 x 90 */
          google_ad_slot        = "3353471458";
          google_ad_width       = 675;
          google_ad_height      = 90;
        } else if ( adWidth >= 320 ) {
          /* Banner (320 x 100) */
          google_ad_slot        = "2626203051";
          google_ad_width       = 320;
          google_ad_height      = 100;
        } else if ( adWidth >= 234 ) {
          /* Mobile Banner (234 x 60) */
          google_ad_slot        = "3735658252";
          google_ad_width       = 320;
          google_ad_height      = 50;
        } else {
          /* Do not display the Google Ad */
          google_ad_slot                = "0";
          adUnit.style.display  = "none";
        }
 </script>
 <script type="text/javascript"    
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
 </script>
</div></override_macro>
Overrides default macro
... in utilities.naml
165
166
167
168
169
170
171
172
173
174
<macro name="top_bar">
    <div class="top-bar">
        <div class="breadcrumbs" style="float:left">
            <n.breadcrumbs/>
        </div>
        <div style="text-align:right;">
            <n.user_header/>
        </div>
    </div>
</macro>
loading...