实例代码“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 1 
13
        $('#tab1').smartTab({autoProgress: true,stopOnFocus:true,autoHeight:false,transitionEffect:'hSlide'});
14
        
15
        // Smart Tab 2
16
        $('#tab2').smartTab({autoProgress: true,stopOnFocus:true,autoHeight:false,transitionEffect:'vSlide'});        
17
    }); 
18
</script>
19
</head><body>
20
<table align="center" border="0" cellpadding="0" cellspacing="0">
21
<tr>
22
  <td valign="top">