pipidodo

Calorie Calculator /js/dietsCommon.js

Jun 23rd, 2021
875
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function butgr(but){
  2.     document.getElementById(but).style.backgroundColor = "green";
  3.     document.getElementById(but).style.color = "yellow";
  4. }
  5.  
  6. function butor(buts){
  7.     document.getElementById(buts).style.backgroundColor = "orange";
  8.     document.getElementById(buts).style.color = "blue";
  9. }
  10. function open_win(aWin)
  11. {
  12.     if (aWin == "x"){
  13.         send = calcSend();
  14.          window.open("draw.php?bmr=" + Math.round(bmr) + "&num=" + send ,"_blank","toolbar=yes, location=yes, directories=no, status=no, menubar=yes, scrollbars=yes, resizable=no, copyhistory=yes, width=680, height=350")
  15.     }
  16.     else window.open(aWin,"_blank","toolbar=yes, location=yes, directories=no, status=no, menubar=yes, scrollbars=yes, resizable=no, copyhistory=yes, width=680, height=350")
  17. }
  18.  
  19.  
RAW Paste Data