Hi,
I'm using prototype and setStyle in IE6 is just messing everything up. It's throwing a big error.
I've Googled it but cant find a solution.
I've identified the line in prototype with the IE script debugger, it's the final else block:
setStyle: function(element, styles) {
element = $(element);
var elementStyle = element.st...
Similar to Twitter, I am trying to allow a user to upload their own background pattern/image. I am wondering what the best way to dynamically change the background pattern on page load is. I am using prototype w/ rails and have been testing by putting the following in my main layout page:
document.observe('dom:loaded', f...
Current function:
function SetPopup() {
x$('body').setStyle('overflow', 'hidden');
x$('#divOne').setStyle('height', document.body.offsetHeight + 'px');
x$('#divOne').setStyle('width', 100 + '%');
x$('#divOne').setStyle('display', 'block');
}
What I would like to do is change this function such that 'divOne' would be re...