• 类似猫扑的页面简单小框架


    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>无标题文档</title>
    </head>
    <frameset rows="15%,*">
    <frame src="top.html" noresize="noresize" />
    <frameset cols=”30%,*“>
    <frame src="html1.html" noresize="noresize" />
    <frame src="right.html"  name="right"/>
    <frameset/>
    </frameset>
    </html>

    html1   主要左边的链接

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>无标题文档</title>
    </head>
    <body bgcolor="#FFFF33">
    <a href="http://www.baidu.com"  target="right">百度</a><br />
    <a  href="http://www.mop.com" target="right">猫扑</a>
    </body>
    </html>

    注;左边的链接要在右边的分层页面中实现,利用target 属性  name 的定义使用。。

    若在当前页面跳转则target="_self",新的一页跳转,则target="_blank"

  • 相关阅读:
    判断闰年
    CaesarCode
    substring
    configure: error: Cannot use an external APR with the bundled APR-util
    字符串处理487-3279
    git分支管理
    git解决冲突
    git 分支的创建和切换
    nginx与php-fpm原理
    git 远程仓库与本地项目关联
  • 原文地址:https://www.cnblogs.com/kangshuai/p/4632198.html
Copyright © 2020-2023  润新知