TinyPortal
Development => Support => Topic started by: Teal on December 22, 2007, 04:47:33 PM
Hello everyone!
I am trying to come up with a way to display a web page (one that I create) within a center bloc on our forum. Currently I have been "testing" out a method using "IFRAME" on our front page.
It seems to work fine for Internet Explorer, but just shows up "blank" with Firefox.
You can view the current test here (xmas_test3):
http://www.hellzhawtdogz.com/oscar/index.php
The following is the script I used to achieve what I have. It has been altered slightly in an effort to get it to work with FireFox but again, it doesn't work.
___________________________________________________
<iframe name="Frame1" src="http://www.overclockeddoc.com/hellzhawtdogz/condiments/santa/index.html"
WIDTH=700 HEIGHT=100
SCROLLING=NO
allowTransparency="true">
<noframes>
This site is framed, but you can <a href="frame2.html">view a non-framed version</a>.
</noframes>
</iframe>
___________________________________________________
What I am trying to achieve is a simple way in which I can add center blocs to our forum and have them display xmas type themes over the next week or so. I have also peviously created a revolving banner effect using the "news" to display images. The center blocs will be in addition to this.
Ideas?
Thanks!
Just tried you page in FF and got the same blank display you described... tried to directly access the page and got the same.
You should maybe check your external page to see if something is wrong with it?
As for pulling it into your forum:
Lots of ways to do that, it's just a matter of settling on what works best for you.
Many of my 'external' pages have been converted to TP articles and as time goes by most of them will likely be articles.
Another way is to do an includes command in an article, works great after you get the hang of the details on how to do the setup... some of my external pages are included with this method.
And the blocks function may give you what you need because you can do lots of different codes it the blocks themselves.
Do a search for any of those options and you'll find lots of posts on all of them and look in the Block Code Snippets boards... you may find what you need there.
On the iFrame code, do a search in posts made by G6 and you'll find some code for "Auto-Resizing" iFrames that works great in most cases.
Thanks for your reply!
I see what you mean about accessing the page directly (through FireFox). I too am seeing a blank black page. It would appear that the trouble may lie with the script I've used to create the effect. It just simply, may not be FireFox compatible.
Thanks again!
That may be the issue, it shows OK for me in IE7.