给右边图片加上
style='position:absolute;就可以浮动了
style='position:absolute;就可以浮动了
解决方案 »
- ie6 ie7获取esc的keyCode 怎么获取
- 不管是setTimeout还是setInterval都不执行
- JS拖动地图的实现方法
- javascript 中如何设置表在隐藏或显示间的切换?
- Image的onload问题
- Javascritp是否能这样判断呢?
- 请教!怎样实现选不同的Radio按确定按钮后给出不同的excel表格?
- 如何用javascript脚本来实现定时重新加载页面的功能,谢谢,马上结贴!!!
- 能否禁止一个IFRAME的垂直滚动条不显示但是可以响应鼠标的滚轮进行滚动?
- 大家说说a.value=b.value+c.value……有无限制个数??????
- js控制框架的问题
- HTML中的disabled?
<script LANGUAGE="Javascript" src="ad.js"> </script>
<script LANGUAGE="Javascript">
<!-- Begin
var imgheight
var imgleft
document.ns = navigator.appName == "Netscape"
if (navigator.appName == "Netscape")
{
imgheight=document.FixAD.pageY
imgleft=document.FixAD.pageX
}
else
{
imgheight=600-parseInt(FixAD.style.top)
imgleft=parseInt(FixAD.style.left)
}
myload()
function myload()
{
if (navigator.appName == "Netscape")
{document.FixAD.pageY=pageYOffset+window.innerHeight-imgheight;
document.FixAD.pageX=imgleft;
leftmove();
}
else
{
FixAD.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight;
FixAD.style.left=imgleft;
leftmove();
}
}
function leftmove()
{
if(document.ns)
{
document.FixAD.top=pageYOffset+window.innerHeight-imgheight
document.FixAD.left=imgleft;
setTimeout("leftmove();",50)
}
else
{
FixAD.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight;
FixAD.style.left=imgleft;
setTimeout("leftmove();",50)
}
} function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW ¦ ¦ innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true)
// End -->
</script>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="55" height="338">
<param name="movie" value="1.swf">
<param name="quality" value="high">
<embed src="1.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="55" height="338"></embed>
</object>(这里加的是flash,也可以换成图片)
</DIV>
还有,一个帖子没什么人关注,我自然会发多点,如果很快就可以有解决的办法,我也不会如此麻烦.
除非你要一些特殊的效果,不要特殊的效果就不要去写那么多,简单的DIV+CSS+JS就可以实现