IE does some crazy thing with the name of the iframe's document. I
haven't looked at it recently enough to remember, but they don't call
that inner document the same DOM name as every other browser. Have a
google for JavaScript and iframes, and I'm sure it will pop right up.
It's not a Prototype thing, because your iframe source document may or
may not be Prototype-extended. Once you get a handle on it, you should
be able to access it and do things with it -- modulo the same origin
policy, of course. This is going to be one of those things where you do
var iframe = $('myIframe');
if(iframe.wierdMicrosoftAttribute){
var objDoc = iframe.wierdMicrosoftAttribute;
}else{
var objDoc = iframe.document
}
Walter
On Apr 1, 2011, at 10:50 AM, robsan wrote:
didn“t know but yes you right. Never reflected over that, thanks man!
Do you know anything about referencing the frames DOM in ie?
On 31 mar, 20:22, Walter Lee Davis <[email protected]> wrote:
This has to do with the user's settings in their browser. Print
Backgrounds usually defaults to off, and the only way to show a
background-image in print is to have the user enable that preference.
There's no CSS in the world that would override a user preference.
Walter
On Mar 31, 2011, at 12:17 PM, robsan wrote:
Second issue has to do with images set via css classes wont be
printed, They show up alright in the frame but nothing on printed
paper. An image set with regular img-tag prints alright though!
--
You received this message because you are subscribed to the Google
Groups "Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
.
To unsubscribe from this group, send email to [email protected]
.
For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en
.
--
You received this message because you are subscribed to the Google Groups "Prototype
& script.aculo.us" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en.