[Proto-Scripty] IE problem

2010-07-15 Thread adglp
This code errors in IE. I get an invalid argument error concerning
the  elementStyle object.

The area that i'm interested in is: setStyle: function(element,
styles) {
element = $(element);
var elementStyle = element.style, match;
if (Object.isString(styles)) {
  element.style.cssText += ';' + styles;
  return styles.include('opacity') ?
element.setOpacity(styles.match(/opacity:\s*(\d?\.?\d*)/)
[1]) : element;
}
for (var property in styles)
  if (property == 'opacity') element.setOpacity(styles[property]);
  else
elementStyle[(property == 'float' || property == 'cssFloat') ?
  (Object.isUndefined(elementStyle.styleFloat) ? 'cssFloat' :
'styleFloat') :
property] = styles[property];

return element;
  },

Please advise!!!

-- 
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 prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.



[Proto-Scripty] IE problem - document.getElementById

2010-01-18 Thread Sumit
Sorry if this seems to be a wrong forum for this issue. I've been
using prototypejs in my project, so thought you guys may have done
some workaround this.

My html content looks like this http://pastebin.com/m2af10447

on "dom:loaded" event, i'm querying the dom for objects with id
"issues". On FF it just works fine; but on IE8 (i'm yet to test on
other devil builds yet), i found (on debugging) that the return
element has no children, i.e. childNodes.length is 0.

Any ideas/suggestions on what could be done to fix this?
-- 
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 prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.




[Proto-Scripty] IE problem with multiple paralell morphings

2008-11-06 Thread jrmout

Hi!


I developped a webpage for my string quartet, and as i had so many
problems with IE i did 2 versions. I'll fuse them when both are ready.
A version for non IE browsers: 
http://cuartetotoldra.com/toldrismo/prueba3enhanced.html
and another one just for IE: http://cuartetotoldra.com/toldrismo/prueba3ie.html

The thing is that with IE exploring the menus (which means morphing,
just have a look) will cause undesired jumps and pops of some divs...
It seems like the parallel morphings aren't completely
coordinated..With firefox 3, opera, chrome and safari, there's no
problem. Firefox 2 is not perfect but is not that bad as IE. I even
tried with IE 8, but these random jumps won't disappear. I suppose
there's no solution for this, but if someone had such a problema and
could solve it, some help would be appreciated... :)


Thanks!!


JR

--~--~-~--~~~---~--~~
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 prototype-scriptaculous@googlegroups.com
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
-~--~~~~--~~--~--~---