superfluous

Author Topic: 2013 Site  (Read 2329 times)

0 Members and 1 Guest are viewing this topic.

Offline theeohiostate

  • All Pro
  • ****
  • Posts: 22
  • Karma: 0
    • NitroGrafixx.com
2013 Site
« on: April 24, 2013, 02:02:11 PM »
embedding my MFL History into my MFL Page, took a bit of work but looking good

http://www12.myfantasyleague.com/2013/home/46415?MODULE=MESSAGE9


To embed the MFL History into your MFL site, but have it look like its part of the site and not an iframe, here is the code i use. Place in a HPM

Code: [Select]
<iframe src="http://www.mflhistory.com/leaguehistory.php?id=430" frameborder="0" style="height:100%;width:100%;position:absolute;top:50px;left:0px;right:0px;bottom:0px;" height="100%" width="100%"></iframe>

<style type="text/css">
html,body{overflow:hidden;}
</style>


Now if you have any custom footers or headers that are not part of the page content, and they are displaying on your iframe, just add a style in that same HPM to display:none to them

Code: [Select]
<style type="text/css">
html,body{overflow:hidden;}
#mycustomfooter{display:none}
#mycustomheader{display:none }
</style>
« Last Edit: April 24, 2013, 02:46:42 PM by theeohiostate »

Offline Racktacular

  • Starter
  • **
  • Posts: 7
  • Karma: 0
Re: 2013 Site
« Reply #1 on: July 14, 2013, 03:19:42 AM »
Can you help me with this?  I tried using your code in this league (http://www9.myfantasyleague.com/2013/home/32768#11) but it doesn't seem to be integrated correctly.

The code I am currently using is:

"<iframe SRC=http://www.mflhistory.com/leaguehistory.php?id=429  width="1200px" height="2300px" marginheight="0" frameborder="0" scrolling="no" onLoad="autoResize('iframe1');"></iframe>

I personally would like to get a better skin on the current site so it looks like it is actually part of the league site.

Any help would be greatly appreciated.

Thanks