similar to: Addressing a class, rather than an id?

Displaying 20 results from an estimated 1200 matches similar to: "Addressing a class, rather than an id?"

2005 Jul 12
6
Meta-question about the list
Question about the list in general: by default, it''s set up so that replies go to the sender, rather than the list. However, on other lists I usually chat on, replies by default generally go to the list. This seems to encourage more discussion. Would it be a good idea to change that default? Or am I just crazy. Best, Raymond -- Raymond Brigleb, Needmore Designs Website
2005 Jul 31
2
Central list of Rails gems?
Is there a centralized list of Rails gems somewhere? Or even just a database of some kind of gems that can be useful to Rails apps, not just specific to Rails? -raymond -- Raymond Brigleb, Creative Director Needmore Designs -- The beautiful, usable web. Website http://needmoredesigns.com/ Email ray-THGPwszTed5CpjqP0VxSwUEOCMrvLtNR@public.gmane.org
2005 Jul 12
8
Tip Sheet for AJAX
Hi all, I''m making an Amy Hoy style tip sheet PDF for the Prototype and Scriptaculous AJAX stuff, to be used with Rails. Are there other resources you would suggest besides the websites themselves (the previous thread about Highlight reminded me of this)? Is there a particular focus that would be helpful for such a document? Preferred fonts or colors? I must say, once you get
2006 Mar 12
3
Setting environment variable for Rails app?
Greetings! I''m trying to set an environment variable in Rails. Why? I can''t use RMagick unless I do so. I can do it from the shell, run irb, and then require ''RMagick'' works. So far so good. But how can I do this from my application? I''m on a shared host so I''ve put in a ticket to have something like this added to httpd.conf: SetEnv
2005 Sep 23
2
Sortables: which element moved?
Looking at the archives, people have asked this before, but I can''t find a proper answer: How do you get sortable_element to return the dragged (moved) element? I know I can compare the list of elements before and after, but I need to know exactly which element was moved. The problem with comparing the list before and after is that if an element is dragged one element forward or
2006 Jan 31
5
resizing multiple images using getElementsByClassName
I am building a iPhoto like (Read rip-off) interface for thumbnails and I am having a couple problems that I thought some one on the list might be able to assist me on ... first off here is the page: http://v4.incontrolsolutions.com/galltest/ I am no Javascript whizz and I am sure there is a FAR more efficient way to do what I am trying. Having said that, the 2 things I was looking for
2005 Dec 04
2
Adding sortables dynamically
Hi all, is there a way to define the containment option for a sortable so that it is a class name instead of an id list? I have a case very similar to the sortable lists demo, the only difference is that I'm adding new list containers dinamically, so either I need to redo the Sortable.create calls for all new elements to include the newly added container, or having someway to have them
2005 Jul 21
3
Question about sortables
Hi, I''m trying to use sortables to sort table rows and move them between different tables (yes, it''s actual tabular data ;). However, either I don''t know how to use the tag property of Sortable.create properly, or it''s only working for li''s. Since it''s probably the first option, could someone post an example of sorting tr tags and move them
2005 Dec 08
3
Uncomplete hiding on Firefox 1.5
Hi all, I have observed the following on Firefox 1.5 (both on XP and OSX): My page has some div containers that hold sortable ul. The div's also contain links for showing/hiding the contained ul's. No matter which effect I use to do the hiding and showing (Fade/Appear, SlideUp/Down, BlindUp/Down) the hidden ul's don't hide completely, leaving a blank 'trace' behind.
2005 May 26
1
No response from Apache 2 / fcgi / rails...
Hello! I''m struggling here with getting Typo running on a Red Hat server under Apache 2 / fcgi... Every time I try to load the public home page, I get this in my error log: [Thu May 26 00:20:52 2005] [error] [client 24.22.74.233] FastCGI: comm with (dynamic) server "/home/httpd/vhosts/brigleb.com/httpdocs/ public/dispatch.fcgi" aborted: (first read) idle timeout (30 sec)
2005 Oct 04
5
sorting
I just want to confirm that it''s *not* possible to sort <tr>s in tables.... Jamie
2005 Jun 24
0
Parallel Worlds
You know, it almost seems as though there are now parallel worlds of animation utility packages. There is of course this family of effects, written in JavaScript, and typically used by Rails apps. But then there''s very similar libraries written in ActionScript, for Flash, that do very very similar things. And since ActionScript is heavily based on JavaScript, one wonders if
2006 Mar 22
5
FTP hangs Rails!
Hi! I''m running a Rails app on Apache/FCGI, with a single handler process on the server. At one point my application needs to FTP a bunch of files to a remote server. When it starts doing this, the server apparently freezes and doesn''t allow anyone else to do anything. Plus, after about twenty seconds, my nice status page vanishes from the browser, even though the
2006 Apr 11
6
Google Base... in Rails?
Ok, so this is kinda out of the blue... but I''ve been looking at Google Base and thinking that it''s got some really good ideas in it. Especially the way you can create your own "type" of item with its own custom attributes, like date range, location, number, text, etc. Kind of like defining a database with a GUI, but not exactly. It seems really interesting to me, from
2005 Sep 21
8
Slider controls
Heya! Thanks to Marty Haught, script.aculo.us (as of changeset 2281) now sports a new Control for horizontal and vertical sliders. See the functional test file (test/functional/slider_test.html) for information on how to use it. Basically, you do: <div id="track1" style="width:200px;background-color:#aaa;height:5px;"> <div id="handle1"
2005 Jul 20
3
examples of drag n drop
Sorry if this sounds cynical, ( i do love script.aculo.us scripts ) , but I am wondering if people know of some good real world examples of uses of drag n drop and sortable lists. such a cute script will likely be *ab*used as much as it is used. obviously the point here is to use script.aculo.us to improve the user interface rather than just have some k00l eFX. e.g. the drag n drop instantly
2006 Mar 30
15
Survey: Favored Rails Production Environment
We''re trying to set up a colocated server for deploying a Rails application or three. Right now I''m undecided between a PC-based server running FreeBSD and an Xserve running OS X. I''ve never colocated before so I''m wondering if anyone has stories, tips, or could say what their preferred OS is for running Rails. I''m also wondering how performance of
2005 Jan 25
4
Collection_select with multiple options
Hi, I have built a select field that allows multiple options selected with collection_select and "multiple"=>"multiple". How do I go about receiving the values? If I use a variable name like collection[], it complains that I can''t use @collection[] as the instance variable. TIA victor
2005 Jul 13
2
A small question about dragging effect on sortables
Hello, I''m implementing sortables in Rails and I can''t seem to get the lovely effect from the Sortable Floats Demo on Thomas'' wonderful site: http://script.aculo.us/drag-and-drop#sortable-floats-demo Simply put, I can''t get the effect whereby you''re dragging the image. When I have a vertical or horizontal constraint on a list, the effect
2005 Dec 05
3
Multi-level drag and drop in scriptaculous?
I am trying to create a screen like Google''s personalized home pages or start.com, i.e., with draggable sections, with the extra feature that the child items under the parent headings could be dragged and dropped from one parent heading to another. I have set up nested droppable sortables (dropOnEmpty=true) but the behavior is very inconsistent, i.e, parents do not become droppable