Unfortunately, I need to be able to support IE6 for the time being, so it looks like the iframe approach is preferrable.
Per Marco's post, I have been looking at the code at http://www.net4visions.com/dev/dialog/_dialog.js. Specifically, the _createHTML function in the Dialog class: <code> obj = document.createElement('IFRAME'); obj.frameborder = 0; Element.setStyle(obj, {border: 0 + 'px', position: 'absolute', backgroundColor: '#ffffff', top: 0 + 'px', left: 0 + 'px', zIndex: -1}); this.dContainer.insertBefore(obj, this.dTitle); </code> When I tried to do something similar, I ended up with the white iframe overlaying my window background (an image set by CSS background property). Other articles recommend setting 'display: none' for the iframe and not setting a background color, but this caused the iframe to no longer be effective in covering the select elements. It seems my problem is related to using the background property to create my window border, even with the window's div wrapper's z-index set to 1000. Thoughts? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" 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/rubyonrails-spinoffs -~----------~----~----~----~------~----~------~--~---
