Forum in iframe?
2 posters
Page 1 of 1
Forum in iframe?
btw ive noticed that this forum is inside an iframe right?
i find it kind of annoying that you scroll individually in the iframe when the content is taller than the frame itself, just personally sayin, and i know this simple script that fits the height of an iframe to its content (in case youre interested, i happen to use it on my little website too)
in any case, here it is:
(apparently, i cant post the code because it contains external links D:<
so heres a fake link to the code on my site
imthebossDOTx10DOTmx/stuff/iframe/
)
i find it kind of annoying that you scroll individually in the iframe when the content is taller than the frame itself, just personally sayin, and i know this simple script that fits the height of an iframe to its content (in case youre interested, i happen to use it on my little website too)
in any case, here it is:
(apparently, i cant post the code because it contains external links D:<
so heres a fake link to the code on my site
imthebossDOTx10DOTmx/stuff/iframe/
)
tatater56- Moderator
- Posts : 13
Join date : 2013-04-30
Location : New Jersey
Re: Forum in iframe?
didnt work thank you for the code though haha it could definatly prove helpful in the future
Re: Forum in iframe?
I was confused why it didn't work and tested it out myself. Turns out their was a typo lol
Try this page and tell me if it works:
imtheboss_DOT_x10_DOT_mx/stuff/iframe/test.html
Try this page and tell me if it works:
imtheboss_DOT_x10_DOT_mx/stuff/iframe/test.html
tatater56- Moderator
- Posts : 13
Join date : 2013-04-30
Location : New Jersey
Re: Forum in iframe?
wut.
I thought it worked because I was on my phone, I didn't realize that android automatically expands iframes.
the reason it doesnt work is probably because the script waits for the iframe to stop loading, whereas the way this forum is probably setup is that it is constantly checking for updates, so it never actually "stops loading."
the best way i could think of to fix this would be to run the resizing script regardless of whether-or-not the iframe is done loading, continuously or every couple of seconds. ill have to look into that though, im a bit rusty when it comes to javascript : P
I thought it worked because I was on my phone, I didn't realize that android automatically expands iframes.
the reason it doesnt work is probably because the script waits for the iframe to stop loading, whereas the way this forum is probably setup is that it is constantly checking for updates, so it never actually "stops loading."
the best way i could think of to fix this would be to run the resizing script regardless of whether-or-not the iframe is done loading, continuously or every couple of seconds. ill have to look into that though, im a bit rusty when it comes to javascript : P
tatater56- Moderator
- Posts : 13
Join date : 2013-04-30
Location : New Jersey
Re: Forum in iframe?
yeah if you find another solution let me know, otherwise, to prevent scrolling in scrolling i will take off the site banner on this page with the server info and the screenshot to make the page smaller so you dont scroll in the page, instead just in the forums
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|