简体   繁体   中英

iFrame doesn't work in Chrome (works fine in FF, IE and Safari)

I have an iFrame that works fine in FF, IE and Safari. In Chrome, the iFrame doesn't work. It's not even visible.

Link: http://kamersoptwitter.nl/link/Amsterdam/16985-huigenbos

The iFrame loads with a width and height of 100%, once loaded it's resized using javascript to a specific width and height (to match with the bar on top of the screen).

The code is use for the iFrame:

<iframe id="kamers-iframe" frameborder="0" noresize="noresize" src="<?=URL?>"></iframe>

Any idea how to fix this?

Thanks!

you may post your complete code to help you better.

I have tested your code with different url,iframe works well in Chrome ,That may be your code problem.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM