2013-10-07 3 views
0

Colorbox (iframe 모드)를 사용하여 팝업 레이어를 만들고 Colorbox의 iframe에 HTML 페이지가 있습니다.
그리고 HTML 페이지에 Highslide를 추가했습니다. Highslide는 colorbox (iframe 모드)에서 이미지 (전체 화면 크기)를 확장 할 수 없습니다.

은 (Colorbox의 iframe에) Colorbox

$("a.colorbox_photo_view").colorbox({ 
    iframe:true, 
    width:"600", 
    height:"800", 
    scrolling:true, 
    overlayClose:false, 
    escKey:false, 
    opacity:0.7 
}); 

및 HTML 페이지의 코드는이 HTML 코드가 있습니다.

<a href="photo.jpg" class="highslide" onclick="return hs.expand(this)"> 
    <img src="photo.jpg" width="550px"></img> 
</a> 

실제로, photo.jpg를가 폭 = 3648px, 높이 =

나는 사진을 클릭 2056px, 사진을 확장 할 수 없습니다 내 monitor'full 화면 (1280 X 1024).
은 iframe 크기의 너비 (600 픽셀)로 확장되었습니다.

사진을 Colorbox 팝업 레이어에서 내 모니터의 전체 화면으로 확장하려면 어떻게해야합니까?

답변

0

이것은 수행 할 수 없습니다. iframe 내의 페이지는 해당 iframe 크기를 초과하여 확장 할 수 없습니다. 예를 들어 div에서 colorbox를로드하는 다른 방법을 사용해보십시오.

+0

oops! 감사합니다 manishie. – user2853373