[Proto-Scripty] Re: reference to undefined property responder[callback] .. looking for some clarification

2008-09-09 Thread T.J. Crowder

Hi,

If you google warning reference to undefined property (without the
quotes), you'll find several pages discussing this issue.  It relates
to Firefox's javascript.options.strict option, which sounds like a
good idea but apparently has issues.

HTH,
--
T.J. Crowder
tj / crowder software / com

On Sep 9, 8:16 am, Erwin [EMAIL PROTECTED] wrote:
 Hi guys,

 I wrote the following code :

 $$('ul#list_works  li.clicked').each( function(x)
 { x.removeClassName('clicked'); } );

 which seems to work fine, but I can see the follwoing error in the js
 console :

 Warning : reference to undefined property responder[callback]
 source file :http://localhost:3000/javascripts/prototype.js?1220608011
 Line : 1140

 what is the meaning of this warning ? cannot google any link to some
 clear explanation
 I am running version  1.6.0.1 of Prototype

 thanks for your lights

 Erwin
--~--~-~--~~~---~--~~
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-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~--~~~~--~~--~--~---



[Proto-Scripty] Re: Anyone else having Prototype problems on Google Chrome?

2008-09-09 Thread Sebastian

i am having the same problem (sometimes) and can not reproduce when
the
htmlelement is extended an when not. there is another bug filled for
chrome:
http://code.google.com/p/chromium/issues/detail?id=1058
...but the attached example works for me with chrome.

On 3 Sep., 23:08, kangax [EMAIL PROTECTED] wrote:
 On Sep 3, 2:00 pm, Aaron Shafovaloff [EMAIL PROTECTED] wrote:

  Anyone else having Prototype problems on GoogleChrome? My code works
  great on IE, Firefox, and Safari, butChromebreaks it.

  Uncaught TypeError: Cannot call method 'curry' of undefined

  For some reason some elements in the page are not Prototype-ified.
  This is happening inChromeonly for me.

 I'm investigating this at the moment.
 Here's a relevant 
 tickethttp://prototype.lighthouseapp.com/projects/8886-prototype/tickets/319Chromeseems
  to fail to extend HTMLElement.prototype in certain cases.
 So far those cases seem random.
 I'll see if I can find any other clues.

 P.S. Another reason to stop extending DOM prototypes

 --
 kangax
--~--~-~--~~~---~--~~
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-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~--~~~~--~~--~--~---



[Proto-Scripty] Re: more than one param for 'accept' in droppables api

2008-09-09 Thread ColinFine



On Sep 8, 10:12 am, elduderino [EMAIL PROTECTED] wrote:
 I need to set more than one class for the accept param in the
 droppables api.http://github.com/madrobby/scriptaculous/wikis/droppables
 says  you can 'Set accept to a string or an array of strings
 describing CSS classes' but i've tried all sorts:

  Droppables.add('droppable'+this.gameCount+ '_' + dropZoneCount, {
             accept: 'dragMe,'andMe'',

 Does not work.how do i do this?!

IIRC the documentation is slightly misleading - you can use a string
if there is only one class, but if you want multiple classes you must
use an array:


 accept: ['dragMe', 'andMe']

Colin

--~--~-~--~~~---~--~~
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-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~--~~~~--~~--~--~---



[Proto-Scripty] Re: Form.Element#setValue

2008-09-09 Thread ColinFine



On Sep 8, 10:27 pm, Justin Perkins [EMAIL PROTECTED] wrote:
 On Mon, Sep 8, 2008 at 3:35 PM, Alexey Bass [EMAIL PROTECTED] wrote:
  What I'm asking is that why this is not documented on Prototype site.

 Maybe it should be mentioned, but really Element#update is just using
 innerHTML to update the contents of a node, and since innerHTML cannot
 be used to update form elements, I've always thought it goes without
 saying that you use Element#update for most stuff except form
 controls.

But that restriction (on innerHTML) is not reliably documented, since
'innerHTML' itself is not part of any spec.

Colin

--~--~-~--~~~---~--~~
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-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~--~~~~--~~--~--~---



[Proto-Scripty] Re: Float sortable causes newline

2008-09-09 Thread Diodeus

Wrap each image in a DIV, them make the DIVs sortable.

On Sep 9, 10:00 am, David Sveningsson [EMAIL PROTECTED] wrote:
 Hi, I'm new with scriptaculous and I'm having some issues with sortable.
 What I have is some images with float:left divided into two groups which
 I want to allow the user to sort.

 The sorting works great except when I move an image last in any group
 which causes the image to appear below the others on a new row.

 A testcase can be found here:http://ruri.sidvind.com/static-20080909.html

 I can't really figure out what I am doing wrong so any ideas would be
 great. Thanks!
 --

 //*David Sveningsson [eXt]*

 Freelance coder | Game Development Studenthttp://sidvind.com

 Thou shalt make thy program's purpose and structure clear to thy fellow
 man by using the One True Brace Style, even if thou likest it not, for
 thy creativity is better used in solving problems than in creating
 beautiful new impediments to understanding.

  signature.asc
  1KViewDownload
--~--~-~--~~~---~--~~
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-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~--~~~~--~~--~--~---



[Proto-Scripty] Re: Float sortable causes newline

2008-09-09 Thread Diodeus

Did you put style='float:left' on your DIVs?

On Sep 9, 11:26 am, David Sveningsson [EMAIL PROTECTED] wrote:
 Diodeus skrev:

  Wrap each image in a DIV, them make the DIVs sortable.

 Thanks for your reply.

 I tried but the only difference is that the divs is placed below the row
 but over the previous content. That is the same as before but no new
 space is added between the images and the content below.



  On Sep 9, 10:00 am, David Sveningsson [EMAIL PROTECTED] wrote:
  Hi, I'm new with scriptaculous and I'm having some issues with sortable.
  What I have is some images with float:left divided into two groups which
  I want to allow the user to sort.

  The sorting works great except when I move an image last in any group
  which causes the image to appear below the others on a new row.

  A testcase can be found here:http://ruri.sidvind.com/static-20080909.html

  I can't really figure out what I am doing wrong so any ideas would be
  great. Thanks!
  --

  //*David Sveningsson [eXt]*

  Freelance coder | Game Development Studenthttp://sidvind.com

  Thou shalt make thy program's purpose and structure clear to thy fellow
  man by using the One True Brace Style, even if thou likest it not, for
  thy creativity is better used in solving problems than in creating
  beautiful new impediments to understanding.

   signature.asc
   1KViewDownloa

 --

 //*David Sveningsson [eXt]*

 Freelance coder | Game Development Studenthttp://sidvind.com

 Thou shalt make thy program's purpose and structure clear to thy fellow
 man by using the One True Brace Style, even if thou likest it not, for
 thy creativity is better used in solving problems than in creating
 beautiful new impediments to understanding.

  signature.asc
  1KViewDownload
--~--~-~--~~~---~--~~
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-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~--~~~~--~~--~--~---



[Proto-Scripty] How to display searched charaacters in autocomplete in Bold

2008-09-09 Thread Jack

Hi,
I'm using 1.8.4 latest scriptaculous library for autocomplete
functionality. Everything works Perfect!

 I would like to know if scriptaculous supports highligting the
returned results. When I type say a in the textbox, then the
scrollable options will appear with results which contains a. What I
need is that the returned results should display the searched
chanracter (in this case a) in bold throughout all the occurences
within resultset.

I'll appreciate if any one can help me acheiving this
functionality using scriptaculous.

Thanks in Advance!

--~--~-~--~~~---~--~~
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-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~--~~~~--~~--~--~---