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
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
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
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
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.
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
> -
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"
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
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 -