File: menu-no-css.html

package info (click to toggle)
libpetal-perl 2.23-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,088 kB
  • ctags: 162
  • sloc: perl: 4,738; xml: 726; makefile: 2
file content (66 lines) | stat: -rw-r--r-- 1,745 bytes parent folder | download | duplicates (6)
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!--?

  Skip Navigation Fragment Template

  This template is used for the additional document navigation 
  menu for non-CSS browsers.

  $Id$

?-->
<div 
  xmlns:petal="http://purl.org/petal/1.0/"
  xmlns:i18n="http://xml.zope.org/namespaces/i18n"
  xmlns:metal="http://xml.zope.org/namespaces/metal"
  metal:define-macro="content"
  i18n:domain="testdomain"
  class="no-css"
>
  <p>

    <a
      href="#page_content"
      title="Skip the navigation and jump straight to the page content [ Accesskey S ]"
      xml:lang="en"
      lang="en"
      accesskey="S"
      i18n:attributes="xml:lang two-letter-lang-code; 
                       lang two-letter-lang-code; 
                       title menu-skip-nav-title"
      i18n:translate="menu-skip-nav"
    >Skip Navigation</a>

<!--?

    The following can be copied to create hard coded
    menu items that don't link to themselves. However
    IE doesn't support accesskeys on hidden items.

    <bdo 
      dir="ltr"
      petal:attributes="dir self/direction"
      metal:define-slot="seperator"
    >|</bdo>
    <a
      xml:lang="en"
      lang="en"
      href="/accessibility/"
      accesskey="0"
      title="Accessibility information [ Accesskey 0 ]"
      petal:omit-tag="true: self/cgi/path_info_eq '/accessibility/'"
      i18n:attributes="xml:lang two-letter-lang-code; 
                       lang two-letter-lang-code; 
                       title menu-access-title"
    ><span
      xml:lang="en"
      lang="en"
      petal:omit-tag="false: self/cgi/path_info_eq '/contact/'"
      i18n:attributes="xml:lang two-letter-lang-code; 
                       lang two-letter-lang-code;" 
      i18n:translate="menu-access"
    >Accessibility</span></a>

?-->

  </p>
</div>