1.让浏览器窗口永远都不出现滚动条。
〈body style="overflow-x:hidden;overflow-y:hidden"〉或〈body style="overflow:hidden"〉 或〈body scroll=no〉 2,没有水平滚动条 〈body style="overflow-x:hidden"〉 3,没有垂直滚动条 〈body style="overflow-y:hidden"〉
2,如何给图片抖动怎做的.
〈SCRIPT language=javascript1.2〉 〈!-- var rector=2 var stopit=0 var a=1 var count=0 function init(which){ stopit=0 shake=which shake.style.left=0 shake.style.top=0 } function rattleimage(){ if ((!document.all&&!document.getElementById)||stopit==1||count==100) return count++ if (a==1){ shake.style.top=parseInt(shake.style.top)+rector } else if (a==2){ shake.style.left=parseInt(shake.style.left)+rector } else if (a==3){ shake.style.top=parseInt(shake.style.top)-rector } else{ shake.style.left=parseInt(shake.style.left)-rector } if (a〈4) a++ else a=1 setTimeout("rattleimage()",50) } function stoprattle(which){ stopit=1 count=0 which.style.left=0 which.style.top=0 } //--〉 〈/SCRIPT〉 〈style〉.shakeimage {POSITION: relative} 〈/style〉 〈img src="图片的路径" onmouseout=stoprattle(this) onmouseover=init(this);rattleimage() class=shakeimage〉
4,在DW如何给水平线加颜色。
在DW中没有此项设置,你只能在HTML中加入代码:〈hr color=red noshade〉按F12的预览在能看到。由于在NC中不支持〈hr〉的COLOR属性,所以在DW中没有此项设置。 5,如何在网页中实现flash的全屏播放?
只要在调用swf文件的HTML中将WIDTH和HEIGHT的参数设为100%即可,当然也可以在Flash导出HTML文件的设置中进行设置,方法是:打开File菜单;选Publish Settings弹出导出设置对话框;在HTML标签下的Dimensions选项,下拉后选中Percent(百分比),并在WIDTH 和HEIGHT框中填100.就行了。
页次:1/6 1篇/页 首页 上一页 下一页 尾页 合计 6 篇 Go: |