javascript - Highslide cannot expand image(full screen size) in colorbox (iframe mode) -
i made popup layer using colorbox(iframe mode), , colorbox's iframe has html page.
, added highslide in html page.
this code of colorbox
$("a.colorbox_photo_view").colorbox({ iframe:true, width:"600", height:"800", scrolling:true, overlayclose:false, esckey:false, opacity:0.7 });
and html page (in colorbox's iframe) has html code.
<a href="photo.jpg" class="highslide" onclick="return hs.expand(this)"> <img src="photo.jpg" width="550px"></img> </a>
actually, photo.jpg width=3648px, height=2056px
when click photo, photo cannot expanded monitor'full screen (1280x1024).
expanded width(600px) in iframe size.
how can make photo expanded monitor's full screen in colorbox popup layer?
this not possible do. page within iframe cannot expand beyond size of iframe. try using method of loading colorbox - in div example.
Comments
Post a Comment