Skip to content

Instantly share code, notes, and snippets.

@regisbamba
Created June 14, 2012 08:15
Show Gist options
  • Save regisbamba/2928956 to your computer and use it in GitHub Desktop.
Save regisbamba/2928956 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="en">
<head>
<title>My App</title>
<link rel="stylesheet" href="assets/css/styles.css" type="text/css">
<script src="assets/js/libs/zepto.min.js"></script>
</head>
<body>
<div id="subnav-bar">My Sub Nav Bar</div>
<div id="content">
My content <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
More content
</div>
<script type="text/javascript">
if (!$){$ = Zepto}; //zepto fix
forge.topbar.setTitle("My App");
</script>
</body>
</html>
#subnav-bar {
position : fixed;
top: 0px;
left: 0;
right: 0;
z-index: 1020;
background-color : #ddd;
padding : 5px;
text-shadow: 1px 1px 1px #000000;
border-bottom : 1px solid #333333;
border-top : 1px solid #333333;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment