Giter Club home page Giter Club logo

jquery-modal-rails's Issues

Rails 4, modal not showing

I verified that js and css files are loaded via asset pipeline. They are. When the link is clicked, the background darkens, but the modal never appears. I also tried a few things in the firebug, no errors are showing. I played with order of loaded assets, no luck. Im also using bootstrap 3.

ajax modal not working

When you add :remote => true it just redirects you to the page and does not actually open up the modal

Width / Height parameters don't change window size

Width / height parameter don't affects the modal size.

<%= link_to_modal 'New User Modal Sized', new_user_path, :width=> "600", :height =>"400", :remote => true %>

or

<%= link_to_modal 'New User Modal Sized', new_user_path, :width=> "950", :height =>"800", :remote => true %>

Keeps the same size.

close button not visible

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 ?

Interested in taking over project

Hey Dirk,

Firstly, thank you for creating this. This gives a viable means of modal implementation in Rails, especially if one is boycotting Bootstrap (I know, I know), and this works better IMO. It is easier to install and use as you're not having to write out all the extra AJAX calls or partial reference in a .js.erb file.

Secondly, if you are still looking for someone to take over this project, I would be more than happy to take on the task.

Thanks for your consideration,

Michael

support for rails 5

When trying to install this gem on rails 5, I get

jquery-modal-rails (~> 0.0.4) was resolved to 0.0.4, which depends on
      railties (< 5.0, >= 3.2.0)

Is there a plan to upgrade this gem to support rails 5? Are there common work-arounds in the meantime?

Goggle maps showing strange.

Hi. i'm using standart google maps script, but the div in which it renders shows only part of map and it's acting strange. what can cause this?

js functionality after modal renders

I have a multi step form that I call into a modal box using link_to_modal. It renders properly but i loose the functionality. For example, on the regular form page, I am able to click an option and the next step flies in, until the last step is chosen and the form submits. When I open it up in the modal box, I click the first step and it never goes to the second step. Its like frozen or something? Please help. I cant figure out why the form works regular and not in the modal box?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.