0

I have a fancybox based image upload application. In the first step when I clickd a button labled "uoload photo" it displays a fancybox with a file upload field and a submit button. On submitting it displays the uploaded image for edititing. But what I want is to change the height of fancy box larger to wrap the uploaded image. I used

$.fancybox.resize()

and tried these things How do you resize Fancybox at runtime? which also did not help me.

Community
  • 1
  • 1
Shahid Karimi
  • 4,096
  • 17
  • 62
  • 104
  • also I did these but could not work. `$('#fancybox-content').css('height','600px'); $('#fancybox-outer').css('height','600px');` – Shahid Karimi Oct 04 '11 at 11:34

1 Answers1

0

Depending on the fancybox version, you should probably use $.fancybox.update()

This question is similar to: Auto height resizing in Fancybox

Community
  • 1
  • 1
digao_mb
  • 1,294
  • 16
  • 23