2013-10-04 3 views
0

클릭하면 팬시 박스 폼이 실행되지 않습니다. Fancybox에서 소스 코드를 올바르게 복사했다고 확신합니다. 왜 그냥 발사하지 않을지 알아내는 데 도움이 필요합니다. jquery 업데이트하지만 여전히 도움이되지 않습니다. 나는 here에서 소스 코드를 얻었다. 다른 인라인 라이트 박스 목록과 함께 인라인과 아약스가 보일 때까지 조금 아래로 스크롤하십시오. 내 웹 사이트의 "인라인"라이트 박스를 얻으려고하고 있지만 작동하지 않습니다. , 처음에는라이트 박스가 켜지지 않습니다.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head> 
<link rel="stylesheet" type="text/css" href="/js/fancybox-1.3.4/jquery.fancybox-1.3.4.css" media="screen" /> 
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> 
<script type="text/javascript" src="/js/fancybox-1.3.4/jquery.fancybox-1.3.4.js"></script> 
<script type="text/javascript"> 
if ($(window).width() < 960) { 
$('footer').css('padding', '20px'); 
} 
</script> 
</head> 

<body> 

<ul> 
<li><a id="various1" href="#inline1" title="Lorem ipsum dolor sit amet">Inline - auto detect width/height</a></li> 
</ul> 
</body> 
</html> 

답변

0

: - :

Fancybox

가 여기에 내가 시도 무엇 http://fancyapps.com/fancybox/#examples는 (웹 페이지의 하단에있는 "자동 너비/높이를 감지 인라인"나는 얻으려고) jquery.js

+0

잘 모르겠다면 jquery.fancybox-1.3.4.js을 추가해야합니다. 이미 "jquery.fancybox-1.3.4.js"코드가 있습니다. – user2680614

+0

처음에는 ** jquery.js –

+0

뒤에 ** jquery.fancybox-1.3.4.js **를 추가해야합니다. 나는 그것을 처음으로 이해하지 못했습니다. – user2680614

관련 문제