
June 12th, 2005, 06:38 PM
|
|
|
|
Join Date: Apr 2007
Posts: 19
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Div resizer JS
Ok so I have
<script type="text/javascript"><!--
function insertIt() {
var _y = document.getElementById('framediv');
var _x = window.frames[0].document.body.innerHTML;
_y.innerHTML = _x
}
// -->
</script>
that gets called to rezie the DIV tag when content is loaded in....but, I think it removed the iframe when it does......cause the frame name doesnt work with it. What would need to be done to ahve the iFrame, stay or just be able to be targeted.... make sense?
|