Dave L
unread,Apr 13, 2011, 3:23:35 AM4/13/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ModalBox
I am using ModalBox with rails and am running into some problems with
Internet Explorer. The modal box appears behind the overlay. I've
tried running this on a blank page with only the required js and css
files and I still get this problem in IE. I have the same versions
for scriptaculous and effects (1.8.3) and I am using Prototype 1.7
(also tried it with 1.6.1). This is the code I am using:
<%= javascript_include_tag 'prototype', 'effects', 'modalbox' %>
<%= stylesheet_link_tag "modalbox" %>
<div id="image_search" style="display:none">
<div id="image_select">
This is the Modal Box.
</div>
</div>
<button id="upload_image" >add image</button>
<script type="text/javascript">
document.observe('dom:loaded', function(){
Event.observe('upload_image','click', function(){
Modalbox.show($('image_search'),{title: 'Select an Image for:
test', width: 600, height: 500});
return false;
})
})
</script>
Has anyone else ran into any problems with Rails and IE?