1 product
Sold Out
Graduation Cake with cake topper
Graduation Cake with cake topper
0.00 SR
// $(document).ready(function() { // $('#format').change(function() { // var getText = $('#format').html(); // $("#view_item").removeClass(); // $("#view_item").toggleClass("overlay-" + getText); // }); // }); /*Dropdown Menu*/ $(document).on('click','.dropdown',function(){ //$(this).attr('tabindex', 1).focus(); $(this).toggleClass('active'); $(this).find('.dropdown-menu').slideToggle(600); }); $('.dropdown').focusout(function () { $(this).removeClass('active'); $(this).find('.dropdown-menu').slideUp(600); }); $('.dropdown .dropdown-menu li').click(function () { $(this).parents('.dropdown').find('span').text($(this).text()); $(this).parents('.dropdown').find('input').attr('value', $(this).attr('id')); }); /*End Dropdown Menu*/ $(document).on('click','.dropdown-menu li',function(){ $('#view_main').removeAttr('class').attr('class', 'view_main sub-container'); var liName = $(this).attr('id'); $('#view_main').addClass(liName); }) $(document).on('click','.dropdown-menu li',function(){ $('#view_main').removeAttr('class').attr('class', 'view_main sub-container'); var liName = $(this).attr('id'); $('#view_main').addClass(liName); }) $(document).on('click','.dropdown-menu#view-dropdown li',function(e){ e.preventDefault(); $('#view_main').removeAttr('class').attr('class', 'view_main sub-container'); var liName = $(this).attr('id'); $('#view_main').addClass(liName); setTimeout(function(){ $('.dropdown-menu#view-dropdown').slideUp(); }, 100) localStorage.setItem('type', liName); }) var done = localStorage.getItem('type'); if (done != '') { $('#view_main').addClass('view_main '+ done); }