JavaScript and Safari
- Started
- Last post
- 9 Responses
- jonathanC
Hi,
Im using this JavaScript function to resize an iframe.
http://www.jonathanclarke.com/ca…
It works really well in Win IE and Mac Firefox however, it doesn't work so well in Safari and Mac IE. Do any of you JavaScript experts have advice on supporting Safari?
The following link is an example of how the content iframe is resized by the content as it loads:
http://www.jonathanclarke.com/ca…
Thanks for your help!
- jonathanC0
On the demo link you have to wait a little while for the first content page to open, after that it should be obvious what is happening - I hope!?!
- jonathanC0
Bump?
- rabattski0
works fine. mac ie.
- jonathanC0
Really, you mean the HTML content iframe changes height properly?
What version of MAC IE are you using rabattski?
- rabattski0
yep. works dandy. os 9.2.2 / ie 5.1.7
- rabattski0
then again, i don't how it's supposed to look like but i assume it looks ok as in i don't get weird shit / see weird shit.
- jonathanC0
Weird. In IE on OSX the iframe fails to change height.
Basically as each new piece of content is loaded the iframe should change its height to refllect that. Which in turn also changes the scrollable area. Really noticable when moving from the Advertising section to the contact section.
- 67nj0
i'm on a W2000 pc, IE v6,
and i don't see the frame height change
- jonathanC0
It should be the lower iframe, the one which contains the HTML content as apposed to the one which contains the flash movie...