请问这样的效果如何实现?紧急求救!
类似于:http://www.hc360.com 顶部的 搜索部分!可以有tab切换的
还有像:http://www.chinaren.com 顶部的 搜索部分,也是这样的效果!请问如何实现类似的效果!

解决方案 »

  1.   

    用第三方的Tab控件,网上有得免费下载的,自己去找哪
      

  2.   

    用DataList控件就可以实现,如果要横的显示,改变RepeatDirection属性
      

  3.   

    参考下:
    前台:<asp:datalist id="tabs" runat="server" EnableViewState="false" ItemStyle-BorderWidth="1" SelectedItemStyle-CssClass="TabBg"
    ItemStyle-Height="25" repeatdirection="horizontal" cssclass="OtherTabsBg">
    <SelectedItemStyle CssClass="TabBg"></SelectedItemStyle>
    <SelectedItemTemplate>
    <SPAN class="SelectedTab">&nbsp;
    <asp:HyperLink id="HyperLink1" runat="server" CssClass="SelectedTab">HyperLink</asp:HyperLink>&nbsp;</SPAN>
    </SelectedItemTemplate>
    <ItemStyle Height="25px" BorderWidth="1px"></ItemStyle>
    <ItemTemplate>
    &nbsp;
    <asp:HyperLink id="HyperLinkItem" runat="server" CssClass="OtherTabs">HyperLink</asp:HyperLink>&nbsp;
    </ItemTemplate>
    </asp:datalist>后台:private void tabs_ItemDataBound(object sender, System.Web.UI.WebControls.DataListItemEventArgs e)
    {
    HyperLink link=(HyperLink)e.Item.FindControl("HyperLinkItem");
    if(link==null)
    return;
    TabStripDetails tab=(TabStripDetails)e.Item.DataItem;
    link.Text=tab.TabName;
    if(e.Item.ItemType!=ListItemType.SelectedItem)
    {
    string url=Page.Request.Url.ToString();
    //Remove previously inderted tabindex parameter
    int indexof=url.IndexOf("tabindex");
    if(indexof!=-1)
    url=url.Substring(0, indexof-1); //Format URL
    link.NavigateUrl=url+"&tabindex="+tab.TabId.ToString();
    }
    }
      

  4.   

    juedaihuaihuai(绝代坏坏) 可以说具体点吗???顺便学学
      

  5.   

    | link1 | link2 | link3 |
     ____________________________________________________
     |                                                  |
     |                                                  |
     |              iframe                              |
     |                                                  |
     |                                                  |
     |                                                  |
     ____________________________________________________
      

  6.   

    div标签
    + javascript Dom///////////////////////////////
    昂立万AtGrid报表控件Version1.0
    支持的报表功能如下:
    1、支持主从报表  
    2、交叉报表  
    3、支持分组报表:小计、汇总自由设置  
    4、支持的套打报表,让套打简单灵活  
    5、支持分组报表的每组打印控制  
    6、支持连续打印,解决了票据打印的难题  
    7、支持自定义报表  
    8、支持MIS开发的各种开发工具:如VC、VB、Delphi、C++Bulider、InterDev  
    9、支持WEB开发,FrontPage、InterDev、ASP.NEt、C#  
    10、AtGrid内置支持VBScript脚本包括事件  
    11、在WEB上支持VBScript、JavaScript脚本  
    12、支持URL连接  
    13、支持的WEB服务器:NT的WEB服务器、Linux、Unix、WebLogic、TOMCAT、IIS;  
    14、在MIS开发中直接支持数据库,让程序开发更方便快捷
    详细请参照 :www.etcell.com
    ///////////////////////////////