Hello!.....
I was trying colorbox iframe width and height *auto*-resize its working
fine but problems is in IE Its not working please help me..................
Please find the bellow code:
<script>
$(function() {
if (!$.fn.colorbox) return;
// Initialize Colorbox for the IFRAME links, setting a loading width
and height and
// telling Colorbox to wait until the IFRAME finishes before
calling onComplete
$(".iframe").colorbox({
"iframe": true,
slideshow:true,
"fastIframe": false,
"innerWidth": 100,
scrolling: false,
"innerHeight": 100,
"onComplete": function() {
// Do some work to automatically calculate the height and width
of the IFRAME's content
var iframe = $("iframe.cboxIframe"),
body = iframe.contents().find("body"),
floatStyle = body.css("float");
// Float the BODY so that it assumes a minimal width
body.css("float", "left");
// Resize the colorbox
$.colorbox.resize({ "innerWidth": body.width(), "innerHeight":
iframe.contents().height() })
// Remove our float style on the BODY
body.css("float", floatStyle);
}
});
});
</script>
On Sun, Feb 12, 2012 at 12:16 AM, Jack Moore <j
...@colorpowered.com> wrote:
> colorbox doesn't support that feature.
> On Sat, Feb 11, 2012 at 1:13 PM, an <anep...@gmail.com> wrote:
> > Hello! Thank you for colorbox!
> > Problem:
> > Colorbox have 2 option of transition: fade and elastic. How to add
> > zoom effect? For example how there _highslide.com/#examples ?
> > Thank you, Sergey
> > --
> > You received this message because you are subscribed to the Google
> Groups "ColorBox" group.
> > To post to this group, send email to colorbox@googlegroups.com.
> > To unsubscribe from this group, send email to
> colorbox+unsubscribe@googlegroups.com.
> > For more options, visit this group at
> http://groups.google.com/group/colorbox?hl=en.
> --
> Jack Moore
> jacklmoore.com
> twitter.com/jacklmoore
> --
> You received this message because you are subscribed to the Google Groups
> "ColorBox" group.
> To post to this group, send email to colorbox@googlegroups.com.
> To unsubscribe from this group, send email to
> colorbox+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/colorbox?hl=en.
--
*[image: bestregards]*
Ram Reddy.S
09964815581
**