TinyPortal

Development => Feedback => Topic started by: Indy74 on December 08, 2007, 02:15:40 PM

Title: Loading page in center block - how?
Post by: Indy74 on December 08, 2007, 02:15:40 PM
Hello!

All i want to do is to place a center block which loads an other page in it. Not only a link to the other page and the whole page! Dont know what kind of block to choose and what to insert inside.

Help will be apreciated.

Thanks in advance!  :)
Title: Re: Loading page in center block - how?
Post by: Zetan on December 08, 2007, 02:33:25 PM
There is no block that does this by default.

Search Google for iFrames  :)
Title: Re: Loading page in center block - how?
Post by: Indy74 on December 08, 2007, 03:17:56 PM
Thanks :)
Title: Re: Loading page in center block - how?
Post by: Zetan on December 08, 2007, 03:26:17 PM
You're welcome.. I have a few pages in iframes on my site:

http://labradio.co.uk/index.php?page=streamstats

Works ok for certain pages.
Title: Re: Loading page in center block - how?
Post by: Indy74 on December 08, 2007, 03:41:32 PM
Actually i tried to use <iframes> tags inside an "html+bbc" block but it didn't work. Can't understand why.

This one for example:

<iframe id="myframe" src="externalpage.htm" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0" style="overflow:visible; width:100%; display:none"></iframe>

It shows the code in the block lol:)

There are many iframes scripts in the internet but none of them work inside the TP blocks. And i just don't want to edit my front page separetely.

Thanks for your time 8)
Title: Re: Loading page in center block - how?
Post by: Zetan on December 08, 2007, 03:43:36 PM
Try a Script block  ;)
Title: Re: Loading page in center block - how?
Post by: Indy74 on December 14, 2007, 02:10:05 PM
Finaly i got the solution:)

Here it is:
<iframe width="100%" height="100%" src="address.goes.here.com" name="type smth here"></iframe>

It must be placed in article item(source)
And i guess any html commands could be put inside<iframe> tag to pimp the look of it:)

Thanks for the help mate:)
Title: Re: Loading page in center block - how?
Post by: Zetan on December 14, 2007, 02:11:59 PM
Most of my frames are in Articles.

I'll mark this solved  :)