javascript - Iframe is not displaying when copied on to new site -
i'm having trouble twitter iframe isn't displaying, code has been copied site working in same markup.
i've checked in litmus , problem there on browsers.
the page i'm trying make work here twitter feed should appear on right of login form.
the page it's working here
for reference, iframe @ line 244 of page source.
#twitter { padding: 0px; width: 400px; height: 100%; float: right; margin: 25px; display: inline-block; <div id="twitter"> <iframe id="twitter-widget-0" scrolling="no" frameborder="0" allowtransparency="true" class="twitter-timeline twitter-timeline-rendered" allowfullscreen="" style="border: none; max-width: 100%; min-width: 180px; margin: 0px; padding: 0px; display: inline-block; position: static; visibility: visible; width: 400px;" title="twitter timeline" height="500"> </iframe> <script id="twitter-wjs" src="https://platform.twitter.com/widgets.js"></script> <script> <script> ! function (d, s, id) { var js, fjs = d.getelementsbytagname(s)[0], p = /^http:/.test(d.location) ? 'http' : 'https'; if (!d.getelementbyid(id)) { js = d.createelement(s); js.id = id; js.src = p + "://platform.twitter.com/widgets.js"; fjs.parentnode.insertbefore(js, fjs); } }(document, "script", "twitter-wjs"); </script> </div> some changes between pages due factors out of control, wrapped in table. difference between structure of pages can think of, although don't think affect iframe.
thanks in advance help.
why not try this?
<div id="twitter"> <a class="twitter-timeline" data-dnt="true" href="https://twitter.com/etouches" data-widget-id="570513672875671552"> tweets @etouches </a> <script> !function(d,s,id){var js,fjs=d.getelementsbytagname(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getelementbyid(id)){js=d.createelement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentnode.insertbefore(js,fjs);}}(document,"script","twitter-wjs"); </script> </div>
Comments
Post a Comment