|
|||||||
| JavaScript JavaScript (not Java) Discussion and technical support, including AJAX and frameworks (JQuery, MooTools, Prototype...) |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
making inserted html not look like an iframe
hi...i know i can insert html with something like:
Code:
var ob=document.createElement("object");
ob.width="100%"
ob.height="100%"
ob.data="pages/"+title+".php";
ob.type="text/html";
wrapper.appendChild(ob);
|
|
#2
|
||||
|
||||
|
If you use
Code:
style="overflow: hidden" |
|
#3
|
|||
|
|||
|
yep...thanks..
|
|
#4
|
|||
|
|||
|
oh oh....while applying what i learned, i have an issue with IE (6= not tested on 7 yet). The following works great in Firefox. The external page loads fine in all browsers... so, what does ie need to get the same results?
Code:
function loadContact(){
wrapper=document.createElement("div");
wrapper.id="wrapper";
result.appendChild(wrapper);
var ob=document.createElement("object");
ob.width="80%";
ob.height="900px";
ob.style.overflow="hidden";
ob.data="pages/contact.php";
ob.type="text/html";
wrapper.appendChild(ob);
}
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|