object.Style.Zoom property not working in Firefox

前端 未结 2 1970
心在旅途
心在旅途 2020-12-18 13:51

I am using object.Style.Zoom for making zoom inside the div tag, it is working in IE. I need it for firefox. Please guid me. Can i get

2条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-18 14:35

    document.getElementById("myMainBody").style.transform = "scale(0.8)";
    document.getElementById("myMainBody").style.transformOrigin = "0 0";
    

    Given script shows unwanted "OPTIONS" panel in Firefox/Chrome browser

    The above script brings unwanted "OPTIONS" panel in Firefox/Chrome browser. I tested with Chrome too, this appears at chrome too (But we have an alternate in chrome, ie. style.zoom). Is there any way we can get rid of this OPTIONS panel in Firefox, which is shown when we use the above script?

提交回复
热议问题