Skip to content

Commit b27508a

Browse files
#uoasdasdsd
1 parent 6901cf8 commit b27508a

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

code/part-twelve.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,4 +186,13 @@
186186
</code></br></br>
187187
<button class="button is-danger" id="btn_print">PRINT</button>
188188
</div>
189+
190+
<hr>
191+
For smooth scroll</br></br>
192+
193+
<code>
194+
_scroll("display_load");
195+
</code>
196+
</br></br>
197+
<button class="button is-success" id="btn_scroll">TEST</button>
189198
</div>

code/part-twelve.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,8 @@ _onClick("btn_print_all",function(){
8888
});
8989
_onClick("btn_print",function(){
9090
_print("print_me",600,400);
91+
});
92+
93+
_onClick("btn_scroll",function(){
94+
_scroll("display_load");
9195
});

0 commit comments

Comments
 (0)