design update
This commit is contained in:
@ -1,9 +1,16 @@
|
||||
var id;
|
||||
|
||||
$(document).ready(function() {
|
||||
|
||||
M.AutoInit();
|
||||
//initialize all modals
|
||||
$('.modal').modal();
|
||||
$('.modal').modal({
|
||||
dismissible: false
|
||||
});
|
||||
|
||||
$('.materialboxed').materialbox();
|
||||
$('.fixed-action-btn').floatingActionButton();
|
||||
|
||||
|
||||
if ($(window).width() > 600) {
|
||||
//large
|
||||
@ -116,6 +123,18 @@ $(document).on("click", ".collection-item", function() {
|
||||
$(this).addClass("active");
|
||||
});
|
||||
|
||||
$(".btncont").click(function() {
|
||||
$('.r1').animate({'margin-top': '0'}, 1000);
|
||||
});
|
||||
|
||||
$(".opt1").click(function() {
|
||||
$('.r1').animate({'margin-top': '-100%'}, 1000);
|
||||
$(".r2").css("display", "block");
|
||||
});
|
||||
|
||||
$(".opt2").click(function() {
|
||||
// $('.row').animate({'margin-top': '-100%'}, 1000);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user