Skip to content

Commit c803bc9

Browse files
committed
small fixes
1 parent aa2847f commit c803bc9

File tree

7 files changed

+153
-109
lines changed

7 files changed

+153
-109
lines changed

_layouts/default.html

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,7 @@
2525
<a href='https://twitter.com/canjsus'>Twitter</a>
2626
</div>
2727
<div id="inner-menu-wrap">
28-
<div id="scroll-top"></div>
29-
<ul id='menu'>
30-
</ul>
31-
<div id="scroll-bottom"></div>
28+
<ul id='menu'></ul>
3229
</div>
3330
<a href='http://bitovi.com' id='developed-by'>
3431
<img alt="Bitovi" src="images/bitovi.png"/>

_site/index.html

Lines changed: 145 additions & 60 deletions
Large diffs are not rendered by default.

_site/javascripts/application.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,6 @@ $.Controller('Menu', {
209209
} else {
210210
this._menuShouldScroll = false;
211211
this._menu.css('marginTop', 0);
212-
this.find('#scroll-top, #scroll-bottom').hide();
213212
}
214213
},
215214
"#inner-menu-wrap mousemove" : function(el, ev){

_site/stylesheets/styles.css

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -128,24 +128,6 @@ em {
128128
border-bottom: 1px solid #b5b6b5;
129129
position: relative;
130130
}
131-
#scroll-top {
132-
position: absolute;
133-
top: 0px;
134-
left: 0px;
135-
right: 0px;
136-
height: 40px;
137-
background: rgba(0,0,0,0.3);
138-
z-index: 1000;
139-
}
140-
#scroll-bottom {
141-
position: absolute;
142-
bottom: 0px;
143-
left: 0px;
144-
right: 0px;
145-
height: 40px;
146-
background: rgba(0,0,0,0.3);
147-
z-index: 1000;
148-
}
149131
#content-wrapper {
150132
width: 680px;
151133
float: right;

index.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ layout: default
55

66
CanJS is an MIT-licensed, client-side, JavaScript framework that makes building rich web applications easy. It provides:
77

8-
- __can.Construct__ - inheritable constructor functions
9-
- __can.Observe__ - key-value binding
10-
- __can.Model__ - observes connected to a RESTful JSON interface
11-
- __can.view__ - template loading, caching, rendering
12-
- __can.EJS__ - live binding templates
13-
- __can.Control__ - declarative event bindings
14-
- __can.route__ - back button and bookmarking support
8+
- __[can.Construct](#can_construct)__ - inheritable constructor functions
9+
- __[can.Observe](#can_observe)__ - key-value binding
10+
- __[can.Model](#can_model)__ - observes connected to a RESTful JSON interface
11+
- __[can.view](#can_view)__ - template loading, caching, rendering
12+
- __[can.EJS](#can_ejs)__ - live binding templates
13+
- __[can.Control](#can_control)__ - declarative event bindings
14+
- __[can.route](#can_route)__ - back button and bookmarking support
1515

1616
It also includes a rich set of supported [extensions and plugins](#plugins).
1717

javascripts/application.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,6 @@ $.Controller('Menu', {
209209
} else {
210210
this._menuShouldScroll = false;
211211
this._menu.css('marginTop', 0);
212-
this.find('#scroll-top, #scroll-bottom').hide();
213212
}
214213
},
215214
"#inner-menu-wrap mousemove" : function(el, ev){

stylesheets/styles.css

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -128,24 +128,6 @@ em {
128128
border-bottom: 1px solid #b5b6b5;
129129
position: relative;
130130
}
131-
#scroll-top {
132-
position: absolute;
133-
top: 0px;
134-
left: 0px;
135-
right: 0px;
136-
height: 40px;
137-
background: rgba(0,0,0,0.3);
138-
z-index: 1000;
139-
}
140-
#scroll-bottom {
141-
position: absolute;
142-
bottom: 0px;
143-
left: 0px;
144-
right: 0px;
145-
height: 40px;
146-
background: rgba(0,0,0,0.3);
147-
z-index: 1000;
148-
}
149131
#content-wrapper {
150132
width: 680px;
151133
float: right;

0 commit comments

Comments
 (0)