You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The basic dialog window is an overlay positioned within the viewport and is protected from page content
(like select elements) shining through with an iframe. It has a title bar and a content area, and can be moved,
resized and closed with the 'x' icon by default.
Type 'bundle show jquery-modal', find the path of gem's folder (f. example it would be var/etc/)
Edit with root the file, for example 'vi vendor/assets/stylesheets/jquery.modal.css.scss'. Find 'close' and edit it to 'close.png', 'spinner' to 'spinner.gif'
I got modal working by following the instructions from the main website, https://github.com/dei79/jquery-modal-rails
and tried with the copy pasting below.
The basic dialog window is an overlay positioned within the viewport and is protected from page content (like select elements) shining through with an iframe. It has a title bar and a content area, and can be moved, resized and closed with the 'x' icon by default.
<%= link_to_modal "Demo Form", "#demo-form", :class=>"button" %>
the modal works but there is no close icon. And looking at the browser console it has this error
GET http://localhost:3000/images/close 404 (Not Found) jquery.js?body=1:6600
shouldnt it be
GET http://localhost:3000/assets/close.png ?
The text was updated successfully, but these errors were encountered: