Web/js/jqplot/examples/selectorSyntax.html
(开头部分) 11KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<!DOCTYPE html>
<html>
<head>
<title>Plot Creation with jQuery Selectors</title>
<link class="include" rel="stylesheet" type="text/css" href="../jquery.jqplot.min.css" />
<link rel="stylesheet" type="text/css" href="examples.min.css" />
<link type="text/css" rel="stylesheet" href="syntaxhighlighter/styles/shCoreDefault.min.css" />
<link type="text/css" rel="stylesheet" href="syntaxhighlighter/styles/shThemejqPlot.min.css" />
<!--[if lt IE 9]><script language="javascript" type="text/javascript" src="../excanvas.js"></script><![endif]-->
<script class="include" type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
</head>
<body>
<div id="header">
<div class="nav">
<a class="nav" href="../../../index.php"><span>></span>Home</a>
<a class="nav" href="../../../docs/"><span>></span>Docs</a>
<a class="nav" href="../../download/"><span>></span>Download</a>
<a class="nav" href="../../../info.php"><span>></span>Info</a>
<a class="nav" href="../../../donate.php"><span>></span>Donate</a>
</div>
</div>
<div class="colmask leftmenu">
<div class="colleft">
<div class="col1" id="example-content">
<!-- Example scripts go here -->
<div id="chart1" style="height:300px; width:500px;"></div>
<pre class="code prettyprint brush: js"></pre>
<div class="chart2" style="height:300px; width:500px;"></div>
<pre class="code prettyprint brush: js"></pre>
<div class="jqplot" style="height:300px; width:500px;"></div>
<div class="jqplot" style="height:300px; width:500px;"></div>
<pre class="code prettyprint brush: js"></pre>
<script class="code" type="text/javascript">
$(document).ready(function(){
// Use jQuery selector for a specific element ID.
$('#chart1').jqplot([[3,7,9,1,5,3,8,2,5]]);
});
</script>
<script class="code" type="text/javascript">
$(document).ready(function(){
// jQuery selector for elements with a specific class attribute.
// Here, there is one div with the class "chart2"
后面还有 157 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
