Forum Discussion

jasonjohnson1's avatar
jasonjohnson1
Qrew Cadet
6 years ago

Rich Get formula button with mouseover color change

I make rich text formula buttons and had a way to use onmouseover to change the color. I have lost the file that contained this information, can anyone help with this.?

var text style = "style=\"text-decoration: none; box-shadow: 3px 3px 1px #888888;  background:" & $bgcolora & "; border-radius: 3px; padding: 5px 8px; color: " & $txtcolora & "; display: inline-block;font: bold 700 24px/1 \"Calibri\", sans-serif; text-align: center; text-shadow:none;";
  • I figured it out again but what a pain to do twice.

    var text style = "style=\"text-decoration: none; box-shadow: 3px 3px 1px #888888;  background:" & $bgcolor & "; color: " & $txtcolor & "; border-radius: 3px; padding: 5px 8px; display: inline-block;  font-weight: normal;font: 700 24px/1 \"Calibri\", sans-serif; \" onMouseOver=\"this.style.backgroundColor='" & $bgcolorm & "'\";\" onMouseOut=\"this.style.backgroundColor='" & $bgcolor & "'\"; text-align: center; text-shadow:none;";