SimplePortal
Customization => Custom Coding => Topic started by: Killer-B on April 18, 2009, 10:50:52 AM
-
I have an external page that steams live data, and wish to display it on my main portal page - Normally, I'd use an iFrame page, but that feature is built into the web program for site building that I use....
Point being, I was wondering if #1) is it possible to place an iFrame type page (or remote page) within a centre block somehow? and if so #2) how would I go about coding that?
TIA -
KB
-
Just add it via a HTML block on front page like
<iframe src="http://whateveryoursiteis.com" width="590px" height="100px" align="left" frameborder="0" marginwidth="0px" marginheight="0px" scrolling="auto"</iframe>
Change the name and dimensions to suit.
That worked for me
-
Thanks so very much!! 8) Will give it a try now - would be awesome if it works! Will let ya know! :)
-
Hmmm Nope... it launches the ENTIRE SITE... away from my portal... not within.. :'(
But maybe it's b/c my "source" has a popup option?
This is the page/link I wish to embed... I am using just the plain site... but ideally, would like to pull the "launch normal" window in popup... but even with the normal site, it just redirects you to their site ...?
http://www.formula1.com/services/live_timing/live_timing.html
Thanks for trying though!!
KB :nervous-happy:
-
Hmm! I have just tested it using http://www.simplemachines.org/community/index.php and that worked perfectly well.
Maybe the site you want has prevented it being used in an iframe cos I cant get that to work either. :-[
-
Well, thanks for trying.. I should have known about <iframe> code.... so will try it in RapidWeaver and see if I can't "insert" a RW page into my forum somehow - as it works there fine? >:-D
Thanks for the fast response...
KB