Embed a website in a div with Jquery -
i'm trying embed website website div, problem i'm having website i'm embedding isn't filling whole div.
the code have right now:
$("#rectangle").html('<object data="http://dmatthams.co.uk/thing/gwd/">');
(relevant jsfiddle) http://jsfiddle.net/j997k/
as can see, website embedded isn't filling whole div. ideas on how fix that?
(and also, need use jquery)
you had set <object>
to
object { height: 100%; width: 100%; }
also had 2 id
same name, not work! ;)
Comments
Post a Comment