The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Fancybox resize help please?

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #31372

    Here is a stripped down test page with absolute paths so its easy to test out possible solutions.

    Click the red house. When fancybox opens I want it at 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!


    @ChristopherBurton – I get the same sort of effect after opening the fancybox, I think there is a broken Java applet being loaded.

    – the content of the fancy box is an iframe, I think you need to evaluate it’s contents first. This may help:


    I’ve tried to work on your working test-case. I cannot come up with much as the fancybox script crashes my browser – frustrating at best!

    I would be looking at implementing this:

    $('#iframeID'). ... //resize function here

    Is the “larger size” link inside an ifram? if so, it might be telling the wrong window to resize.


    Just FYI I have the ‘page load’ issue in both Firefox and Chrome – so it’s likely an issue with my Op system, or Java environment. I say this because I have taken copies of the HTML and Script and hosted it locally to try and get a solution, but end up sending my laptop into a ball of fire…


    I scrapped all of the content from the pages, I have no idea of the cause, and I still have no solution for you :-(.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.