Displaying 20 results from an estimated 400 matches similar to: "RJS Javascript oddity - trying to call Element.setStyle"
2006 Apr 25
2
Question about Callbacks in link_to_remote
Currently, I have a link_to_remote like this:
<%= link_to_remote("Get Results",
:update => ''query_results'',
:with => "''tags='' + $F(''query_tags'')",
:loading => "new Effect.Appear(''comment_loading'')",
:complete
2006 Jul 16
14
Rails, FCGI, DreamHost, and endless frustrations
Hi all!
I''m trying to deploy an application out to a subdomain at dreamhost. I am
getting the dreaded "Rails application failed to start properly" error. The
logs for my app are empty. In the DreamHost FTP app, when I look in the
error.log file (I''m guessing this the Apache error log file) I see the
following for each of my attempts:
[Sun Jul 16 12:36:32 2006]
2006 Apr 23
5
Newbie Ajaxy Question
Hi all,
I''ve been trying to figure this out by myself and while I feel I''ve made
some progress, I feel kind of stuck. Let me see if I can explain what I''m
trying to do. I have a very simple form with a text box and a text area.
The text in each of these will eventually make it into a row in a table in
my database. For now, the value in the text box represents a
2006 May 14
12
Is there a place for java in Ruby on Rails apps?
Hi all,
I''m asking this question from the standpoint of a developer with almost 10
years experience with Microsoft technologies, mostly doing server side
component and database work. So, I''m not very familiar with the java
world. Can anyon tell me how/if java development can complement Ruby on
Rails development? I''m not interested in how java can duplicate Rails
2007 Nov 09
1
!important modifier in setStyle
Does anyone know a way to set the !important modifier when using
setStyle to change the css of an element?
It throws errors in IE but works fine in FF. Any insight is
appreciated.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to
2006 Sep 06
22
ROR host: dreamhost or godaddy?
hi all,
i am looking for a host for my ROR web app. the target audience will be
70% from mainland china, and 30% from the rest of the world.
i dont want a chinese hosst because:
1. it''s very slow for the rest of the world to access to it.
2. the speed is quite ok for china to access the us sites.
both dreamhost and godaddy provide similar budget plans, and i saw them
all from this
2007 May 08
3
user and password verification (login form)
hello
I have created a registration form, from where the user is asked to fill
the userid and password and is stored in the database
now i want to create a login page which will take the user and password
and then verify with the database and if true then page 1 will open if
false page 2 will open.
can ne one tell me the code for it
thanks..
--
Posted via http://www.ruby-forum.com/.
2007 Mar 19
3
jQuery Users...
Any jQuery users out there? I would like to learn more about
incorporating jQuery with Rails as the performance seems to be the
best of any library I''ve seen and it is great in separating the
JScript from the HTML. Any suggestions on where to get started? I''ve
read this (http://b.lesseverything.com/2006/12/31/making-jquery-and-
prototype-play-nice-in-rails) but was looking into
2007 May 06
2
prototype setStyle (background-image) relative url problem
Hi there,
hope I can explain this one! When I try to use a setStyle call and set
the backgroundImage property of an element, I''m having some problems
using a relative URL.
my directory structure is this:
SERVER_ROOT/context/javascript/tree.js
SERVER_ROOT/context/style/tree/tree.css
SERVER_ROOT/context/images/node_icons/open.png
SERVER_ROOT/context/images/node_icons/closed.png
in my
2006 Jan 15
7
Rad Rails?
Hi,
I''ve just now started learning Ruby on Rails. Someone told me that I
should get RadRails to use as my IDE. RadRails.org seems to be dead
now. Has something bad happened? Or do I just have my URL wrong? Is
there another good Rails IDE? I''m developing on windows right now.
Thanks!
TAD
--
Posted via http://www.ruby-forum.com/.
2006 Jan 17
5
Noob Question concerning code in Agile Web Development with Rails
Hi,
I''m currently learning Ruby on Rails using "Agile Web Development with
Rails." I am using RadRails as my development environment. Everything has
been going along well, until the end of chapter 7. Just before the end of
the chapter, we set up our store pages so that they can be styled with the
depot.css stylesheet. This is where I run into my problem. The stylesheet
2005 Nov 07
2
question about Effect.Highlight and IE 5.5
I''ve recently begun testing some of the scriptaculous functionality in
IE 5.5, since my company wants me to support as many browsers as
possible. When I do an Effect.Highlight on a <tr>, it doesn''t quite
work right. I''ve figured out a few things, but I''m not sure whether you
want to change them or not. Here''s what I know:
In
2009 May 15
1
[PATCH server] First round of (largely) cosmetic changes to flexchart.
Missing are capitalization/formatting of data type & function labels,
as well as addressing the unit labels for the y-axis.
---
src/flexchart/flexchart.mxml | 4 +
src/flexchart/org/ovirt/Constants.as | 17 +++
src/flexchart/org/ovirt/charts/BarChart.as | 155 ++++++++++++++++--------
src/flexchart/org/ovirt/charts/HostChart.as | 42 ++++++-
2008 May 30
7
Styling an Anchor Tag With Prototype
I have a question: How do you style the various components of the
anchor tag? I am doing it this way:
$$(''a:link,a:visited'').each(function(link){ //links
link.setStyle({ color: ''#''+$F(''cp4_Hex'') });
});
$$(''a:hover'').each(function(link){ //links
link.setStyle({ color: ''#''+$F(''cp5_Hex'')
2006 Mar 04
1
RE: Question about event listener highlighting withchild elements
1. Create a separate class that has your highlight/unhighlight behavior
in it, and extend just the element you want to highlight with that
class... like this (also allows you to easily apply this behavior
elsewhere when you need it in the future):
Object.extend(this.el, HighlightBehaviorClass.prototype)
2. When defining your event handlers, assign them to variables so you
have a
2006 Dec 19
2
Effect.Pulsate on last scriptaculous
Somone have tested the last scriptaculous version that ships with last
prototype?
I you make an Effect.Pulsate, the element stays hidden after the effect
finish if the element don''t have opacity stablished. This is for the changes
on the setStyle method on prototype.
The original code is:
2006 Jul 19
2
Mouse Location
Is the only way to get the mouse location by using javascript? Or does
rails do it for me?!? :)
Does anyone have a simple script that they use? I''m trying to put a div
right where the mouse is clicked on a link... so I''m looking for it to
work like this:
a hre f=. onclick=Element.setStyle(''title_login'', {left:
MOUSEX,top:
MOUSEY;});new
2005 Aug 06
1
why is the result of expr. Ajax.InPlaceEditor not an object in Safari
hi guys.
i''m really thrilled about the in-place editor and rahul''s additions/
examples at http://www.instituteofthefuture.org/js/inplace.php
i know that this "mozilla only" script will eventually get fixed and
be usable in safari as well, but i can''t wait, so i''ve tried to poke
around a bit -- of course, without success. i am much more of an
2006 Jan 12
1
Effect.Puff Problem - first frame is wrong size
I''m trying to get to the bottom of this one. Not much for
Javascript debugging, but found the Venkman tool and have been
stepping through the code trying to see where things go wrong. Looks
like it just might be a conflict with the style but lets give some
background.
I''m doing a ''Effect.Puff(''my_div'')'' on an onclick, and
2007 Jan 11
3
Strange behaviour with Scriptaculous v 1.7.0 beta 2
Hello,
I''m testing beta of scriptaculous and I''ve got a stange behaviour.
I''m using this RJS :
page << "$(''content'').morph({width:''308px''}, {duration:0.5});"
page.replace_html ''subcontent'', :partial => ''sub''
page.replace_html ''nav_path'', nav_path