It didn't work for me.
When I was learning to use Prototype's Ajax.Request I wrote the following
script.
http://www.foxnight.net/test/
usage:
Enter any string but local to request a google search for the words.
Using the word 'local' without quotes will fetch a local page from the URL.
It shoul
I just don't use links for anything other than things which are supposed to
navigate you to somewhere else. It just seems weird for me to (when I turn off
javascript) have a link sitting on the page doing nothing.
So I do something like:
my
link
And it's always a valid link with or without j
Title: Message
I
believe you have to use the getAttribute() method when navigating XML to get the
attribute values.
I've
heard rumors that you can use documentElement in IE as long as your document
mime type is set to 'text/xml' for the XML you're retrieving. But I don't have
an XML sourc
I believe all of the scriptaculous effects have an afterFinish callback. I'd
suggest using that instead of a timeout.
More info here: http://wiki.script.aculo.us/scriptaculous/show/CoreEffects
Cheers
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Daniel
E
I can't answer for the first, but I believe the 10ms wait is in some way
related to the fact that not all browsers update the DOM immediately after an
innerHTML assignment.
The timeout is probably just giving time for that update to happen.
-Original Message-
From: [EMAIL PROTECTED]
[
I believe the only difference between the two is that in the first you're
creating a prototyped class, where in the second you're creating a static
namespace containing functions.
The only extra overhead you'll see is from the call to Class.create().
Cheers,
Joe
-O
)
As for your namespacing YUI style vs. Prototype, I don't forsee a problem as
long as you keep straight which parts follow your YUI standard and which are
prototype. It's up to you.
Cheers,
Joe
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Brian
Can't seem to figure this scriptaculous out:
I've got some divs set to none that I'd like to have appear on body
load. The div named "image" appears just fine, but the divs named
"cd1", "cd2", and "cd3" won't appear. I'm calling all of the
effect.appear functions through a single function calle
be gentile it's very
much a work in progress ;)
I definitely over thought the solution (forgot about Element.update for one).
Well done. :)
Joe
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Fabian
Lange
Sent: Tuesday, July 18, 2006 4:45 PM
To:
Trying to find all the params for Effect.Appear function. What would
be even better is a list of the params for EVERY function in
scriptaculous. Can't seem to find a clear, concise list in the wiki.
Thanks,
Joe.
___
Rails-spinoffs mailing list
Please clarify or give an example of what you _don't_ want.
I think you are asking if there's a way to only BlindDown if the object isn't
already down.
The problem being that if you use Effect.BlindDown on an element which is
already down, it disappears, then blinds back down.
If so, the state
Not only did someone beat me to it, but my name is apparently ajax now... way
to go me... :\
Cheers
Joe... not Ajax
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Bauser, Joseph (Joe)
Sent: Tuesday, July 11, 2006 9:42 AM
To: rails-spinoffs
The okClick event handler will pass an Event into your function which means the
reference page you're looking for is here:
http://www.w3schools.com/htmldom/dom_obj_event.asp
Cheers
Ajax
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Sam
Sent: Tuesday, Ju
If I
remember correctly, you can't use that effect on tables. But I may be
mistaken.
-Original Message-From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]On Behalf Of Eskil
KvalnesSent: Monday, July 10, 2006 4:05 PMTo:
rails-spinoffs@lists.rubyonrails.orgSubject: Re: [Rail
Depends what you mean.
A good place to check for functionality in prototype is
http://www.sergiopereira.com/articles/prototype.js.html
You can go there and search to see if it has the functionality you want.
Cheers
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Beh
The Hash that prototype declares provides associative array functionality, like
returning of keys and values, stuff that Object doesn't provide on it's own.
It's intent is to act like an associative array, where Object is intended to be
used as an Object.
Contrary to my previous understanding,
When he said ignored, I think he only meant for the inspect function (which
doesn't print d even though it exists).
The functions will still be merged together into v3 since the $H() function
doesn't discriminate by type AFAIK.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
Anderson, Eric wrote:
> I understand companies have policies about installing unapproved 3rd
> party software. But most sane companies should have some channel to get
> software approved that is needed. If they have hired a disabled person
> who has low vision problems and they are unwilling to
This is an excellent point, but I part of your rational.
You state that this is like providing an audio recording for the website.
I'd argue that the recording exists and not making these small sacrifices is
like denying it to the impaired.
As designers the responsibility is ours to make sure th
I also use pt on all of my sites, and it will _appear_ to be working fine.
However, try and view the same site, with the same font, in the same browser,
in more than one operating system and you'll see a large (and annoying)
difference.
If Linux or BSD users aren't your target user base then yo
To answer your first question, I believe the Google Maps API already contains
the functionality you are looking for.
If I understand correctly you'd like to be able to add and position images on a
map, and add comments to the images on the map?
You may want to take a deeper look into the Google
Thanks very much, Rob.
Joe
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:rails-spinoffs-
> [EMAIL PROTECTED] On Behalf Of Robin Haswell
> Sent: Thursday, May 11, 2006 4:38 AM
> To: rails-spinoffs@lists.rubyonrails.org
> Subject: Re: [Rails-spinoffs] anyone hav
information would be greatly appreciated.
Thanks.
Joe
___
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
is is going to be the
one. Thanks again for the contribution!
Joe
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:rails-spinoffs-
> [EMAIL PROTECTED] On Behalf Of Ed C.
> Sent: Tuesday, May 09, 2006 8:47 AM
> To: rails-spinoffs@lists.rubyonrails.org
> Subject: Re
Yeah, I looked at the demo and it really is great. Is there any way that
you can optionally be able to keep the tooltip from disappearing if the
mouse moves over the tooltip (in case you have links in the tooltip)?
Thanks
Joe
> -Original Message-
> From: [EMAIL PROTECTED] [mailto
WOW! That illustration is great! Thank you very much, Matt.
Joe
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:rails-spinoffs-
> [EMAIL PROTECTED] On Behalf Of SPENDLOVE, Matt, GBM
> Sent: Wednesday, April 26, 2006 10:12 AM
> To: 'rails-spinoffs@lists.rubyon
Thank you all very much. This is exactly what I was looking for. Is there
a setHeight function?
Joe
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:rails-spinoffs-
> [EMAIL PROTECTED] On Behalf Of Martinez, Andrew
> Sent: Wednesday, April 26, 2006 10:03 AM
> To:
If no one has an answer to this, would anybody be able to tell me how to do
the following:
- how to get the height of a block element
- how to set the height of a block element
I'm sure these are trivial but I just haven't found the correct methods to
do so. Thanks very
o: 50});
What happens is that the div does the blind up transition until it is half
the original size then it disappears. Is there any way I can not make the
div disappear? Thanks for your help.
Joe
___
Rails-spinoffs mailing list
Rails-spi
on(element) {
element = $(element);
var x = element.x ? element.x : element.offsetLeft,
y = element.y ? element.y : element.offsetTop;
window.scrollTo(x, y);
},
Thanks for the response.
Joe
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:rails-spinoffs-
&g
Does anybody have any ideas what I am doing wrong? The duration parameter
seems to have no effect on the scrollTo function.
Element.scrollTo(divId, {duration: 5.0});
Am I using this correctly? Thanks.
Joe
___
Rails-spinoffs mailing list
Rails
Thanks very much, Greg. That solved
my problem.
Joe
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gregory Hill
Sent: Tuesday, April 18, 2006 3:01
PM
To: rails-spinoffs@lists.rubyonrails.org
Subject: RE: [Rails-spinoffs] how
to evaluate responseText as an
the array… it is the string
representation of the array. Could anybody help me please? Thanks.
Joe
___
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
Is there a cross-browser way of doing this by any chance?
Joe
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:rails-spinoffs-
> [EMAIL PROTECTED] On Behalf Of Claudio Gamboa
> Sent: Tuesday, April 11, 2006 6:41 PM
> To: rails-spinoffs@lists.rubyonrails.org
> S
s null or not an object
>
> With
> new Effect.Parallel
> instead of
> Effect.Parallel
>
> I have no errors in Fx 1.5
>
> On 2/22/06, Joe Hudson <[EMAIL PROTECTED]> wrote:
> >
> >
> > Hi, working on the accordion widget and it's actually workin
Title: 'this.initialize' is null or not an object
Hi, working on the accordion widget and it’s actually working nice (doesn’t seem to be jumpy) now but I am receiving a _javascript_ error in IE 6. Does anybody have any ideas why it is happening? Thanks
I had the same experiences as well. I would certainly rather have an option
that only used scriptaculous (just to keep a lighter footprint) but I can't
get it to stop jumping around right when the bars start moving and right
before they stop.
Joe
> -Original Message-
> F
Thanks Jim… this will help get me
going.
Joe
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jim Davis
Sent: Tuesday, February 21, 2006
8:35 PM
To: rails-spinoffs@lists.rubyonrails.org
Subject: Re: [Rails-spinoffs]
accordion (outlook bar thingy) help
your time.
Joe
<>___
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
Title: ajax toolip (context help)
Does anybody have a solution for creating ajax (and local) tooltips using scriptaculous? I have a solution that uses another script library as well but would like to keep the footprint of the web pages down. Any advice would be greatly appreciated.
Joe
this.evalResponse();
Good luck.
Joe
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:rails-spinoffs-
> [EMAIL PROTECTED] On Behalf Of Nathan Tran
> Sent: Monday, February 20, 2006 11:32 PM
> To: rails-spinoffs@lists.rubyonrails.org
> Subject: RE: [Rails-spinoffs]
this.
Keep the content type... just remove the charset.
Joe
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nathan
Tran
Sent: Monday, February 20, 2006 12:43 AM
To: rails-spinoffs@lists.rubyonrails.org
Subject: [Rails-spinoffs] [Prototype] onSuccess Even
much
for the help.
Joe
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Joe Hudson
Sent: Saturday, February 18, 2006
5:25 PM
To:
rails-spinoffs@lists.rubyonrails.org
Subject: [Rails-spinoffs] spinner
not working inside a table with IE 6
Hello,
I’m trying to use the
Title: spinner not working inside a table with IE 6
Hello, I’m trying to use the slider inside a table and am having problems. I’m wondering if anybody can help or, if it just isn’t possible for some reason. The following 2 samples contain same code (1 inside and 1 inside ). The div one w
Title: slider not working in a table for IE 6
Hello, I’m trying to use the slider inside a table and am having problems. I’m wondering if anybody can help or, if it just isn’t possible for some reason. The following 2 entries are the exact same code (1 inside and 1 inside ). The div one w
Hello, I'm trying to use the slider inside a table and am having problems.
I'm wondering if anybody can help or, if it just isn't possible for some
reason. The following 2 entries are the exact same code (1 inside
and 1 inside ). The div one
works fine but the table one doesn't work (using IE 6.
response text. With Webwork, this will automatically be done for you (at
least with the FreemarkerResult) unless you override the preProcess method
to not do this.
So, you need to make sure that the content type just reads: text/javascript
Joe
_
From
hat works
"http://demo.script.aculo.us/ajax/order"; and the URL that doesn't
"/test/ajax/order.action" is the fact that my local URL had an extension
(.action). Would this cause a problem? Thanks.
Joe
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Any ideas?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Cam McVey
Sent: Tuesday, February 14, 2006 10:48 AM
To: rails-spinoffs@lists.rubyonrails.org
Subject: Re: [Rails-spinoffs] problem with sortable lists and IE
Hi Joe,
The problem is that you're att
setTimeout(this.onComplete.bind(this), 10);
}
}
});
...
I have done everything I can think of to try to understand what the problem
is but I am hoping that, given all the information I have been able to
retrieve, one of the more advanced developers will be able to help me.
Thank you ver
sell them ruby on rails, hahaha :)
Jaimz wrote:
> i know it's funny. but tell them that you can't buy it, because it's
> not a thing at all, it's a method of using javascript. tell them that
> they should donate something to scriptaculous instead. i doubt they will.
>
> Dominic Stockdale wrote:
>
Hmm. I've never had any problems selecting text in any version of ie
using script/prototype. Have you tried it after disbling the stylsheet?
It might be an odd ie positioning bug(any one of a million). Check your
comments too, ie has been known to render css rules within comments on
occasion.
Pa
ed in the site from the rest? I wouldn't want to have to do
that every time scriptaculous is patched so I'm thinking there has to be
a better way.
Joe
___
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonra
keep in mind z-index only applies to positioned elements, i've made that
mistake before. :)
Marty Haught wrote:
> Hey Guys,
>
> I'm having trouble with getting my draggables to go over the top of
> other items on my page. For instance, if I drag an icon from 'lower'
> in the page to a 'higher' p
54 matches
Mail list logo