我有 2 个 javascript 库,我想将它们组合在一页中,这可能吗:
<script src="jquery.js"></script>
<script src="jPaginate.js"></script>
<script>
$(function(){
$("#content").jPaginate();
});
</script>
<script type="text/javascript" src="pic/js/jquery.js"></script>
<script type="text/javascript" src="pic/js/jquery.lightbox-0.5.js"></script>
<script type="text/javascript">
$(function() {
$('#gallery a').lightBox();
});
</script>
谢谢,阿米尔