• 欢迎访问开心洋葱网站,在线教程,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站,欢迎加入开心洋葱 QQ群
  • 为方便开心洋葱网用户,开心洋葱官网已经开启复制功能!
  • 欢迎访问开心洋葱网站,手机也能访问哦~欢迎加入开心洋葱多维思维学习平台 QQ群
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏开心洋葱吧~~~~~~~~~~~~~!
  • 由于近期流量激增,小站的ECS没能经的起亲们的访问,本站依然没有盈利,如果各位看如果觉着文字不错,还请看官给小站打个赏~~~~~~~~~~~~~!

让DIV浮动在框架frame上面的代码实现

实用代码 开心洋葱 2932次浏览 0个评论

index.html 首页如下

<head>
<base href="<% =SiteUrl%>" />
<!– Title –>
<title><% =SiteTitle %></title>
<!– Meta Tags –>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="keywords" content="<% =Keywords %>" />
<meta name="description" content="<% =Descriptions %>" />
    <style type="text/css">
      html,body { margin:0;padding:0; height:100%; }  
    </style>
</head>
<body scroll="no">
<div  style="position:absolute; top:195px; left:0px;"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="290" height="24">
      <param name="movie" value="http://tools.meqzone.com/others/play/swf/3.swf?soundFile=http://homepage.mac.com/pureworried/blogwavestudio/LH20041006234527/LHA20051003233918/Media/LHA20051003234553.mp3&bg=0xCDDFF3&leftbg=0x357DCE&lefticon=0xF2F2F2&rightbg=0x357DCE&rightbghover=0x4499EE&righticon=0xF2F2F2&righticonhover=0xFFFFFF&text=0x357DCE&slider=0x357DCE&track=0xFFFFFF&border=0xFFFFFF&loader=0x8EC2F4&autostart=yes&loop=yes" />
      <param name="quality" value="high" />
      <param value="transparent" name="wmode" />
      <embed src="http://tools.meqzone.com/others/play/swf/3.swf?soundFile=http://homepage.mac.com/pureworried/blogwavestudio/LH20041006234527/LHA20051003233918/Media/LHA20051003234553.mp3&bg=0xCDDFF3&leftbg=0x357DCE&lefticon=0xF2F2F2&rightbg=0x357DCE&rightbghover=0x4499EE&righticon=0xF2F2F2&righticonhover=0xFFFFFF&text=0x357DCE&slider=0x357DCE&track=0xFFFFFF&border=0xFFFFFF&loader=0x8EC2F4&autostart=yes&loop=yes" width="290" height="24" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
  </object></div>
 <iframe  src="index.asp" style="width:100%; height:100%; border:0" scrolling="no"></iframe>
</body>
</html>

 

index.asp代码如下:

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
</head>
    <frameset border="0" framespacing="0" rows="85,*" frameborder="NO" cols="*">
    <frame name="topFrame" src="top.html" noResize scrolling="no"/>
    <frameset border=0 frameSpacing="0" rows=* frameBorder="no" cols=210,*>
        <frame name="left" src="left.html" noResize/>
        <frame name="main" scrolling="auto" runat="server" id="mainFrame"  src="right.html"/>
    </frameset>
    </frameset><noframes></noframes>
</html>
 

在index.asp里面上、下、右替换为自己要的网站内容就可以了.


开心洋葱 , 版权所有丨如未注明 , 均为原创丨未经授权请勿修改 , 转载请注明让DIV浮动在框架frame上面的代码实现
喜欢 (0)

您必须 登录 才能发表评论!

加载中……