Created
June 14, 2012 08:15
-
-
Save regisbamba/2928956 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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