similar to: passing options for render :update

Displaying 20 results from an estimated 4000 matches similar to: "passing options for render :update"

2010 May 24
2
Two RJS visual effects will happen at the same time?
I was going to change the background of a div from white to red and then from red back to white, so this is used in an RJS file: page[:vote_score].visual_effect :highlight, :startcolor => ''#ffffff'', :endcolor => ''#ffcccc'' page[:vote_score].visual_effect :highlight, :startcolor => ''#ffcccc'', :endcolor =>
2005 Sep 14
3
Effects.Scale and form input elements
is it possible to use Effects.Scale to make a set of form input elements appear in a ''slide out'' effect? I''m trying to build a control with a button which, when clicked, will cause a row of form inputs to appear. I can do this with Effects.Appear, but what I really wanted was for the inputs to appear to ''slide out'' from the button. What I
2006 Apr 18
4
update_page yields escaped code in callback
Hi All, The subject pretty well describes what I am experiencing. This line in an .rhtml template: <%= link_to_remote menu_item.humanize, {:update => ''section'', :url =>{:controller => menu_item}, :complete => update_page do |page| page.activate_tab("#{menu_item}_tab", ''menu_'') page[''section''].hide
2005 Dec 25
5
RJS not working?
I''ve been attempting to add a simple rjs ''delete'' method to my project. However, no matter what I try, it simply doesn''t work. Even the easy, easy stuff seems broken. (Yes, <%= javascript_include_tag :defaults %> is being included in the template.) For example, from: http://www.codyfauser.com/articles/2005/11/20/rails-rjs-templates VIEW: <h1
2006 Mar 02
4
Instance variables in Javascript param
How can I make this work ? <a href="#" onclick="new Effect.Fade(@div_id)"></a> @div_id is an instance variable ? TIA -- Posted via http://www.ruby-forum.com/.
2005 Jun 24
3
flashing divs in IE with use of BlindUp and BlindDown
I''m having an issue with flashing divs in IE (firefox is fine and the only other browser I''ve used) My scenario is as follows. I have 2 divs (initially hidden) and using the BlindDown and BlindUp functions (possibly others) the divs flash when starting to roll down in BlindDown (due to the Element.show call) and also at the end of the BlindUp call (due to the Element.hide call)
2008 Jul 30
1
machine not shutting down and connection failures in logs
Hi, this is my first nut installation, i see lot of connection failure and when i tried the configuration removing the power chord from the ups i expected tha machine will power itslef down but this has not happened. I'm using nut 2.2.2-2 from debian lenny, ups is a mustek powermust 2000 with usb cable. All config files are root:nut and 640, i've had to add nut user to nut group
2008 Jan 23
11
Rails 2.0.2 + RJS
Hi I had ajax commenting on my app, which worked perfectly on Rails v1.2.6, but does not work the same in Rails 2.02. Basically the comment gets added, but the visual effects do not work (ie lines 2 + 3 of create.rjs) create.js page.insert_html :bottom, ''comments'', :partial => ''comment'' page.visual_effect :appear, "comment_#{@comment.id}"
2006 Mar 04
29
Getting RJS / EgdeRails working
Hi, using Rails 1.0 on windows (without svn yet) I just wrote "rake freeze_edge". Are the RJS-templates already included then ? When I write "rake update_javascripts" I receive this error: svn: ''.'' is not a working copy Any tipps for a newbie on how to get the update done (if neccessary) ? thx Jan
2006 Jun 24
6
Ajax fade effect
I have a list of categories, when I delete one of them, I want that item to fade and then get removed. So I do the following: 1. home_controller: def delete @category = Category.find_by_name(params[:name]) @element_id = @category.name Category.delete_all(["name = ?", @category.name]) end 2. delete.rjs: if @element_id page.visual_effect :fade, @element_id
2005 Jan 01
1
Advice for dealing with bad sectors on /
All, Trying to figure out how to deal with, I assume, a dying disk that's unfortunately on / (ext3). Getting errors similar to: Dec 31 20:44:30 mybox kernel: hdb: dma_intr: status=0x51 { DriveReady SeekComplete Error } Dec 31 20:44:30 mybox kernel: hdb: dma_intr: error=0x40 { UncorrectableError }, LBAsect=163423, high=0, low=163423, sector=163360 Dec 31 20:44:30 mybox kernel: end_request:
2006 Apr 16
11
RJS templates not found
I am running Rails 1.10 and wanted to check out the RJS templates. Rails doesn''t seem to find them. I did issue the rake comment update_javascripts and that did not correct the problem. RJS is part of 1.1 right? Any ideas? Thanks. -- Posted via http://www.ruby-forum.com/.
2014 Apr 05
1
USB 3.0 NIC / Sitecom NL-031
Hi, I have a Sitecom NL-031 USB 3.0 NIC which I'd like to use under centos 6.5, but unfortunately I see no support. Or, I am doing something wrong. According to LKDDb (Linux Kernel Driver DataBase), the correct driver is "CONFIG_USB_NET_AX8817X: ASIX AX88xxx Based USB 2.0 Ethernet Adapters" but obviously, I've grabbed a non matching "iProduct", because mine is
2009 Feb 27
4
Banging my head on wall (hosts)
Ok, so I figured I''d move this here since IRC isn''t the place for it. Ok, so I have my 40ish servers. Of those, 36 or so of them have hosts entries that need to look like this: 127.0.0.1 localhost 172.x.x.x dbprod1.xxx.com dbprod1 172.x.x.x mgmt01.xxx.com mgmt01 puppet certmaster 172.x.x.x mybox.xxx.com mybox Where mybox is the name of the box. The others have a few
2006 Nov 07
6
Sweex 1000VA UPS
Hi, I'm trying to get a sweex ups working with nut on debian sarge. This one: http://www.sweex.com/producten.php?lang=1&%20sectie=&item=59&artikel=95 It's shipped with UPSmart and according to the compatibility list it should work with the genericups upstype=7 driver. But it doesn't. I get: mybox:/etc/nut# /etc/init.d/nut start Starting Network UPS Tools: (upsdrvctl
2011 Apr 28
1
Samba with 389 Directory Server Auth problem
Hi Folks, I had a crack at setting up a Samba PDC using a fresh installation of FDS 1.2.4 as the backend on one of our RHEL 5.3 servers per the Wiki Howto:Samba but ran into a few issues. In the section 'Populating FDS with PDC Entry', it instructs the user to run 'net getlocalsid'. This results in the following: [root at mybox logs]# net getlocalsid
2012 May 08
4
best way to upgrade from default Python 2.4 to Python 2.6?
What is the best way to upgrade to Python 2.6 from the default Python 2.4. I'm running CentOS 5 --> Linux mybox.domain.com 2.6.18-238.9.1.el5 #1 SMP Tue Apr 12 18:10:13 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux I've read these horror stories online and don't want to break yum.
2012 Sep 20
6
accept email and make phone call?
Any ideas on how asterisk could accept an email (such as an email to SMS or "number at mybox.org" sort of thing) and make a phone call to a specific number and make an announcement? I imagine the first part is the big question. joe a.
2008 Feb 28
2
smokeping on CentOS questions
I'm having some problems getting CentOS to serve up my Smokeping pages ( http://oss.oetiker.ch/smokeping/) However, I'm having problems getting the pages to serve up correctly. Here is a quick run down of what I've done. (1) wget and untar to /usr/local/smokeping (2) chown -R root:root /usr/local/smokeping (3) modifying to the following files to reflect my environment (not sure if
2010 Sep 23
3
execvp /usr/local/libexec/dovecot/dovecot-lda: Permission denied
I'm trying to follow the instructions for configuring Dovecot LMTP with postfix for virtual domains but whenever mail arrives, in /var/log/maillog, I see Sep 23 16:01:20 mybox postfix/pipe[572]: 999C83206C6: to=< user at mytest.domain.com>, relay=dovecot, delay=0.08, delays=0.04/0.01/0/0.03, dsn=4.3.0, status=deferred (temporary failure. Command output: pipe: fatal: pipe_command: execvp