[Proto-Scripty] Re: Prototype conflict solution

2009-12-02 Thread david
Sorry,

Should read  ... GenevaJS, a port of jquery syntax using prototype at
http://genevajs.com/ 

--
david

On 2 déc, 13:42, david david.brill...@gmail.com wrote:
 Hi both,

 What is funny with the JQuery compatibility mode is that it breaks
 plugin, and standard JQuery code.
 What I propose is a different approach, suppress Jquery, and only use
 Prototype with GenevaJS, a port of jquery using prototype 
 athttp://genevajs.com/

 btw, it's not as simple.

 --
 david

 On 30 nov, 13:01, Rafal Zarajczyk rzarajc...@gmail.com wrote:

  As far as I know there is no such thing in prototype, but definitely
  it would be usefull sometimes! When I need a single method from
  Prototype in a jQuery-driven site (let's say I want to use unescapeHTML
  ()) I just copy-paste implementation... which is sometimes easy,
  sometimes hard.

  I'm looking forward to this feature!

  Rafał Zarajczyk

  Ps. The solution switch everything do Prototype is not always
  possible :-P

  On 24 Lis, 14:58, markojakic jakicmeis...@gmail.com wrote:

   I am working on some site, which has jquery support, but I added
   Prototype (autocomplete component with xml loading) and it's not
   working when JQuery is loaded.
   I know that JQuery has that support with JQuery.noconflict but it's
   hard to change ALL the .js files and ALL the $ functions.
   So, does Prototype have such support? I'd only need to change a little
   one .js file which handles with autocompleter.

   Regards

--

You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.




Re: [Proto-Scripty] Re: Prototype conflict solution

2009-12-02 Thread Rick Waldron
Wow, I'm flattered... I was beginning to think that GenevaJS amounted to
nothing more then a novelty :D


Keep in mind that GenevaJS is not 100% yet, but if you do use it and come
across broken or missing methods, you can certainly contribute

Rick





On Wed, Dec 2, 2009 at 7:43 AM, david david.brill...@gmail.com wrote:

 Sorry,

 Should read  ... GenevaJS, a port of jquery syntax using prototype at
 http://genevajs.com/ 

 --
 david

 On 2 déc, 13:42, david david.brill...@gmail.com wrote:
  Hi both,
 
  What is funny with the JQuery compatibility mode is that it breaks
  plugin, and standard JQuery code.
  What I propose is a different approach, suppress Jquery, and only use
  Prototype with GenevaJS, a port of jquery using prototype athttp://
 genevajs.com/
 
  btw, it's not as simple.
 
  --
  david
 
  On 30 nov, 13:01, Rafal Zarajczyk rzarajc...@gmail.com wrote:
 
   As far as I know there is no such thing in prototype, but definitely
   it would be usefull sometimes! When I need a single method from
   Prototype in a jQuery-driven site (let's say I want to use unescapeHTML
   ()) I just copy-paste implementation... which is sometimes easy,
   sometimes hard.
 
   I'm looking forward to this feature!
 
   Rafał Zarajczyk
 
   Ps. The solution switch everything do Prototype is not always
   possible :-P
 
   On 24 Lis, 14:58, markojakic jakicmeis...@gmail.com wrote:
 
I am working on some site, which has jquery support, but I added
Prototype (autocomplete component with xml loading) and it's not
working when JQuery is loaded.
I know that JQuery has that support with JQuery.noconflict but it's
hard to change ALL the .js files and ALL the $ functions.
So, does Prototype have such support? I'd only need to change a
 little
one .js file which handles with autocompleter.
 
Regards

 --

 You received this message because you are subscribed to the Google Groups
 Prototype  script.aculo.us group.
 To post to this group, send email to
 prototype-scriptacul...@googlegroups.com.
 To unsubscribe from this group, send email to
 prototype-scriptaculous+unsubscr...@googlegroups.comprototype-scriptaculous%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/prototype-scriptaculous?hl=en.




--

You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.




[Proto-Scripty] Trouble removing a select

2009-12-02 Thread srufle
I am not sure I may have found an issue.

On FF35
Does not work:
var dd = $('some_dropdown');
dd.remove(); - I end up in emptyFunction

Does work:
var dd = $('some_dropdown');
Element.remove(dd);

select id=some_dropdown style=width: 135px; name=some
option selected= value=VALValText/option
/select

BUT I was able to make the element.remove() calls on elements that
were not selects.

--

You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.




[Proto-Scripty] Prototype and opacity

2009-12-02 Thread Stefan Frede
Hi!

I've got a problem with the opacity setting in prototype. When I set an 
elements opacity through prototype every child element inherits this opacity 
setting and I didn't find a way to reset it. Here is my code how I tried it and 
how it is not working:

==

div class=parent
  div class=child
Lorem ipsum dolor...
  /div
/div

script type=text/javascript charset=utf-8
/* ![CDATA[ */
  $$('div.parent').first().setStyle({
backgroundColor: '#00',
opacity: 0.5
  });
  
  $$('div.child').first().setStyle({
backgroundColor: '#ff',
opacity: 1
  });
/* ]] */
/script

==

Can someone please help and tell me how I can reset the opacity of the child 
elements back to normal?

Thanks in advance.

Regards,
Stefan

--

You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.