This project is read-only.
1
Vote

drag in iframe html body

description

i have div area contains some modules width div element, i want to drag and drop each module to iframe html ,
<iframe id='myiframe' src="html/iframe.php"></iframe> This modules could move to title element, head element, and body element... etc.
ican get iframe and append my css code like this
$('#myiframe').contents().find('style').html('body{color:red;}');
$('#myiframe').contents().find('body').html('<div>My body content</div>');
so how can i my other elements in iframe with your plugin.
Thank you.

comments