RE: [Rails-spinoffs] Cross Domain Ajax Request

2006-08-17 Thread Bauser, Joseph (Joe)
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

RE: [Rails-spinoffs] Completely off-topic, so flame me

2006-08-15 Thread Bauser, Joseph (Joe)
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

RE: [Rails-spinoffs] XML Question

2006-08-14 Thread Bauser, Joseph (Joe)
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

RE: [Rails-spinoffs] Timing things with Effects

2006-08-09 Thread Bauser, Joseph (Joe)
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

RE: [Rails-spinoffs] Prototype.js strips scripts before innerHTML

2006-07-21 Thread Bauser, Joseph (Joe)
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] [

RE: [Rails-spinoffs] Javascript Namespacing Question

2006-07-20 Thread Bauser, Joseph (Joe)
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

RE: [Rails-spinoffs] Javascript Namespacing Question

2006-07-20 Thread Bauser, Joseph (Joe)
) 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

[Rails-spinoffs] Effect.Appear behaving strangely

2006-07-19 Thread Joe
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

RE: [Rails-spinoffs] script.aculo.us effect to update elements

2006-07-19 Thread Bauser, Joseph (Joe)
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:

[Rails-spinoffs] Where can I find a list params for each sciptaculous function?

2006-07-18 Thread Joe
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

RE: [Rails-spinoffs] How to know is an Element is BlindDown

2006-07-12 Thread Bauser, Joseph (Joe)
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

RE: [Rails-spinoffs] Hiding an event to launch a debug window

2006-07-11 Thread Bauser, Joseph (Joe)
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

RE: [Rails-spinoffs] Hiding an event to launch a debug window

2006-07-11 Thread Bauser, Joseph (Joe)
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

RE: [Rails-spinoffs] Effect.SlideDown/Up() and HTML issues

2006-07-10 Thread Bauser, Joseph (Joe)
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

RE: [Rails-spinoffs] Making HTML display-able on a page

2006-07-10 Thread Bauser, Joseph (Joe)
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

RE: [Rails-spinoffs] prototype hash method

2006-07-10 Thread Bauser, Joseph (Joe)
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,

RE: [Rails-spinoffs] prototype hash method

2006-07-10 Thread Bauser, Joseph (Joe)
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

RE: [Rails-spinoffs] Text sizing

2006-07-06 Thread Bauser, Joseph (Joe)
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

RE: [Rails-spinoffs] Re: Text sizing

2006-07-06 Thread Bauser, Joseph (Joe)
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

RE: [Rails-spinoffs] Text sizing

2006-07-05 Thread Bauser, Joseph (Joe)
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

RE: [Rails-spinoffs] Make application like google maps but moooore simple

2006-06-20 Thread Bauser, Joseph (Joe)
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

RE: [Rails-spinoffs] anyone have a good accordion component?

2006-05-11 Thread Joe Hudson
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

[Rails-spinoffs] anyone have a good accordion component?

2006-05-11 Thread Joe Hudson
information would be greatly appreciated.   Thanks.   Joe ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

RE: [Rails-spinoffs] [ANN] Tooltips v1.1 Released

2006-05-09 Thread Joe Hudson
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

RE: [Rails-spinoffs] [ANN] Tooltips v1.1 Released

2006-05-08 Thread Joe Hudson
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

RE: [Rails-spinoffs] how to use Effect.BlindUp for resizing a div

2006-04-26 Thread Joe Hudson
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

RE: [Rails-spinoffs] how to use Effect.BlindUp for resizing a div

2006-04-26 Thread Joe Hudson
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:

RE: [Rails-spinoffs] how to use Effect.BlindUp for resizing a div

2006-04-26 Thread Joe Hudson
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

[Rails-spinoffs] how to use Effect.BlindUp for resizing a div

2006-04-25 Thread Joe Hudson
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

RE: [Rails-spinoffs] Element.scrollTo duration isn't working

2006-04-25 Thread Joe Hudson
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

[Rails-spinoffs] Element.scrollTo duration isn't working

2006-04-25 Thread Joe Hudson
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

RE: [Rails-spinoffs] how to evaluate responseText as an array?

2006-04-18 Thread Joe Hudson
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

[Rails-spinoffs] how to evaluate responseText as an array?

2006-04-18 Thread Joe Hudson
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

RE: [Rails-spinoffs] Autocompleter

2006-04-11 Thread Joe Hudson
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

RE: [Rails-spinoffs] 'this.initialize' is null or not an object

2006-02-22 Thread Joe Hudson
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

[Rails-spinoffs] 'this.initialize' is null or not an object

2006-02-22 Thread Joe Hudson
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

RE: [Rails-spinoffs] accordion (outlook bar thingy) help

2006-02-21 Thread Joe Hudson
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

RE: [Rails-spinoffs] accordion (outlook bar thingy) help

2006-02-21 Thread Joe Hudson
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

[Rails-spinoffs] accordion (outlook bar thingy) help

2006-02-21 Thread Joe Hudson
your time. Joe <>___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

[Rails-spinoffs] ajax toolip (context help)

2006-02-21 Thread Joe Hudson
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

RE: [Rails-spinoffs] [Prototype] onSuccess Event and, Ajax.Updater bug in IE

2006-02-21 Thread Joe Hudson
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]

RE: [Rails-spinoffs] [Prototype] onSuccess Event and Ajax.Updater bugin IE

2006-02-20 Thread Joe Hudson
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

RE: [Rails-spinoffs] spinner not working inside a table with IE 6

2006-02-18 Thread Joe Hudson
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

[Rails-spinoffs] spinner not working inside a table with IE 6

2006-02-18 Thread Joe Hudson
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

[Rails-spinoffs] slider not working in a table for IE 6

2006-02-18 Thread Joe Hudson
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

[Rails-spinoffs] slider component inside a table not working

2006-02-17 Thread Joe Hudson
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.

RE: [Rails-spinoffs] problem with sortable lists and IE

2006-02-15 Thread Joe Hudson
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

RE: [Rails-spinoffs] problem with sortable lists and IE

2006-02-14 Thread Joe Hudson
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

RE: [Rails-spinoffs] problem with sortable lists and IE

2006-02-14 Thread Joe Hudson
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

[Rails-spinoffs] problem with sortable lists and IE

2006-02-14 Thread Joe Hudson
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

Re: [Rails-spinoffs] AJAX for sale!

2006-01-21 Thread Joe Black
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: >

Re: [Rails-spinoffs] IE6 Text Selection Problem

2005-11-07 Thread Joe Black
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

[Rails-spinoffs] Scriptaculous Size

2005-10-22 Thread Joe Black
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

Re: [Rails-spinoffs] z-index and dragging

2005-10-22 Thread Joe Black
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