<script>

   function setYellowContentBg() {
      //thisDFrame represents the current DFrame object.
      //Method of dFrameAPI can be run on it:
      thisDFrame.setContentBgColor('yellow')
   }

</script>