久久久久无码精品,四川省少妇一级毛片,老老熟妇xxxxhd,人妻无码少妇一区二区

javaScript實(shí)現(xiàn)可縮放顯示區(qū)效果代碼

時(shí)間:2020-11-10 09:39:44 JavaScript 我要投稿

javaScript實(shí)現(xiàn)可縮放顯示區(qū)效果代碼

  這里演示可縮放的顯示區(qū),采用JS代碼實(shí)現(xiàn),鼠標(biāo)按住區(qū)域的.右下角,出現(xiàn)拖放箭頭時(shí),向下或向上拉,就可實(shí)現(xiàn)縮放操作,當(dāng)區(qū)域較小時(shí)顯示滾動(dòng)條,平時(shí)也比較常見(jiàn)的效果,在此將JavaScript代碼與大家分享。

  具體代碼如下:

  BODY { MARGIN-TOP: 0px; FONT-SIZE: 9pt; MARGIN-LEFT: 0px; MARGIN-RIGHT: 0px; FONT-FAMILY: "宋體"}A { FONT-WEIGHT: 400; FONT-SIZE: 9pt; COLOR: black; TEXT-DECORATION: none}A:hover { FONT-WEIGHT: 400; FONT-SIZE: 9pt; COLOR: red; TEXT-DECORATION: underline}A:active { FONT: 9pt "宋體"; CURSOR: hand; COLOR: #ff0033}.STYLE1 {font-family: "華文彩云", "華文仿宋", "華文細(xì)黑", "華文新魏", "華文行楷", "華文中宋", "新宋體", "幼圓"}.STYLE2 { font-family: "方正姚體"; font-weight: bold;}