Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Foundation Top Bar

Foundation Top Bar

The top bar is placed at the head of the page:

Example

<

nav

class=

"top-bar"

data-topbar

<

ul

class=

"title-area"

<

li

class=

"name"

<

h1

<

a

href=

"#"

WebSiteName

<

/a

<

/h1

<

/li

<

li

class=

"toggle-topbar menu-icon"

<

a

href=

"#"

<

span

Menu

<

/span

<

/a

<

/li

<

/ul

<

section

class=

"top-bar-section"

<

ul

class=

"left"

<

li

class=

"active"

<

a

href=

"#"

Home

<

/a

<

/li

<

li

<

a

href=

"#"

Page 1

<

/a

<

/li

<

li

<

a

href=

"#"

Page 2

<

/a

<

/li

<

li

<

a

href=

"#"

Page 3

<

/a

<

/li

<

/ul

<

/section

<

/nav

<

script

$(document).ready(function() {

    $(document).foundation();

})

<

/script

Try it »

Example Parsing

Use