search for: originalbackground

Displaying 3 results from an estimated 3 matches for "originalbackground".

2005 Oct 26
2
Troubleshooting inplace editor
...demoajaxreturn.html''); </script> 3. The page loads okay, but no Ajax magic. 4. My javascript console displays the following errors: Error: Element.getStyle is not a function Source File: http://127.0.0.1:3000/javascripts/controls.js Line: 474 Line 474 from control.js is this: this.originalBackground = Element.getStyle(this.element, ''background-color''); if (!this.originalBackground) { this.originalBackground = "transparent"; } I tried it in both Firefox 1.0.6 and IE6. I am using rails .13.1. Am I missing something simple? Thanks, Steve __________________________...
2005 Dec 28
0
InPlaceEditor background image only shows first time?
...mage doesn''t show. .inplaceeditor-saving { background: url(/images/wait.gif) bottom right no-repeat; } Looking @ the log and the image isn''t even requested the second time. Looking @ the control.js source, could it be related to this.element.style.backgroundColor = this.originalBackground; In the showSaving function? Could this background be overwriting the background coming from the class? First thing through it''s ok, but after that could the originalBackground be messed up? I dug a bit deeper and it looks like originalBackground is coming from the ''ba...
2005 Oct 05
5
InPlaceEditor crash on Safari
Quick question.. I often crash my Safari when using ''Enter'' on InPlaceEditor''s for submitting. Works fine on firefox(win & Mac) - no javascript errors. Anyone else seen this behavior? (Maybe it is just my alterings of InPlaceEditor :-) Best Regards Michael Krog