Forum in iframe?

View previous topic View next topic Go down

Forum in iframe?

Post by tatater56 on Tue Apr 30, 2013 3:57 pm

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/
)
avatar
tatater56
Moderator
Moderator

Posts : 13
Join date : 2013-04-30
Location : New Jersey

View user profile

Back to top Go down

Re: Forum in iframe?

Post by N0_GRIEF on Wed May 01, 2013 1:12 am

didnt work Very Happy thank you for the code though haha it could definatly prove helpful in the future Very Happy
avatar
N0_GRIEF
Admin
Admin

Posts : 242
Join date : 2013-04-27
Age : 21
Location : Las Vegas

View user profile http://pixealtedreality.forumotion.com

Back to top Go down

Re: Forum in iframe?

Post by tatater56 on Thu May 02, 2013 10:56 pm

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
avatar
tatater56
Moderator
Moderator

Posts : 13
Join date : 2013-04-30
Location : New Jersey

View user profile

Back to top Go down

Re: Forum in iframe?

Post by tatater56 on Fri May 03, 2013 2:57 pm

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
avatar
tatater56
Moderator
Moderator

Posts : 13
Join date : 2013-04-30
Location : New Jersey

View user profile

Back to top Go down

Re: Forum in iframe?

Post by N0_GRIEF on Sat May 04, 2013 3:34 am

Razz 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
avatar
N0_GRIEF
Admin
Admin

Posts : 242
Join date : 2013-04-27
Age : 21
Location : Las Vegas

View user profile http://pixealtedreality.forumotion.com

Back to top Go down

Re: Forum in iframe?

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum