0
<script src="@routes.Assets.at("javascripts/jquery-1.9.0.min.js")" type="text/javascript"></script>
<script src="@routes.Assets.at("javascripts/jquery-1.9.1.js")" type="text/javascript"></script>
<script src="@routes.Assets.at("javascripts/facebox.js")" type="text/javascript"></script>
<link   href="@routes.Assets.at("stylesheets/facebox.css")" media="screen" rel="stylesheet" type="text/css"/>

<script>   
</script>
<body>

<a href="#info" rel="facebox">text</a>
<div id="info" style="display:none;">
  hello world
</div> 


</body>

Facebox 和 div 标签没有显示。我是 ajax 的初学者,所以请帮助我。

4

1 回答 1

3
jQuery(document).ready(function($) {
$('a[rel*=facebox]').facebox()
}) 
于 2013-10-27T06:31:58.307 回答