Ruby on Rails Saturday, November 11, 2017

hmm,  not so fast.

It is working initially, but once I've clicked on a menu option in the drop down - the hover dropdown stops working.

:(

On Friday, November 10, 2017 at 7:10:51 PM UTC-5, Joe Guerra wrote:
Ok, I got it working.  For some odd reason I couldn't paste that hover javascript file into my javascript folder.
So, I created a new javascript file (using rubymine) and then pasted the actual code into it and saving it with the same name.

I don't know if that's a permissions problem, but it put the file in the root folder of my app (which I've deleted now).

Thanks,
Joe

On Friday, November 10, 2017 at 5:41:17 PM UTC-5, Mugurel Chirica wrote:
Open the developer console (right click -> inspect in Chrome), and see if you get any related errors.

Alternatively try and use the suggested command from the Readme:
$('.dropdown-toggle').dropdownHover(options);

See if that helps in any way.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/aa133e95-0188-4d37-973c-d945952795e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment