[Proto-Scripty] Re: Question about onmouseover, onmouseout and onclick

2009-10-14 Thread Christophe Decaux
I don't know anything what elegant means, but this would be my way to do it. I'm your onclick handler, set a flag such as menuIsClicked to true and in your onMouseOut handler, test that flag before hiding the image. On to the pros for the ellegant solution. Christophe Le 14 oct. 2009 à 18:4

[Proto-Scripty] Question about onmouseover, onmouseout and onclick

2009-10-14 Thread Darkie
Hi guys, I've got a menu with 3 links. On every link onmouseover I get an image that appears on its left, onmouseout I hide the image. I do this with Effect.Appear for making it appear and $('id').hide() to make it hide. I want that when I click on a link (onclick), the images stays there even if

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

2009-10-14 Thread Kemal Delalic
Thanks for your reply, here's the HTML; Traži So, i'm calling Ajax.Autocompleter on 'gdjecu' input, and the element that shows transport results is 'sugestije'. As you can notice, 'gdjecu' input is wrapped into 'gdjecu_wrap', which is camou

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

2009-10-14 Thread Julius Seporaitis
Garfieldius, thanks :) svens0n82, I've later found that function 'descendant' also needs similar fix. Around line 3597 in prototype.js I've changed: h.concat(results, node.getElementsByTagName('*')); into if(typeof node == 'string') { node = $(node); } h.concat(results, node.getElementsByTagNam

[Proto-Scripty] Re: minifying prototype, is it allowed?

2009-10-14 Thread T.J. Crowder
Hi, > is it allowed to minify prototype.js? Yup, more info here: http://proto-scripty.wikidot.com/prototype:tip-minimizing-download-times > are there any prototype-min.js > peckaged by prototype.js team? No. HTH, -- T.J. Crowder Independent Software Consultant tj / crowder software / com www.

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

2009-10-14 Thread svens0...@googlemail.com
Hi, i have the same issue with the error but your solution doesnt work for me. Error keeps the same. Any more ideas? On 12 Okt., 23:16, Julius Šėporaitis wrote: > Hi, > > just wanted to post a quick note for those who maybe had problems like > mine: > > - Prototype v.1.6.1 > - Firefox 3.5 > -

[Proto-Scripty] minifying prototype, is it allowed?

2009-10-14 Thread huda salam
Hi all, is it allowed to minify prototype.js? are there any prototype-min.js peckaged by prototype.js team? thanks. regards, huda salam --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us"

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

2009-10-14 Thread Garfieldius
For the sake of completeness: you forgot the " so it's if(typeof root == "string") root = $(root); --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send ema

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

2009-10-14 Thread Alex McAuley
No DOM id's are not allowed to start with numbers according to the w3c spec!. In most programming languages variables are also not allowed to start with numbers either! so its good practice to stay away from them. HTH Alex Mcauley http://www.thevacancymarket.com - Original Message -