search for: unobtrusively

Displaying 20 results from an estimated 99 matches for "unobtrusively".

Did you mean: unobtrusive
2006 Jun 05
1
Unobtrusive javascript...what if?
What if...you could produce accessible, unobtrusive javascript, using Rails built-in javascript/prototype helpers, with just one extra line of code in your layout, a plugin, and one small enhancement to the helpers. Something like this: [php] <% form_remote_tag :controller => ''foo'', :action => ''bar'', :unobtrusive => true %> # which produces
2006 Aug 01
0
Unobtrusive Javascript for Rails 0.2
Dan Webb (http://www.vivabit.com) and I are happy to announce the latest release of the Unobtrusive Javascript plugin for Rails. This release packs in lots of cool new features, a few changes to old ones and some performance enhancements. Now you can write your behaviours in Ruby, attach behaviours directly to elements using content_tag and apply behaviours to elements without HTML IDs.
2010 Dec 20
2
The Rails3 way for in-place editing
Currently I want to implement in-place editing directly on the index-page (for the sake of learning just xx products with a name to be edited). These are my favorite links from yesterday''s research (for the archives): *On the spot is a Rails3 compliant unobtrusive javascript in-place-editing plugin: http://rubygems.org/gems/on_the_spot
2006 Jul 21
3
Unobtrusive Javascript plugin
Hi, I downloaded the unobtrusive_javascript pluing from this link (http://www.lukeredpath.co.uk/index.php/2006/06/06/introducing-unobtrusive-javascript-for-rails/) since I needed to have dynamic content in javascript (for a pop-up menu). Unfortunately I have been unable to make the plugin work. I followed the instructions on the website, but for some reason the javascript doesn?t work (for
2007 Mar 14
0
SV: Re: each() and parameters and unobtrusive javascript
You could also try to go with the button element since it can wrap content like images. Something like: <button name="delete"><img src="..."></button> along with some styling to your liking. -Tobias -----Oprindelig meddelelse----- Fra: rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org [mailto:rubyonrails-spinoffs@googlegroups.com] På vegne af
2007 Apr 09
0
Unobtrusive IPE -- comments, please
I just coded an unobtrusive In Place Editor and wanted to get some review and comments for it. Anyone spot anything obvious that I could do to streamline this? Thanks, Walter <script type="text/javascript" charset="utf-8"> var rightClick = function(e){ Event.stop(e); var editListing = new Ajax.InPlaceEditor("listing_body",
2006 Jun 07
9
Unobtrusive Javascript for Rails
I made a brief post on here the other day about this and now I can proudly present the initial release of our unobtrusive_javascript plugin for Rails. We''ll be working with Dan Webb of Vivabit to roll in much of the functionality in his own as-yet unreleased unobtrusive_javascript plugin into a single plugin. This is essentially a preview release and probably not suitable for use on a
2006 May 11
1
Yahoo Container Library
Just a note that Yahoo came out with some more widgets Check out http://com1.devnet.scd.yahoo.com/yui/container/index.html. Maybe we can adopt some of their ideas. * I like the Module library and its subclasses * you can do unobtrusive html and use this when you instantiate the javascript objects dom _______________________________________________ Rails-spinoffs mailing list
2013 Feb 19
4
Float::INFINITY ranges in where() clause
This seems like such an obvious idea that I''m having trouble believing I''m the first to think of it. Why not take ranges containing Float::INFINITY and translate them to the appropriate greater than or less than comparisons? Example: class Person scope :voters, -> { where(born_on: (-Float::INFINITY..18.years.ago)) } end This would generate something along the lines of
2011 Sep 06
8
Ajax and rails 3 UJS (jquery)
Hi, guys, I''m in the midst of moving an app from rails 2.3.8 to rails 3.0.9. Sadly, rails 3 no longer has javascript generators and I''m now forced to do more javascript. For my project, I have selected jQuery as the javascript framework for my rails 3.0.9 app. What I have done to have my app''s deletion link (for each item) trigger an alert box when the deletion
2010 Feb 12
2
What happens to RJS in Rails 3
I know that Rails 3 ideal of unobtrusive javascript will result in the removal of all inline javascript. But where does that leave RJS? It looks like PrototypeGenerator is still a part of the Rails core, so I''m going to assume that RJS templates will remain unchanged. Still looks like gems/plugins such JRals will be necessary for use of other JS frameworks. Can anyone confirm or deny
2011 Oct 29
2
comments on HAML ?
I have been asked a couple of times at job interviews if I am familiar with HAML or Liquid so I was wondering if maybe I should start using them and perhaps it would make the views easier to work with. If I install HAML on a machine where my app is that has alot of regular HTML in the .erb views already, will it still work with those or do I need to convert everything to HAML ? Can I have some
2005 Jun 29
14
Unobtrusive scripting?
Currently, pages generated by Rails tend to be sprinkled with JavaScript. This happens, because the various helper methods work only locally and simply append to the output. In order to hide the JavaScript away, rendering would probably have to be changed. A way I can think of is that a page-specific script is included in the head of the document and JavaScript code is not written to the
2005 Jul 12
11
how to cancel/stop a script.aculo.us effect
I apologise for what is probably a totally noob question here, but I''m at a loss after pouring over the docs and the source code for prototype and scriptaculous... After you''ve started an effect, how do you access it to cancel or change it? I had assumed it was something like this: myEffect = new Effect.Appear(element, {duration:1.5}); myEffect.cancel(); ... but that
2006 May 12
7
RJS and page.select collection size
I need to implement a conditional in my RJS template which looks something like: if (page.select(''row1'').first != null) page << "new TableRow.MoveAfter(''row1'', ''newrow'');" else page << "new TableRow.MoveAfter(''row2'', ''newrow'');" end Now, dumb question.. My
2013 May 23
3
Xen/ARM multiboot (v2) support
Hi Ian, can we push multiboot v2 support for Xen/ARM still into 4.3? It looks like it can coexists with zImage in the same binary - the multiboot structure can be put just behind the zImage header and the code can determine how it has been started: zImage bootloaders clears r0, multiboot one''s would set r0 to the MB magic. I will sketch a patch tomorrow, just wondering if we can have
2006 Mar 05
7
whatever happend to unobtrusive javascript in Rails ?
Don''t get me wrong, JavaScript/Ajax helpers in Rails are a huge timesaver and they have helped me to finally overcome my irrational aversion to js libraries like prototype and such. However, all this goodness seems to come at quiet a price. The resulting code is littered with inline JS, including ubiquitous script tags and onload attributes etc.. It seems that just when i found
2008 Jun 02
2
[PATCH] browser_plugin - kate support, build fixes, and misc
>> hmm, perhaps we should add some configure arguments like >> --with-firefox-cflags= and --with-firefox-libs= > > I've made it a single one, --with-gecko-sdk= and also default > include path and xpidl path to that if specified. Hi, I noticed this hasn't been applied, so I'm sending it again as it's quite simple and, I think, unobtrusive. It allows building
2004 Aug 03
1
patch to deal with empty filenames
Hi, I have a tftp client that sends out a tftp file request with an empty (but null terminated) filename. IMHO this is a bug, but I still need to be able to use TFTP with this client. Modifying the client is out of the question at this point. To deal with this situation I modified tftp-hpa in what I hope is an unobtrusive manner -- I basically modified the code to map "" filenames
2008 May 30
0
UJS for rails plugin Installation problems
Hello, I downloaded and installed the latest UJS plugin. I first got the error "uninitialized constant UJS" and this error wouldn''t go away no matter where I place the "UJS::routes" line in the routes.rb file. The only way I found to get rid of this error is to run "rake tmp:sessions:clear" but then I get another error which is "can''t convert