search for: contentwindow

Displaying 7 results from an estimated 7 matches for "contentwindow".

2006 Jun 27
14
iframe ... does it have an innerHTML ?
If I dynamically create a hidden iframe, how could I add a document in a string to that element? e.g., var sDocument = ''<html><head></head><body>Hello world.</body></html>''; I''ve tried several variations of appendChild, innerHTML, document.innerHTML, createTextNode. Argh! _______________________________________________
2007 Apr 27
2
mdiclient windows do not always activate on click
I just noticed that MDIClient windows do not automatically become current when they receive a mouse click, but only do so if the click happens inside of an enabled widget. This may very well be correct, but if so then what is the right way to handle it, if you want a more familiar window-manager behavior (click to focus)? For example, if you change the mditest.rb example like so... ---
2010 Jan 02
0
Print a PDF directly after prawnto with iframes
Hi, I think I''m very near of accomplishing this but I have a problem. This is the code: <%- content_for :head do -%> <script type="text/javascript" charset="utf-8"> function printPDF(){ var pdf = document.getElementById("pdfDoc").contentWindow; pdf.focus(); pdf.print(); } </script> <%- end -%> <iframe src="/aaa.pdf" id="pdfDoc" name="pdfDoc"></iframe> <li><%= link_to ''Print'', {:controller => ''receipt'', :action => &...
2006 May 13
3
Firefox 1.5.0.3 in CentOSPlus?
Seeing Fedora have released 1.5.0.3 for fc5 isn't it time for CentOS to rebuild 1.5.0.3 for CentOSPlus or does the current rpm have the patches? I recall last times goof in FC5 firefox appearing in the CentOS one so I assume that CentOSPlus needs to rebuild the FC5 one again. __________________________________________________ Improve the mailing list by performing a simple search before
2006 Jun 29
3
dynamic generation of iframes and writing to them
...tainer = ""; document.write = function(text){ adContainer += text; }; - Then dynamically create the iframe - function generateIframe(iframeId, sDocument) { var tFrame = document.getElementById(iframeId); var doc = tFrame.contentDocument; if (doc == undefined || doc == null) doc = tFrame.contentWindow.document; doc.open(); doc.write(sDocument); doc.close(); } setTimeout("generateIframe(''Left'', adContainer)", 500); Now, this works fine when I am trying to get one ad position. Add to this a situation when I want to get 5 ad positions. So, I send only ONE request. P...
2012 Aug 17
0
Wine release 1.5.11
.... msi: Try the registered install location first when resolving the target directory. Henri Verbeet (2): winex11: Don't set MWM decorations either for fullscreen virtual desktops. winex11: Explicitly clear virtual desktop maximized state. Jacek Caban (37): mshtml: Test contentWindow interfaces of frame and iframe elements. mshtml: Fixed DISPATCH_PROPERTYGET|DISPATCH_METHOD support in invoke_builtin_prop. mshtml: Default to previous script type if not given. vbscript: Ignore fdexNameCaseSensitive flag. mshtml: Added VBScript in HTML tests. vbscript...
2009 Oct 09
0
Wine release 1.1.31
...ml: Use dispinterface DISPID_VALUE implementation if available. mshtml: Get rid of no longer needed HTMLLocation_value. mshtml: Added IHTMLAnchorElement::get_href implementation. mshtml: Added IHTMLAnchorElement::get_href tests. mshtml: Use document.defaultView to get iframe contentWindow. mshtml: Added IHTMLDOMNode::cloneNode implementation. jscript: Added FIXME about IClassFactoryEx. mshtml.idl: Moved IHTMLElement dispinterface declaration to macro. mshtml.idl: Moved IHTMLElement2 dispinterface declaration to macro. mshtml.idl: Moved IHTMLElement3 dis...