如何控制一个div从右向左展开显示,从左向右隐藏。

RT 在线等
2025-02-26 16:11:42
推荐回答(2个)
回答1:

javascript控制页面控件隐藏显示的两种方法,方法的不同之处在于控件隐藏后是否还在页面上占位
方法一:
document.all["PanelSMS"].style.visibility="hidden";
document.all["PanelSMS"].style.visibility="visible";
方法二:
document.all["PanelSMS"].style.display="none";
document.all["PanelSMS"].style.display="inline"。

回答2:




不知道是不是你要的效果