-
Junior Member
IFrame Help!!!
We are trying to use an iframe to pull content from an external site. In this case we are trying to pull content from the Publisher section of the Miniclip.com website. I used to have it working when the target had a .php extension but now they changed to a .js extension and I can't get it to work. Below is the original iframe text I used and below that is the Miniclip game address and code. Thank you in advance for your assistance!
Original working iframe code:
<iframe src="http://www.miniclip.com/games/red-code-3/en/webgame.php" frameborder="0" style="border:none;" width="640" height="480" scrolling="no"></iframe>
Miniclip Publisher Website:
http://webmasters.miniclip.com/
Example Game Code Page:
http://webmasters.miniclip.com/game/...olf-champions/
Example Game Code provided:
<!-- Place this code where you'd like the game to appear -->
<div id="miniclip-game-embed" data-game-name="golf-champions" data-theme="1" data-width="680" data-height="510"></div>
<!-- Insert this code before your <script type="text/javascript">if(!NREUMQ.f){NREUMQ.f=function(){NREU MQ.push(["load",new Date().getTime()]);var e=document.createElement("script");e.type="text/javascript";e.src=(("http:"===document.location.pr otocol)?"http:":"https:")+"//"+"js-agent.newrelic.com/nr-100.js";document.body.appendChild(e);if(NREUMQ.a)N REUMQ.a();};NREUMQ.a=window.onload;window.onload=N REUMQ.f;};NREUMQ.push(["nrfj","beacon-6.newrelic.com","f246896502","2632998","MVFRZktRWh JVAkVYVwgbcEdKRFsMGwZQXF1JXV1WXEg=",0,8,new Date().getTime(),"","","","",""]);</script></body> tag -->
<script src="http://www.miniclip.com/js/game-embed.js"></script>
Iframe code found online - website address:
http://alt-web.com/Tutorials/iframes.html
Iframe code found online:
<iframe name="Frame1" id="Frame1" src="http://yoursite.com/PhotoGallery/index.html" width="100%" height="375" align="left" frameborder="0" scrolling="auto">Your broswer doesn't support inline frames, please upgrade to a modern browser that does.</iframe>
This code works when we inserted www.nbcnews.com instead of the provided sample domain but we can't seem to translate it to work with the Miniclip code provided.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules