[Proto-Scripty] Re: Newbee question : Compatibility with javascript 1.5

2009-07-31 Thread Christophe Decaux
That's right, it's device app dev. The device is a Cisco DMP 4300 series Does anyone knows what are the minimum browser requirements to run Prototype and Scriptaculous Christophe Le 30 juil. 09 à 22:40, Rick Waldron a écrit : That sounds like fun... i like device app development. Can you tell

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Andrew Dodd
Hi Thanks for the help, I tried the above in a clean page but I can't get it to work, the code as I've implemented it is here: script src='http://pastie.org/566433.js'/script Can you see where I've gone wrong (it's almost definately my fault) :) Cheers Andy On Jul 30, 11:03 am, Alex McAuley

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Alex McAuley
Andy you completely disregarded the onclick notes i gave you and mangled the script. http://pastie.org/566455 That works completely fine... all you ahev to do is remve the script src=/resources/includes/client/shrunkpse.js type=text/javascript/script Block and put in your paths to

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Andrew Dodd
Sorry, forgot to mention I was an idiot :) Thanks very much it works brilliantly On Jul 31, 10:39 am, Alex McAuley webmas...@thecarmarketplace.com wrote: Andy you completely disregarded the onclick notes i gave you and mangled the script. http://pastie.org/566455 That works completely

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Alex McAuley
You;re more than welcome That will give you he basis on how to do this kinda stuff without onclick! Anything else just let me/the group know Regards Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Andrew Dodd a...@slicethepie.com To: Prototype

[Proto-Scripty] Re: Using a prototype function in dynamic content.

2009-07-31 Thread T.J. Crowder
Hi, You're using the evalScripts option in your ajax call? Can you produce a small, self-contained example[1]? [1] http://proto-scripty.wikidot.com/self-contained-test-page -- T.J. :-) On Jul 31, 1:22 am, Drum csteph2...@gmail.com wrote: P.S. I tried with both delete eds[id];  and eds[id] =

[Proto-Scripty] Autocomplete bug on Vista

2009-07-31 Thread Phpdeveloper
I am using script.aculo.us 1.8 Prototype 1.6 RC_3. I got the bug with autocomplete on vista, the autocomplete popup and shifted couple of pixel left. but when i remove dragdrop.js then works fine.But I needed dragdrop.js, for dragdrop. take a look onto www.indianelement.com

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Andrew Dodd
I do have another question. The list of elements is loaded with ajax, I think it is properly formed for your script to work but it's here in case you want to check: http://pastie.org/566516 I think I need to run your script after each AJAX reload of the data but I'm not sure how to achieve

[Proto-Scripty] Re: Eventchain click and drag

2009-07-31 Thread ferion
Seems like i got the annoying (or the dumb) problems. Does never anybody dealt with the Problem aof an Eventchain? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this

[Proto-Scripty] Re: Eventchain click and drag

2009-07-31 Thread Alex McAuley
What was the original question ? Alex Mcauley http://www.thevacancymarket.com - Original Message - From: ferion fer...@gmx.de To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Friday, July 31, 2009 12:35 PM Subject: [Proto-Scripty] Re: Eventchain click and

[Proto-Scripty] W3C Access-Control with AJAX

2009-07-31 Thread mmacia
I'm trying to make cross domain AJAX calls using this specification (http://www.w3.org/TR/cors/) and works well with Firefox and Webkit browsers using directly the XMLHttpRequest object. When I do the same using prototype Ajax object, fails. The browser sends two requests to server using OPTION

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Andrew Dodd
I've replaced the script with the new one but I'm struggling with the syntax for including the initMorphing function. My AJAX request is posted here: http://pastie.org/566545 I've put the function where I think it should go but I'm not sure if it's right, could you confirm? Cheers Andy On Jul

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Alex McAuley
I would replace all of your code with the Ajax.Updater... http://pastie.org/566564 I have put most of it into the pastie above You will want to check it and replace your code with it if you are happy. Regards Alex Mcauley http://www.thevacancymarket.com - Original Message -

[Proto-Scripty] Re: Newbee question : Compatibility with javascript 1.5

2009-07-31 Thread T.J. Crowder
Hi, There are the documented supported browsers: http://prototypejs.org/download Using Prototype script.aculo.us in earlier browsers will not be _supported_, but whether it'll work is more a fuzzy gray than black or white -- e.g., it will vary dramatically by feature. I expect that the $()

[Proto-Scripty] Re: Newbee question : Compatibility with javascript 1.5

2009-07-31 Thread Christophe Decaux
TJ, Thanks for spending time to compile all this stuff. Looking forward to enjoy working with old browsers ;-) Just to realize how much time flies. Christophe Le 31 juil. 09 à 14:16, T.J. Crowder a écrit : Hi, There are the documented supported browsers: http://prototypejs.org/download

[Proto-Scripty] Re: Eventchain click and drag

2009-07-31 Thread ferion
I want to bind two events on one object. One of them ist the Drag Event provided by the Draggable Object The other ist a click event simply attached by Event.observe Problem is, the IE ignores the click Event and fires everytime the Drag event. Qestion: How do i convince the IE to fire a click

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Andrew Dodd
Wicked. I've edited it and think it's ok. the params are being passed as null though. Here is your revised ajaxFunction as I've implemented it: http://pastie.org/566649 But the response I get back is: Notice: Undefined index: Melody in includes\functions\trackQuery.php on line 5 Notice:

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Alex McAuley
its not Request=null its request=null as the object is assigned to request at var request=new Ajax You should pastebin your whole page it is being called on so i can see why the elements are null ... they are taken direct from your code and $() is merely a shortcut for

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Andrew Dodd
Wicked. I've edited it and think it's ok. the params are being passed as null though. Here is your revised ajaxFunction as I've implemented it: http://pastie.org/566649 But the response I get back is: Notice: Undefined index: Melody in includes\functions\trackQuery.php on line 5 Notice:

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Andrew Dodd
The values are taken from a few diferrent places but Melody, Rating, Production and Commerciality are taken from Scriptaculous sliders (so just a hidden input value) The code from the page is: input type='hidden' id='Melody' value=\ . $MELODY_VAL . \/ input type='hidden' id='Rating' value=\ .

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Alex McAuley
Sorry ANdy Adjust the code form params : {} to parameters Typo - My mistake. Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Andrew Dodd a...@slicethepie.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Friday, July 31,

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Alex McAuley
In that i mean Change params to parameters ... incase that made no sense!! Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Alex McAuley webmas...@thecarmarketplace.com To: prototype-scriptaculous@googlegroups.com Sent: Friday, July 31, 2009 3:08 PM Subject:

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Andrew Dodd
No need to apologise, you're already being far more helpful than I ever thought possible, I'm even learning stuff :) The request is working now but sadly the morph effect isn't. I've posted all the relevant stuff below: Including the initMorph function: script src=?php echo

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Alex McAuley
You have the PHP echoing out class=morphable instead of class=morphable .. try changing that and it may work. Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Andrew Dodd a...@slicethepie.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Andrew Dodd
Changed tr class=$class id=\$row[TrackID]\ to tr class=\$class\ id=\$row[TrackID]\ but it still doesn't morph On Jul 31, 4:11 pm, Alex McAuley webmas...@thecarmarketplace.com wrote: You have the PHP echoing out class=morphable instead of class=morphable .. try changing that and it may work.

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Alex McAuley
I'll consult the docs on morph to see if its compatible with TR's Some effects are and some are not. Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Andrew Dodd a...@slicethepie.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent:

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Andrew Dodd
Sorry, it's initMorphing(); (my turn for a typo) and that highlights the row but the previous selction doesn't turn off. Cheers Andy On Jul 31, 4:19 pm, Andrew Dodd a...@slicethepie.com wrote: Changed tr class=$class id=\$row[TrackID]\ to tr class=\$class\ id=\$row[TrackID]\ but it still

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Alex McAuley
Onlick is bad ... Is it now in the Event.observe(window wrapper? Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Andrew Dodd a...@slicethepie.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Friday, July 31, 2009 4:28 PM

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Andrew Dodd
I think it is because when I was using it with onClick it did highlight the row. On Jul 31, 4:26 pm, Alex McAuley webmas...@thecarmarketplace.com wrote: I'll consult the docs on morph to see if its compatible with TR's Some effects are and some are not. Alex

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Alex McAuley
http://pastie.org/566774 you have a line ... $(elem).morph('oddrow');Which will not work as oddrow is not a style. Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Andrew Dodd a...@slicethepie.com To: Prototype script.aculo.us

[Proto-Scripty] Re: Escaping Input

2009-07-31 Thread infringer
This method works well in FF 3.5, but FF 3.0.12 doesn't like it... I really would like to keep the from coming in a separate variable, but realize I may have to change that. 3.0.12's POST (truncated) just for info: %7Bstartdate%3A%202009-04-23%2C%20 3.5's POST (truncated):

[Proto-Scripty] Re: Escaping Input

2009-07-31 Thread Alex McAuley
You should always remove slashes from Json in php Example below.. ?php $post=str_replace('\', '', $_POST['post']); $json=$post; $d=json_decode($json,true); // now $d is an array made fromt the Json with name/value pairs if needs be ? I had a similar problem with a PHP app i developed

[Proto-Scripty] Re: Escaping Input

2009-07-31 Thread Alex McAuley
Sorry - Just tucked into my first beer ... not remove slashes ... Santitize the $_POST My mistake. Alex Mcauley http://www.thevacancymarket.com - Original Message - From: infringer infrin...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: