similar to: Display note when MouseOver Input form

Displaying 20 results from an estimated 3000 matches similar to: "Display note when MouseOver Input form"

2012 Sep 22
1
formtastic does not save at all
Rails 3.1.3 I am using Formtastic gem in order to deal with multi-select dependencies. <%= semantic_form_for(@give) do |f| %> <%= f.inputs do %> <%= f.input :departure, :collection => Departure.find(:all, :order=>:city).collect{ |c| [c.city,c.id]}, :required=>true %> <div id="destinationCity"> <%= render :partial =>
2006 Mar 09
2
handling events: mouseover, etc.
I''m having a hard time figuring out how to handle mouseover events w/ Ruby on Rails (esp. whether Javascript takes over, or the Controller should be used). I''m currently trying to create a simple mouseover info box showing the definition, and some other information, when certain words are moused-over. Say I have an array of Word objects that have 1) word name 2) definition
2011 Feb 21
1
Multiple custom CSS for Formtastic
Inside stylesheets I have formtastic.css and formtastic_changes.css. In formtastic_changes.css I have a custom with: form.formtastic { width: 700px; etc.. It is working ok but now in only one page only, need a narrower form, say 530. So I need to have two width set up. What is the best way to do this? I mean I do not want to change the other forms in the project, I just want to change the
2006 May 03
3
My Tooltips contribution
All -- I've been working on a simple tooltip widget and thought I'd release it into the wild. It builds on the features found in Prototype 1.5.0 RC0 and Scriptaculous 1.6.1. Very basically, it walks down a list of links and if they have id, href and title attributes, displays a tooltip on mouseover. Styled with a few lines of CSS and background images. You can demo it here:
2005 Oct 31
2
Inplaceeditor and a tooltip on mouserollover?
on mouseover when using inplaceeditor it highlights in yellow. Great. However, I want to also show a tooltip inside this div on mouseover. Specifically, when a user is over editable text, besides the yellow background, I want to display next to it a "delete" link. One of the things I''ve tried is this: <script language="JavaScript"> new
2010 Jun 09
3
rake tells me to install gems that are already there
Hi, I''ve on hostmonster.com and i''ve run into a small problem that I just can''t get. When I push my application into my hosting environment and try to run rake db:migrate, I get an error message from rake telling me to install the missing gem my environment.rb file has: config.gem "formtastic" config.gem "authlogic" So I installed them but I still
2010 Jun 20
7
rspec-rails 2.0.0.beta.12 showing undefined method error for route_to
First of all, I''ve been trying to find an answer for this problem all over the internet without luck. The thing is that I am using RVM with ruby 1.9.2-head and I created a new empty gemset. Then I installed bundler gem with: gem bundler install That installed the library into the /Users/damselem/.rvm/gems/ ruby-1.9.2-head at rails3/gems directory. Then I went to my rails 3 app
2010 Jun 21
9
[BUG] Segmentation fault
First of all, I use RVM and I installed ruby-1.9.2-head, which I used to create a new rails3 gemset. Then I changed to that gemset with rvm use 1.9.2-head@rails3 and I ran bundle install over the following Gemfile: source ''http://rubygems.org'' gem ''rails'', ''3.0.0.beta4'' gem ''sqlite3-ruby'', :require =>
2010 Apr 05
3
syntax error, unexpected '\n', expecting tASSOC
Hey all, I get the following error. Now I know it''s related to a curly brace, but it seems that all curly braces are properly in place. So I''m not sure why I get this error: SyntaxError in DashboardController#panels rails/app/controllers/dashboard_controller.rb:170: syntax error, unexpected ''\n'', expecting tASSOC def panels addDetailToContainer =
2006 Jan 20
5
Height problem after interrupting SlideDown/SlideUp effects
Hi, i have a problem with the the SlideDown and SlideUp effects. Since a similiar problem is also visible on the script.aculo.us homepage, i''m going to explain it this way. - Go to http://script.aculo.us/ - On the main site below "visual effects", click "Advanced options", the sub panel will scroll down. - Hit the close button, and while the panel is still
2010 Jun 05
6
How do you update HABTM relationships or create.
Hi, I have a User model with a HABTM relation to a Role model and vice versa. So There''s a roles_users table that references :user and :role. I''m using formtastic, and in the user.edit.html.erb I have a line that outputs the roles as a multi-select list box. But the box is not showing the roles that have been assigned to the users. Another problem is that if I select a few
2006 Aug 24
2
Design questions on creating digg.com-like URLs (are they considered RESTful?)
Hi everyone, I''m working on creating a site that functions similar to digg.com (please no "no more digg clones" remarks please! :) ). One thing I really like about digg is there URLs are very nice to read and I would like to emulate that without having a lot of actions spread out all over my application. So in my app I have three main resources: Users, Tags, and Items
2007 Dec 11
1
[Bug 11164] Work together the FlowPlayer project
http://bugs.freedesktop.org/show_bug.cgi?id=11164 pekka.lampila at iki.fi changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|eric at anholt.net |swfdec at lists.freedesktop.org QAContact|eric at anholt.net |swfdec at lists.freedesktop.org --
2010 Mar 11
1
bad url in js script
When running in development env, I don''t have this problem, only in production... I have a view in which a js script display a FlowPlayer video player (+ plugins)... the flash files are located in the /public/dist folder, ant the script calls them like that : <script> $f("player", "/dist/flowplayer-3.1.5.swf", { plugins: { rtmp: {
2011 Nov 01
1
Rails 3.1, stylesheet assets not being reloaded correctly?
Hi, I''m working on a Rails 3.1 project at the moment and having a hard time getting the stylesheets properly loaded. My application.css.scss looks like this: /* * This is a manifest file that''ll automatically include all the stylesheets available in this directory * and any sub-directories. You''re free to add application-wide styles to this file and they''ll
2006 Sep 27
1
Almost 300 hours of videos about Free and Open Source Software
Hello! People from International Free Software Forum (the largest brazilian event about FLOSS) have done it two times in a row. They've put online the whole video coverage for this year's event (also online are the videos from last year). It's almost 300 hours in Ogg Theora. I think it's worth a mention in theora.org website. It's a shame there's no subtitles, for most of
2006 Jul 05
10
Google/Netflix Like Tooltips
I need to have a toolip-like object which has dynamic content in it. I plan on using scriptaculous with an ajax call to retrieve the content, but I would like to make the popup/tooltip/balloon text look as nice as possible. Does anyone have any examples or anything useful to create a popup like the ones that Google and Netflix have? I''d like to have one which must be
2011 Oct 26
6
Add an index to a form
Hello, I''m having some trouble with forms, my app allows to enter data by using a multi-step form that has 7 steps. There are 3 steps that may let the user to add 1 form, for example there''s a step called "children" and that children has the following fields: * name * age * gender but one father may have more than 1 child and I''m adding another form with
2010 Jan 16
3
Formtastic and Access to Variables of Nested Model
So I''m not even sure if I''ll be able to properly explain what I''m trying to do, but I''ll do my best. Let''s say that I have two models: Document and Option. A Document has many Options (and, by extension, an Option belongs to a Document). Each document may have a different number of options, hence why I made it a separate model. Each document has the
2006 Nov 18
3
New Rails site: Smatchy.com
A newly released site developed entirely in Rails, known as Smatchy (www.smatchy.com), presents an interesting take on recommendations and could become the standard rather than the exception. The recommendations were more useful than typical sites, especially the ''Unique Recs.'' More info here...