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! ;)

jsfiddle: http://jsfiddle.net/j997k/1/


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -