If you are using version 1.3 of Fancybox, there is a resize method:
$.fancybox.resize();
For version 2.x of Fancybox the same would be done with:
$.fancybox.update()
Which will resize the active fancybox based on the size of the content inside it.
Related Contents:
- Fancybox doesn’t work with jQuery v1.9.0 [ f.browser is undefined / Cannot read property ‘msie’ ]
- Fancybox links don’t show in lightbox – what am i missing?
- call Fancybox in parent from iframe
- Auto resizing the SELECT element according to selected OPTION’s width
- Delay pop-up for 10 seconds, only pop up once
- Using jQuery To Get Size of Viewport
- jquery fancybox 2.0.3 – prevent close on click outside of fancybox
- How to create separate Fancybox galleries on the same page?
- How do I hide the tooltip on hover from the title tag when using FancyBox 2.0?
- jQuery Animation – Smooth Size Transition
- HTML Attribute rel Errors using fancyBox
- Fancybox stuck loading iframe in IE
- Unable to load google in iframe in fancybox
- fancy box work with iframes in beforeShow function?
- Resizable table columns with jQuery [closed]
- jquery resize listener on a div
- Resize event firing multiple times while dragging the resize handle
- How to launch jQuery Fancybox on page load?
- How can I simulate an anchor click via jquery?
- jQuery .load() call doesn’t execute JavaScript in loaded HTML file
- How do you work with an array of jQuery Deferreds? [duplicate]
- How to remove specific value from array using jQuery
- Change Active Menu Item on Page Scroll?
- How to Display Selected Item in Bootstrap Button Dropdown Title
- How do I use jQuery for click event in iPhone web application
- How can I load webpage content into a div on page load?
- Can I get div’s background-image url?
- How to implement “confirmation” dialog in Jquery UI dialog?
- Can I load external stylesheets on request?
- How to send image to PHP file using Ajax?
- Controlling the value of ‘this’ in a jQuery event
- jqGrid does not populate with data
- .live() vs .bind() [duplicate]
- GUI-based or Web-based JSON editor that works like property explorer [closed]
- How to make the first option of selected with jQuery
- jquery get height of iframe content when loaded
- How to Extend Twitter Bootstrap Plugin
- What is the best practice for parsing remote content with jQuery?
- How can i get jqgrid frozen columns to work with word wrap on
- How do I get the HTTP status code with jQuery?
- How to iterate json data in jquery
- Use success() or complete() in AJAX call
- HTML Table to JSON
- onkeyup and onfocusout is not working in jQuery Validate
- The $ dollar sign
- How do I PUT data to Rails using JQuery
- How can I create a “Please Wait, Loading…” animation using jQuery?
- position fixed header in html
- How to change height div on window resize?
- How do I use transitionend in jQuery?