[Proto-Scripty] Re: element.down() invalid string

2009-10-13 Thread JoJo
It is something like 187zdd17813lkajhs68976s. DOM ID's cannot start with numbers? On Oct 13, 2:31 am, "T.J. Crowder" wrote: > Hi, > > Out of curiousity, what's the value of `channelId`? > -- > T.J. Crowder > Independent Software Consultant > tj / crowder software / comwww.crowdersoftware.com > >

[Proto-Scripty] replace_html with javascript or rjs after ajax call

2009-10-13 Thread Dave L
I'm not sure what is best practice in this situation. I have a quiz add icon that, when clicked, adds an element to a quiz list. Right now it is using a link_to_remote with an image_tag (in ruby rails) and when clicked it hits the server, saves the quiz add/remove toggle and then uses rjs to cha

[Proto-Scripty] Re: Major frustrations with Effect.Morph

2009-10-13 Thread DJ Mangus
I seem to remember that morph can only handle properties that can be tweened. The solution in my experience is to morph between classes where the non tweenable properies are applied at the end of the effect. I haven't worked with morph for over a year so take that with a grain of salt. Sent from

[Proto-Scripty] Re: Major frustrations with Effect.Morph

2009-10-13 Thread patrick
Because I posted this topic twice by mistake, it seems this is a confusing thread. I replied to the other, but no one answered-- and people are replying to this one, so I am going to repost my last reply from the other thread. >Patrick double posted and i replied to the >second post - perhaps th

[Proto-Scripty] Re: Hook Ajax.Autocompleter to another element but the input itself

2009-10-13 Thread djlee
maybe you should provide a code snippet or demo and possibly try to explain further what you are trying to accomplish, theres nothing worse in a dev support board than posting little information pertaining to your problem (thats not directed at you specifically, just a general comment). Depending

[Proto-Scripty] Re: ajax virtual desktop

2009-10-13 Thread djlee
yh that sounds great, if nothing else it may help cement a few ideas in my head. Ive seen many free frameworks thatplugin for window UI's e.c.t. but i wouldnt learn bugger all if i used them. video's, demo's, code snippets, and anything else anyone can provide will be of use to me in one way or an

[Proto-Scripty] Re: Firefox Ajax problem

2009-10-13 Thread Alex McAuley
Apache server has a server variable for detecting this... the variable is 'HTTP_X_REQUESTED_WITH' == 'xmlhttprequest' If you are not running apache or your apache installation does not support this then i would simply add a variable to your Ajax request that says it must be .. in the ele.requ

[Proto-Scripty] Re: ajax virtual desktop

2009-10-13 Thread Alex McAuley
Hi DJ Lee. I have built and run a successfull ajax style cross browser desktop and is used in many businesses as a contact manager with alot more. I would be happy to share my code with you or help in anyway that i can. As luck would have it i started to make some video demo's last night to sh

[Proto-Scripty] Re: element.down() invalid string

2009-10-13 Thread T.J. Crowder
Hi, Out of curiousity, what's the value of `channelId`? -- T.J. Crowder Independent Software Consultant tj / crowder software / com www.crowdersoftware.com On Oct 12, 11:52 pm, JoJo wrote: > Why is it that the following gives the error: [Exception... "An > invalid or illegal string was specifi

[Proto-Scripty] Problem with Prototype 1.6.1 (& solved)

2009-10-13 Thread Julius Šėporaitis
Hi, just wanted to post a quick note for those who maybe had problems like mine: - Prototype v.1.6.1 - Firefox 3.5 - JS Error: root.querySelectorAll is not a function (about line 3299 in prototype.js) This started to happen on Magento checkout pages, where the Accordion is and I don't know if t

[Proto-Scripty] ajax virtual desktop

2009-10-13 Thread djlee
im looking to build an ajax virtual desktop. I have some idea of how it MAY be done however id like to try and get some expert opinions and/ or evaluations of my own ideas. Im not a javascript or ajax guru by far, i sort of learn as i need to, but i am good with PHP/HTML/CSS/ MySQL so those langua

[Proto-Scripty] Firefox Ajax problem

2009-10-13 Thread moesian
Hi I'm having a problem in Firefox detecting if the request is xmlHttpRequest in my php code, my code seems to work fine when using IE and Chrome. I'm using Magento which is based on the Zend Framework and using the Zend isXmlHttpRequest() function to test whether or not the request is an xhr one

[Proto-Scripty] Hook Ajax.Autocompleter to another element but the input itself

2009-10-13 Thread Kemal Delalic
Hi everyone, I'm trying to get suggestion element ( update ) to be shown as hooked to my input's wrapper, not the input itself. I tried doing various things and none of my ideas worked, editing controls.js is not an option. Does anyone have any expirience on this particular topic or it's just m

[Proto-Scripty] Re: Autocompleter requst on hitting space character

2009-10-13 Thread djlee
im not a prototype or ajax guru so if this isnt efficient or good enough for you , then you may have to wait for a better reply, but since im waiting for help myself i'll do my best. one way you could do this is a simple onkeyup event on the input box, something like function search(e) { if(e.k