大体内容如图:我想实现的效果是点击左边菜单,然后再网站地图里显示相应选项,我用了<li><a href="item1.aspx" target="rightFrame">添加日志</a></li>,当点击添加日志链接后,如何显示您的当前位置->我的日志->添加日志 呢?
还有这个图是由三个框架组成的,左边菜单是一个,右上是一个(sitemappath所处的位置),右下的表格是一个

解决方案 »

  1.   

    用Web.sitemap这个控件就可以定位导航
      

  2.   

    <?xml version="1.0" encoding="utf-8" ?>
    <siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
        <siteMapNode url="FirstPage.aspx" title="首页"  description="">
          <siteMapNode url="News/ForeignFirst.aspx" title="新闻首页"  description="">
            <siteMapNode url="News/Internal.aspx" title="国内"  description="" />
            <siteMapNode url="News/Overseas.aspx" title="国外"  description="" />
          </siteMapNode>
    上面的效果是首页-->新闻首页---->国内
    或首页-->新闻首页---->国内      <siteMapNode url="Internet/InternetFirst.aspx" title="互联网"  description="">
            <siteMapNode url="Internet/Software.aspx" title="软件"  description="" />
            <siteMapNode url="Internet/Hardware.aspx" title="硬件"  description="" />
          </siteMapNode>
          <siteMapNode url="Physical/PhysicalFirst.aspx" title="体育"  description="">
            <siteMapNode url="Physical/FootBall.aspx" title="足球"  description="" />
            <siteMapNode url="Physical/NBA.aspx" title="美国职业篮球联赛"  description="" />
            <siteMapNode url="Physical/CBA.aspx" title="中国职业篮球联赛"  description="" />
          </siteMapNode>
        </siteMapNode>
    </siteMap>
      

  3.   

    母版页加sitemap
    读取XML啊!
    看看这种效果