Customizing SMF > Portals, Bridges, and Integrations
Another SMF phpNuke Question
whiterabbit:
iFrame scroll: Just add scrolling=[yes,no,auto] to iframe tag
iFrame height:
You can use javascript to control style.
After iframe loaded, you can do
--- Code: ---document.getElementById('myIframe').style.height = height +'px';
--- End code ---
To get iFrame height
Mozilla:
--- Code: ---height = document.getElementById('myIframe').contentDocument.height;
--- End code ---
IE:
--- Code: ---height = document.frames('myIframe').document.body.scrollHeight;
--- End code ---
Those just came out off the top of my head, but it should work;
you need to create a javascript function to use them, tho
and may put it inside onload tag of your iframe.
Oldiesmann:
Oh yeah... forgot about the scrolling thing. Last time I messed with iframe was several months ago (as in sometime around September or October) when I was working on building a website to go with my messageboard and wanted to include a menu at the top of every page. I finally came to my senses and used php include() instead.
Navigation
[0] Message Index
[*] Previous page
Go to full version