Notifications
Clear all

Dynamic Iframes in efiction

4 Posts
2 Users
0 Likes
1,103 Views
(@YourFanfiction)
Posts: 0
New Member Guest
 

URL to your eFiction: http://www.yourfanfiction.com/
Version of eFiction: 3.5.3
Have you bridged eFiction, if so with what?: SMF 1.1.16
Version of PHP: PHP 5.2.16
Version of MySQL: 5.1.52
Have you searched for your problem: yes
If so, what terms did you try: dynamic iframe(s)
Test Account: U/N: Test P/W: admin123
State the nature of your problem: I'm adding my new SMF bridge into my efiction site by including it in an iframe (with an smf mod to remove the forum header). Obviously the size of each page can vary greatly so I was wondering if there was any way of including the code to dynamically adjust the iframe and whereabouts I would put the code if it was possible?

 
Posted : 11/07/2012 3:35 pm
(@hobert)
Posts: 61
Trusted Member
 

Iframes are not / can not be dynamic.  I know, sigh.

efiction - 3.5.3
MySql - 5.5.32
php - 5.5.22
Linex - Apache 2.2.17
Hosted by: Fatcow!
http://www.hobert.net/fic/

 
Posted : 21/07/2012 2:04 pm
(@YourFanfiction)
Posts: 0
New Member Guest
 

Really? I've found a bunch of Javascript codes through a Google search that makes iframes dynamic? Or do you just mean in efiction?

 
Posted : 23/07/2012 5:20 pm
(@hobert)
Posts: 61
Trusted Member
 

What I mean, is iframes, in and of themselves, are not dynamic -- they are a hardcoded size and will not resize themselves when the content inside them changes sizes.

That said, there can be any number of workarounds, included but not limited to redrawing the frame page somehow...but they almost all involve redrawing the framing page (which would then show a new sized iframe, based on the new content).

efiction - 3.5.3
MySql - 5.5.32
php - 5.5.22
Linex - Apache 2.2.17
Hosted by: Fatcow!
http://www.hobert.net/fic/

 
Posted : 25/07/2012 4:56 pm
Share: