实例代码“Ctrl+/”提示“F11/ESC”全屏 返回 格式化 恢复 运行
x
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml"><head>
3
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
4
<title>Smart Tab - a javascript jQuery tab control</title>
5
6
<link href="/api/jq/SmartTab/styles/smart_tab.css" rel="stylesheet" type="text/css"></link>
7
<script type="text/javascript" src="/api/jq/SmartTab/js/jquery-1.8.0.min.js"></script>
8
<script type="text/javascript" src="/api/jq/SmartTab/js/jquery.smartTab.min.js"></script>
9
10
<script type="text/javascript">
11
    $(document).ready(function(){
12
        // Smart Tab
13
        $('#tabs').smartTab({contentURL: '/api/jq/SmartTab/service.php',contentCache:false,transitionEffect:'vSlide'});
14
    });  
15
</script>
16
</head><body>
17
<table align="center" border="0" cellpadding="0" cellspacing="0">
18
<tr>
19
  <td valign="top">
20
<!-- Tabs -->
21
        <div id="tabs">
22
            <ul>