Killersites Community: Fancybox resize help? - Killersites Community

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Fancybox resize help?

#1 User is offline   Eric 

  • PipPipPipPip
  • View blog
  • Group: Advanced Member
  • Posts: 2,430
  • Joined: 19-December 08
  • LocationCarlsbad, CA

Posted 24 January 2011 - 09:33 AM

Here is a stripped down test page with absolute paths so its easy to test out possible solutions. http://goo.gl/oQ2b9

Click the red house. When fancybox opens I want it around width 700 height 575. Then when you click the "LARGER" link Im hoping to find a way to make it resize to width 800 height 675. Currently it does not resize it just gains scrollbars.

Thanks for your help!

This post has been edited by Eric: 24 January 2011 - 09:34 AM

0

#2 User is offline   Eddie 

  • PipPipPipPip
  • Group: Advanced Member
  • Posts: 3,524
  • Joined: 19-December 08
  • LocationTexas

Posted 24 January 2011 - 09:53 AM

Eric, on 24 January 2011 - 08:33 AM, said:

Here is a stripped down test page with absolute paths so its easy to test out possible solutions. http://goo.gl/oQ2b9

Click the red house. When fancybox opens I want it around width 700 height 575. Then when you click the "LARGER" link Im hoping to find a way to make it resize to width 800 height 675. Currently it does not resize it just gains scrollbars.

Thanks for your help!

I've done just a couple of these however, I am not totally certain if this works but try changing the 'type' : 'iframe', to be ajax instead.
0

#3 User is offline   Eric 

  • PipPipPipPip
  • View blog
  • Group: Advanced Member
  • Posts: 2,430
  • Joined: 19-December 08
  • LocationCarlsbad, CA

Posted 24 January 2011 - 10:37 AM

Eddie, on 24 January 2011 - 06:53 AM, said:

I've done just a couple of these however, I am not totally certain if this works but try changing the 'type' : 'iframe', to be ajax instead.


Not sure if I had to add something else as well but I changed it to type ajax but then nothing would even load? I've been at this for a few days now. There has to be a way to do this. Fancybox has a resize() event thingy but I don't think that works with iframe. I don't mind manually changing the size because there are only two sizes I need it to be. Small and large. Any ideas welcome.

This post has been edited by Eric: 24 January 2011 - 10:38 AM

0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users