Welcome to WebmasterWorld Guest from 188.8.131.52
Forum Moderators: open
im trying to insert multiple word docs into a html page depending on form submitting . im presuming each doc needs an <object>, or <embed> tag..
im submitting a page, then with JS in the onsubmit of the form i do ..
//set some vars with submitted values
html = these values..;
//was trying this..
any help much appreciated ..
ActiveX Documents are embeddable OLE objects that behave more like ActiveX controls than traditional OLE objects. Unlike a normal embedded object, an ActiveX Document is not designed to be a contained object in a larger document. Instead, it is considered a complete document in itself, which is merely being viewed by a viewer (such as Internet Explorer) or is being collected into a single resource with other documents (such as a Binder file).
first of all, you website will only work on windows based systems - no unix, no apple (not even with ie there, in my knowledge, ms cancelled activex integration in mac ie, correct me if wrong).
internet explorer itself is able to open activex documents and - i forgot to wrote it first - a word document can be displayed as activex document like almost any ms office file (.xls, .ppt).
if i follow ms specs, an iframe with an src= attribute with the doc's filename as value should do the trick. feel free to check it out.