Re: [Proto-Scripty] Re: IE 7 New Element problem

2011-08-24 Thread kstubs
Yeah, I'm recoding a bunch of these right now. Bummer. Seems like this could be fixed. Karl.. -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To view this discussion on the web visit https://groups.google.com/d/msg/prototyp

Re: [Proto-Scripty] Re: IE 7 New Element problem

2011-08-24 Thread Walter Lee Davis
I find with IE of any flavor, that it helps a lot to break this up into separate steps, rather than the lovely one-liner you have here. var f = new Element('form'); // IE may be having kittens with form as a variable name //maybe insert it somewhere in the page, too, before you start working

[Proto-Scripty] Re: IE 7 New Element problem

2011-08-24 Thread kstubs
So this: var form = new Element('form', {id:'MSO_LOGON', action:'#', method:'post', style:'display:none'}); Renders this: Notice the undefined above. -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To view this discussion on

[Proto-Scripty] Re: IE 7 New Element problem

2011-08-24 Thread kstubs
If indeed setStyle is working and not the former, then it would seem to me that the issue could easily be traced back to the root of the problem. Perhaps someone of the Prototype dev team can have a look into this. Karl.. -- You received this message because you are subscribed to the Google G

[Proto-Scripty] Re: IE 7 New Element problem

2011-08-23 Thread Victor
I used similar things with new Element(tagName, {style:"..."}) earlier, but after strange behavior of IE I prefer to use new Element(tagName).setStyle({width:x,height:y}) -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To view t