Giter Site home page Giter Site logo

Comments (11)

abritez avatar abritez commented on July 29, 2024

Same issue

from jquery-iframe-auto-height.

imuller avatar imuller commented on July 29, 2024

Same here

from jquery-iframe-auto-height.

house9 avatar house9 commented on July 29, 2024

anybody want to submit code sample that re-produces the issue? - thanks

from jquery-iframe-auto-height.

imuller avatar imuller commented on July 29, 2024

screen shot 2013-09-02 at 19 38 40

<iframe width="770" frameborder="0" scrolling="auto" src="http://www.google.nl"></iframe>

from jquery-iframe-auto-height.

house9 avatar house9 commented on July 29, 2024

@imuller can you also include the html markup / jquery initialization code you are using?

from jquery-iframe-auto-height.

imuller avatar imuller commented on July 29, 2024

<!iframe width="770" frameborder="0" scrolling="auto" src="http://www.google.nl"></iframe>

<script>
    $('iframe').iframeAutoHeight({minHeight: 240});
</script>

from jquery-iframe-auto-height.

house9 avatar house9 commented on July 29, 2024

is that the order they appear in the markup? iframe, followed by script tag?

what is the ! for in front of iframe? typo? <!iframe width="770" ...

and what version of jquery are you using?

from jquery-iframe-auto-height.

imuller avatar imuller commented on July 29, 2024

The ! is for the GitHub comment, else it won't be visible. I use jQuery v1.9.1

from jquery-iframe-auto-height.

imuller avatar imuller commented on July 29, 2024

Google Chrome seems to be the issue...

from jquery-iframe-auto-height.

house9 avatar house9 commented on July 29, 2024

@imuller - this plugin only works for iframing content from the same domain, please read the summary section of the readme - https://github.com/house9/jquery-iframe-auto-height#summary

since you say the issue is with Chrome only I am guessing you are iframing a page in your same domain - as stated in the summary section of the readme

When viewing code locally, i.e. file:///, Google chrome will throw security errors; Works fine in Firefox locally and should work ok in all browsers when served from the same domain.

I am going to assume that is the issue you are having?

that being said - it looks like newer versions of chrome will resize correctly on load but then get stuck at the largest size - a different issue i'll need to look into...

from jquery-iframe-auto-height.

Jeeosch avatar Jeeosch commented on July 29, 2024

Same issue here.
Chrome initially loads the iFrame correctly but then sticks to the biggest height once the content grows taller than the initial height.

Nevertheless: this plugin rocks!

Would be great to modify the animation option to let it accept other animation types and durations, but that's just a humble wish from an otherwise very pleased user ... ;-)

from jquery-iframe-auto-height.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.