發表文章

目前顯示的是 11月 27, 2018的文章

Bootstrap 4 tab overflow content not scrolling

圖片
up vote 1 down vote favorite Working on a Bootstrap 4 Holy Grail layout. Each column should scroll overflowing content independently and without declaring a height. The far left column scrolls properly. The far right column though has a Bootstrap NAV/TAB widget. The third tab of which, MENU 2 , contains overflowing content that won't scroll no matter what I try. What am I missing? Any assistance would be appreciated! Here is the pertinent CSS: .flex_item2 flex-grow: 1; flex-shrink: 1; flex-basis: auto; overflow-y: auto; Demo: https://www.codeply.com/go/Db0rEUYvXn Thank you so much! css3 flexbox bootstrap-4 overflow bootstrap-tabs share | improve this question asked Nov 11 at 3:12 DRAGON 72 1 1 10 add a comment  |  up vote 1 down vote favorite Working on a Bootstrap 4 Holy Grail layout. Each column should scroll overflowing content independently and without declaring a height. The far left column scrolls properly. The far

change calculator..denominations (quarters, dimes, nickels, pennies). are not printing the correct amount

圖片
up vote 0 down vote favorite Need help denominations (quarters, dimes, nickels, pennies are not printing). Each denomination, dollars, quarters, dimes, nickels, pennies, is suppose to print the correct change due. function calculateChange() var amountDue = document.getElementById('amount-due').value; var amountReceived = document.getElementById('amount-received').value; //////////////////////////////////// //dollars to print dollar mount dollars = Math.floor(amountReceived % amountDue); document.getElementById("dollars-output").innerHTML = dollars; var quarters = Math.floor(amountReceived% dollars); document.getElementById('quarters-output').innerHTML = quarters; // var quarters to print # of quarters in change var dimes = Math.floor(amountReceived% dollars); document.getElementById('quarters-output').innerHTML = dimes; // var dimes to print # of dimes in change /////////////////////////////////////// var nickels =