日期:2014-05-16  浏览次数:20307 次

jquery的ui tabs插件怎么没有看到样式?
就是在一个aspx页面中引入几个js文件和一个
  <script>
  $(function() {
  $('#container-1 > ul').tabs();

});</script>


切换功能是有,为什么没有出tab之间的样式效果,看起来很难看


完整代码如下,有知道的朋友直接复制后帮我看看



<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ScheduleFreq.aspx.cs" Inherits="Portal_ScheduleFreq" %>

<!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 runat="server">
  <title>无标题页</title>
   

  <link href="../App_Themes/Business/Portal/ui.tabs.css" rel="stylesheet" type="text/css" />

  <script src="../js/jquery-1.2.6.js" type="text/javascript"></script>
   
  <script src="../js/ui.core.js" type="text/javascript"></script>

  <script src="../js/ui.tabs.js" type="text/javascript"></script>
  <script>
  $(function() {
  $('#container-1 > ul').tabs();

});</script>
</head>
<body>
  <form id="form1" runat="server">
  <div>
  <DIV id="container-1">
<UL>
  <LI><A 
  href="http://stilbuero.de/jquery/tabs_3/#fragment-1"><SPAN>One</SPAN></A></LI>
  <LI><A 
  href="http://stilbuero.de/jquery/tabs_3/#fragment-2"><SPAN>Two</SPAN></A></LI>
  <LI><A 
  href="http://stilbuero.de/jquery/tabs_3/#fragment-3"><SPAN>Three</SPAN></A></LI></UL>
<DIV id=fragment-1>
<P>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy 
nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</P></DIV>
<DIV id=fragment-2>
<P>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy 
nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</P>
<P>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy 
nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</P></DIV>
<DIV id=fragment-3>
<P>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy 
nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</P>
<P>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy 
nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</P>
<P>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy 
nibh euismod tincidunt ut laoreet dolore magna aliquam erat 
volutpat.</P></DIV></DIV>

  </div>
  </form>
</body>
</html>


------解决方案--------------------
很难看,是不是css引入的路径不对
------解决方案--------------------
用ff能看到css样式