>>
Site Map
>>
Forums
>>
Modules
Forum module - topics in forum:
Modules - Get help on installing any module or add-on here
iFrames scroll bar
I am using the iframes module in several places on my site. In one place in perticular, I would like to remove the scroll button and instead have the page show up in full height.
Application page
I am using it right out of the box.
| Code: : |
echo"<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">"
. " <tr>"
. " <td><iframe width=\"100%\" height=\"600\" scrolling=\"auto\" frameborder=\"0\" src=\"http://www.guildne.com/modules/Application/application.htm\">"
. "</iframe></td>"
. " </tr>"
. " <tr>"
. " <td><div align=\"right\"><a href=\"http://nukecode.com\" target=\"_blank\">©NukeCode</a></div></td>"
. " </tr>"
. "</table>";
|
Thank you in advance for the support.
| Code: : |
echo"<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">"
. " <tr>"
. " <td><iframe width=\"100%\" height=\"600\" scrolling=\"no\" frameborder=\"0\" src=\"http://www.guildne.com/modules/Application/application.htm\">"
. "</iframe></td>"
. " </tr>"
. " <tr>"
. " <td><div align=\"right\"><a href=\"http://nukecode.com\" target=\"_blank\">©NukeCode</a></div></td>"
. " </tr>"
. "</table>"; |
Change scrolling to no, You'll need to adjust the site to your liking.
I tried that before I posted but the problem is half the app is cut off.
I don't think I explained myself very well in the first post. I want the htm page in the iframes to be fully displayed without a scroll bar. The only way I get that is by using
| Code: : |
| <td><iframe width=\"100%\" height=\"2150\" scrolling=\"no\" frameborder=\"0\" |
This is fine but when an app is submitted, the submission page that comes up is only 2 sentences and has allot of unneed space at the bottom because of the 2150 height.
There is nothing that can be done about that the iframe cannot be changed for the page changes...
displaying html in an iframe is not perfect and you get what you get when you use an iframe...
You didn't explain yourself well. All you basically said was you wanted to get rid of the scroll bars I told you how. You never mentioned it displaying a second page once you hit submit.
If you want it to display correctly I suggest not using an iframe and rewriting your page as an actual module.
Thanks for the reply.
At this time, I am only on my fourth day of the whole website building/phpnuke learning curve, therefore my wording and rewritting ability of modules isn't up to par.
I am using the Iframe mod.
I have no idea what im doing wrong, im sure its simple.
I have uploaded it to the Mod folder, in tacted. I can see it, and i have activated it. But i dont see it anywhere.
I dont see it in the Admin menu, nor in blocks, so i dont know how to show it... please ?
what noobie thing have i done ????
It wont be in blocks it is a module. Did you put in your site url in the index.php page like the instructions stated. This will show the page you specify as an i-frame. So there is not button to click on all you do is modify the index.php page that is inside the module itself to the page you want as an i-frame.