Re: [Proto-Scripty] FixComputerpProblemsSite Surely Knows How to Fix Computer Problems!

2011-06-07 Thread Alex McAuley
die(); From: Fixcomputerproblems Site Sent: Tuesday, June 07, 2011 2:18 PM To: prototype-scriptaculous@googlegroups.com Subject: [Proto-Scripty] FixComputerpProblemsSite Surely Knows How to Fix Computer Problems! I was having problems with my laptop before. Good thing

Re: [Proto-Scripty] help for a newbie with Ajax.PeriodicUpdater

2011-03-24 Thread Alex McAuley
have you tried appending a random number to the end of the URL - it will bypass IE's cache and thus get pass the decay. HTH Alex -- From: John johndobso...@gmail.com Sent: Wednesday, March 23, 2011 6:15 PM To: Prototype script.aculo.us

Re: [Proto-Scripty] help for a newbie with Ajax.PeriodicUpdater

2011-03-24 Thread Alex McAuley
Or make it post -- From: John johndobso...@gmail.com Sent: Wednesday, March 23, 2011 6:15 PM To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Subject: [Proto-Scripty] help for a newbie with Ajax.PeriodicUpdater Hi I need

Re: [Proto-Scripty] Autocompleter, URL on different domain

2011-01-24 Thread Alex McAuley
It's cross domain browser restrictions. You either need to proxy it with a wrapper or look at some other cross browser workaround like JsonP HTH Alex Mcauley - Original Message - From: 2ge opensubtit...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous

Re: [Proto-Scripty] Re: Microsoft announced new useful plugins on JQuery - what about prototype?

2010-10-05 Thread Alex McAuley
I dont know whether to be happy or sad that Microsoft are adding things to jQuery... They have a tendancy to mess things up on a grand scale! Alex Mcauley http://www.thevacancymarket.com - Original Message - From: T.J. Crowder t...@crowdersoftware.com To: Prototype script.aculo.us

Re: [Proto-Scripty] Re: Using Prototype

2010-07-07 Thread Alex McAuley
chaining abilities making manipulation nice and straight forward. Most of the stuff I miss from prototype I hack around or just make do without. I am not in anyway saying one is better than the other for overall general usage - I just find jQuery alot faster to develop with. Alex Mcauley http

Re: [Proto-Scripty] Sorting some spans.

2010-07-02 Thread Alex McAuley
But richard... Font sizes and styles aside... the span with the largest amount of text will still be the widest and vice versa!!... ABCDEFG is still wider than ABCDE no matter the font size!! Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Richard Quadling

Re: [Proto-Scripty] Sorting some spans.

2010-07-01 Thread Alex McAuley
do this without javascript based on strlen of the text that sits in the span and sort() / usort() the array then loop it ... Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Richard Quadling rquadl...@gmail.com To: prototype-scriptaculous@googlegroups.com Sent

Re: [Proto-Scripty] Ajax.Autocompleter

2010-06-29 Thread Alex McAuley
you need to return the value in realt time ... for example in the auto completer 'the_select_box_value' : function () {return $('the-select-box-id').value()}, Hope this helps Alex Mcauley http://www.thevacancymarket.com - Original Message - From: maxarbos maxar...@yahoo.com

Re: [Proto-Scripty] Need an enhanced select type control.

2010-06-29 Thread Alex McAuley
of what it looks and feels like in a functional page. http://www.thevacancymarket.com/register-company Scroll down to Recruiting In Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Richard Quadling rquadl...@gmail.com To: prototype-scriptaculous@googlegroups.com

Re: [Proto-Scripty] Re: Ajax.Autocompleter

2010-06-29 Thread Alex McAuley
='sid='+obj.value+'select-box-value='blah; // change this alert('The value of sid is: ' + ac.options.parameters + '.'); document.searchForm.sterm.value=''; } Alex Mcauley http://www.thevacancymarket.com - Original Message - From: maxarbos maxar...@yahoo.com To: Prototype script.aculo.us

Re: [Proto-Scripty] Need an enhanced select type control.

2010-06-29 Thread Alex McAuley
Of course!!... You will have to port the jQuery into prototype but it shouldnt be that hard ... Let me know if you want an uncompressed version of it... Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Richard Quadling rquadl...@gmail.com To: prototype

Re: [Proto-Scripty] Re: how to pass array to .php script?

2010-05-13 Thread Alex McAuley
After trying many methods I found that sending it s json to php and using php to json_decode it is the best way of moving arrays accross languages, Alex Mcauley http://www.thevacancymarket.com - Original Message - From: T.J. Crowder t...@crowdersoftware.com To: Prototype

Re: [Proto-Scripty] Binding functions to $$ directly

2010-05-10 Thread Alex McAuley
Jquery also references this inside the function as the object / element clicked.. Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Walter Lee Davis wa...@wdstudio.com To: prototype-scriptaculous@googlegroups.com Sent: Monday, May 10, 2010 3:55 PM Subject: Re

Re: [Proto-Scripty] Re: readAttribute problem

2010-05-10 Thread Alex McAuley
what about innerText() || textContent(); ? Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Yaz yasm...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Monday, May 10, 2010 4:13 PM Subject: [Proto-Scripty] Re

Re: [Proto-Scripty] Re: Dragging between fixed and non-fixed Sortables (position offset bugs)

2010-04-05 Thread Alex McAuley
I think you have a Z-index problem if i am using the App correctly... Also draggables / droppables sometimes dont play nice in tables - this is in the docs!.. Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Jeff C car...@gmail.com To: prototype-scriptaculous

Re: [Proto-Scripty] Re: Dragging between fixed and non-fixed Sortables (position offset bugs)

2010-04-05 Thread Alex McAuley
Couple of other things that sometimes make browsers behave weirdly... A couple or more of your tables and tr have id's with spaces in them.. Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Martin mu.smartbri...@gmail.com To: Prototype script.aculo.us

Re: [Proto-Scripty] Re: Dragging between fixed and non-fixed Sortables (position offset bugs)

2010-04-05 Thread Alex McAuley
I also think its something to do with your fixed table - that allows you to scroll behind things .. I do believe if you change the layout the problem will go away.. Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Martin mu.smartbri...@gmail.com

Re: [Proto-Scripty] facebook leftcol links, how they work?

2010-04-04 Thread Alex McAuley
They do have on click events but they are delegated and not inline. Alex Mcauley http://www.thevacancymarket.com - Original Message - From: kuldeep kuldeep.rathor...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Friday, April 02, 2010 8:40

Re: [Proto-Scripty] Re: Dragging between fixed and non-fixed Sortables (position offset bugs)

2010-04-04 Thread Alex McAuley
cant even login dude.. Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Martin mu.smartbri...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Saturday, April 03, 2010 1:35 PM Subject: [Proto-Scripty] Re: Dragging between

Re: [Proto-Scripty] Re: Dragging between fixed and non-fixed Sortables (position offset bugs)

2010-04-04 Thread Alex McAuley
the link from your post (http://www.qasmartbr.nine.ch/unico/smartbridge/hr/indexgrp.php?action... ) doesnt work dude.. Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Martin mu.smartbri...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous

Re: [Proto-Scripty] IE8

2010-02-13 Thread Alex McAuley
you dont need the quote before hand ... $('leftPane').style.height = '' + ((.99 *ah)-20 ) + 'px'; //this is line 16 into $('leftPane').style.height = Math.round(( ( .99 * ah ) -20 )) + 'px'; //this is line 16 Alex Mcauley http://www.thevacancymarket.com - Original Message

Re: [Proto-Scripty] IE8

2010-02-13 Thread Alex McAuley
alert(ah); and try 0.99 instead of .99 Alex Mcauley http://www.thevacancymarket.com - Original Message - From: bill To: prototype-scriptaculous@googlegroups.com Sent: Saturday, February 13, 2010 1:32 PM Subject: Re: [Proto-Scripty] IE8 On 2/13/2010 8:05 AM, Alex McAuley

Re: [Proto-Scripty] SSL and Ajax.updater

2010-02-04 Thread Alex McAuley
anything relative to the page without a protocol inherits the protocol and the URL iirc ... To test .. use firebug and make an ajax request on the page and see what the url ends up as.. HTH Alex Mcauley http://www.thevacancymarket.com - Original Message - From: bill

Re: [Proto-Scripty] SSL and Ajax.updater

2010-02-04 Thread Alex McAuley
Open firebug, click the console tab and u see the URLS when the request is made!.. Alex Mcauley http://www.thevacancymarket.com - Original Message - From: bill To: prototype-scriptaculous@googlegroups.com Sent: Thursday, February 04, 2010 3:48 PM Subject: Re: [Proto-Scripty

Re: [Proto-Scripty] Re: Sortable: can I reject a drag?

2010-01-28 Thread Alex McAuley
? I don't see it... there's only but that only accepts a classname... is there no way to programmaticly dictate whether or not a container will accept a sort? On Jan 27, 1:26 pm, Alex McAuley webmas...@thecarmarketplace.com wrote: there is an accept flag you can set in the setup .. consult

Re: [Proto-Scripty] Sortable: can I reject a drag?

2010-01-27 Thread Alex McAuley
there is an accept flag you can set in the setup .. consult the documentation its in there somewhere.. Alex Mcauley http://www.thevacancymarket.com - Original Message - From: boson...@gmail.com instructi...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous

Re: [Proto-Scripty] Prototype and Galleria.js

2010-01-12 Thread Alex McAuley
try assigning jquery to a new variable.. $j=jQuery.noConflict(); Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Mike Santini dwarfthem...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Tuesday, January 12, 2010 6:26 AM

Re: [Proto-Scripty] Collecting checked checkboxes

2010-01-11 Thread Alex McAuley
I use something like this .. var array=new Array(); $$('.myClassName').each(function(e){ if(($e).checked==true) { array.push($(e).value); } }); where input type=checkbox class=myClassName value=I am checked / HTH Alex Mcauley http://www.thevacancymarket.com - Original Message

Re: [Proto-Scripty] Question on performance and SEO optimization regarding javascript to create elements

2010-01-08 Thread Alex McAuley
not load any html until something triggers it to - which increases load time and doesnt put an element somewhere that amy be displayed for browsers that dont use css or javascript. Alex Mcauley http://www.thevacancymarket.com - Original Message - From: kimbaudi kimba...@gmail.com

Re: [Proto-Scripty] Finding the first form item of any type within a div

2010-01-06 Thread Alex McAuley
$('mydiv').select('input','select')[0]; Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Tony Andrews tony.andrew...@googlemail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Tuesday, January 05, 2010 3:17 PM Subject: [Proto

Re: [Proto-Scripty] Re: prototype.js with jquery-1.3.2.min.js is not working.

2010-01-06 Thread Alex McAuley
You can also assign jquery to a different variable $j=jQuery.noConflict(); then you can use $j(#some-id).somejQueryFunction().css().html().next().chain and $ becomes unpolluted Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Mence olgaysa

Re: [Proto-Scripty] Re: How to highlight the current slide's number

2010-01-06 Thread Alex McAuley
If you have the element as an object then you can easily traverse anything surrounding it right up to document level... i'll take a look at the code in a while and see if i can come up with anything Alex Mcauley http://www.thevacancymarket.com - Original Message - From: MH

Re: [Proto-Scripty] Wow, really new at this

2010-01-04 Thread Alex McAuley
Can you show us the observer that calls submitAJAX(id) ? Alex Mcauley http://www.thevacancymarket.com - Original Message - From: E emiliano.jor...@templatecascade.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Monday, January 04, 2010 12:50 AM

Re: [Proto-Scripty] How can I observe elements with class=test_1, test_2, test_3 or first_test, second_test, third_test?

2009-12-31 Thread Alex McAuley
You can comma up your classes in the observer... $$('.test_1','.test_2','#some_id','.test_3').each(... }); HTH Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Frédéric f...@gbiloba.org To: prototype-scriptaculous@googlegroups.com Sent: Thursday, December 31

Re: [Proto-Scripty] How can I observe elements with class=test_1, test_2, test_3 or first_test, second_test, third_test?

2009-12-31 Thread Alex McAuley
to have 1000 listeners. For a start having 1000 click listeners on a page will eat memory on the client Secondly. If you have to have 1000 elements on a single page that require observers -I- would go back to thee drawing board and rethink my application. Alex Mcauley http://www.thevacancymarket.com

Re: [Proto-Scripty] How can I observe elements with class=test_1, test_2, test_3 or first_test, second_test, third_test?

2009-12-31 Thread Alex McAuley
you can regex in your class with [] There is documentation on how to do so on the prototype api website Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Paul Kim To: prototype-scriptaculous@googlegroups.com Sent: Thursday, December 31, 2009 11:49 AM

Re: [Proto-Scripty] error showing for prototype.js

2009-12-28 Thread Alex McAuley
I highly doubt it ... They probably require the 2 libs Alex Mcauley http://www.thevacancymarket.com - Original Message - From: julien Devouassoud To: prototype-scriptaculous@googlegroups.com Sent: Monday, December 28, 2009 11:08 AM Subject: Re: [Proto-Scripty] error showing

Re: [Proto-Scripty] Re: Ajax.Request

2009-12-22 Thread Alex McAuley
=options.data; $('someElement').update(ResponseData); } Hope this helps... Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Al C al.caug...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Tuesday, December 22, 2009 2:29 PM

Re: [Proto-Scripty] Re: Ajax.Request

2009-12-22 Thread Alex McAuley
! Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Walter Lee Davis wa...@wdstudio.com To: prototype-scriptaculous@googlegroups.com Sent: Tuesday, December 22, 2009 3:54 PM Subject: Re: [Proto-Scripty] Re: Ajax.Request This is an important thing to work on. If I know I

Re: [Proto-Scripty] sortable

2009-12-19 Thread Alex McAuley
}); // untested but i dont see why not Alex Mcauley http://www.thevacancymarket.com - Original Message - From: wonderpix wonder...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Saturday, December 19, 2009 1:17 AM Subject: [Proto-Scripty] sortable Hi

Re: [Proto-Scripty] Firefox's inline JS execution order

2009-12-16 Thread Alex McAuley
Why not attach the widget code to dom:ready Alex Mcauley http://www.thevacancymarket.com - Original Message - From: JoJo tokyot...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Tuesday, December 15, 2009 8:57 PM Subject: [Proto-Scripty

Re: [Proto-Scripty] Issues selecting checkboxes in FF

2009-12-15 Thread Alex McAuley
iirc $(element).checked==true; Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Rick.Wellman rick.well...@kiewit.com To: prototype-scriptaculous@googlegroups.com Sent: Tuesday, December 15, 2009 8:26 PM Subject: RE: [Proto-Scripty] Issues selecting checkboxes

Re: [Proto-Scripty] Uploading an image with Ajax.request

2009-12-13 Thread Alex McAuley
You cannot access binary data with javascript - it is server side only - Ergo you cannot upload files with Ajax style comms. Post to an Iframe to get round this or use flash uploaders (there are many) to interact directly to the client. Alex Mcauley http://www.thevacancymarket.com

Re: [Proto-Scripty] Re: Progressive update messages from single request

2009-12-13 Thread Alex McAuley
Joe. Certainly in winblows the output buffering may not work due to the modules and the way memory is managed in winblows differs to *nix. I have tested it on CentOs, Debian, BSD, HP UNIX,Solaris and it works fine but not tested it on Wamp... Alex Mcauley http://www.thevacancymarket.com

Re: [Proto-Scripty] Re: Autocompleter does not work in FireFox 3.5.5

2009-12-13 Thread Alex McAuley
Everyone seems to have missed a solid point on this ... The scripts are loded localhost:4402 and the server= localhost:8080 Thats an XDR as the ports differ ... Perhaps 3.5.5 has some different security protocol in place that wont allow it but earlier did Alex Mcauley http

Re: [Proto-Scripty] Re: Progressive update messages from single request

2009-12-12 Thread Alex McAuley
Joe. Are you using ob_gz_handler(); or mod_defalte / mod_gzip ? Also is it a winblows or *nix server Alex Mcauley http://www.thevacancymarket.com - Original Message - From: joe t. thooke...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent

Re: [Proto-Scripty] Re: Progressive update messages from single request

2009-12-11 Thread Alex McAuley
for one second } ? this will output a line every second for 10 seconds Hope this helps P.S if you use ob_gz_handler this may not work (untested using it) Alex Mcauley http://www.thevacancymarket.com - Original Message - From: joe t. thooke...@gmail.com To: Prototype script.aculo.us

Re: [Proto-Scripty] Re: File output

2009-12-11 Thread Alex McAuley
Ajax cannot process a file download in the same way it cannot process a file upload... You have to output the link and make the user click it Alex Mcauley http://www.thevacancymarket.com - Original Message - From: speedpac...@gmail.com To: Prototype script.aculo.us prototype

Re: [Proto-Scripty] Re: File output

2009-12-11 Thread Alex McAuley
I'm not often wrong but i am right this time !!! Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Brian Williams To: prototype-scriptaculous@googlegroups.com Sent: Friday, December 11, 2009 2:52 PM Subject: Re: [Proto-Scripty] Re: File output you

Re: [Proto-Scripty] Re: File output

2009-12-11 Thread Alex McAuley
Not always m8 but thanks for the confidence! Alex Mcauley http://www.thevacancymarket.com - Original Message - From: bill To: prototype-scriptaculous@googlegroups.com Sent: Friday, December 11, 2009 9:38 PM Subject: Re: [Proto-Scripty] Re: File output speedpac

Re: [Proto-Scripty] Re: Progressive update messages from single request

2009-12-10 Thread Alex McAuley
I noticed you were using PHP on the server side ... you can also use output buffering to achieve this in one request Alex Mcauley http://www.thevacancymarket.com - Original Message - From: T.J. Crowder t...@crowdersoftware.com To: Prototype script.aculo.us prototype-scriptaculous

Re: [Proto-Scripty] Re: Check a mouse button

2009-12-10 Thread Alex McAuley
and memory to setup observers ad hoc.. What exactly are you trying to acheive - perhaps one of us can point you in the right direction... Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Frédéric f...@gbiloba.org To: prototype-scriptaculous@googlegroups.com Sent

Re: [Proto-Scripty] Check a mouse button

2009-12-08 Thread Alex McAuley
...observe('mousemove',function(e) { $('SomeElement').observe('click',function() { doSomethingWIthyourClick(); }); }); Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Frédéric f...@gbiloba.org To: prototype-scriptaculous@googlegroups.com Sent: Tuesday

Re: [Proto-Scripty] Custom signal

2009-12-07 Thread Alex McAuley
use Json to put the args in ... emit: function(options) { options.arguments.each(function( } emit({arguments : [ a1:Arg1,a2:Arg2,a3:Arg3]}); Alex Mcauley http://www.thevacancymarket.com - Original Message - From: fma f...@gbiloba.org To: Prototype script.aculo.us prototype

Re: [Proto-Scripty] Re: Custom signal

2009-12-07 Thread Alex McAuley
the global variable arguments will give u an array of arguments... https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Function/arguments Alex Mcauley http://www.thevacancymarket.com - Original Message - From: fma f...@gbiloba.org To: Prototype

Re: [Proto-Scripty] Re: document.write() vs Element/appendChild()

2009-12-07 Thread Alex McAuley
There is a known bug in IE8 regarding new Element and adding the class toit in the scope... To overcome it simply use addClassName('My-Class'); after or instead of the scope Alex Mcauley http://www.thevacancymarket.com - Original Message - From: ColinFine colin.f...@pace.com

Re: [Proto-Scripty] Re: Custom signal

2009-12-07 Thread Alex McAuley
arguments is global... consider this ... function foo('one','two','three') { alert(arguments[0]); // one alert(arguments[1]); // two alert(arguments[2]); // three } Alex Mcauley http://www.thevacancymarket.com - Original Message - From: fma f...@gbiloba.org To: Prototype

Re: [Proto-Scripty] Re: document.write() vs Element/appendChild()

2009-12-07 Thread Alex McAuley
No problem ... it got me in a pickle too till i googled a bit... then had to go change every function in an application! Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Frédéric f...@gbiloba.org To: prototype-scriptaculous@googlegroups.com Sent: Monday, December

Re: [Proto-Scripty] Using Ajax.Request to fetch an image

2009-12-04 Thread Alex McAuley
You cant .. simply fetch HTML and have the image in the html with css or img / Alex Mcauley http://www.thevacancymarket.com - Original Message - From: fma f...@gbiloba.org To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Friday, December 04, 2009 6:59 AM

Re: [Proto-Scripty] Re: document.write() vs Element/appendChild()

2009-12-04 Thread Alex McAuley
There isn't one Alex Mcauley http://www.thevacancymarket.com - Original Message - From: fma f...@gbiloba.org To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Friday, December 04, 2009 7:09 AM Subject: [Proto-Scripty] Re: document.write() vs Element

Re: [Proto-Scripty] Re: Using Ajax.Request to fetch an image

2009-12-04 Thread Alex McAuley
I can see alot of security issues with that! Alex Mcauley http://www.thevacancymarket.com - Original Message - From: fma f...@gbiloba.org To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Friday, December 04, 2009 9:34 AM Subject: [Proto-Scripty] Re: Using

Re: [Proto-Scripty] Queueing actions

2009-11-28 Thread Alex McAuley
the effects all have a property called onFinish : Just queue things that way if you dont want to get complicated Alex Mcauley http://www.thevacancymarket.com - Original Message - From: speedpac...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent

Re: [Proto-Scripty] Re: Sychronize many asynchronous Ajax.Request

2009-11-27 Thread Alex McAuley
I'll dig out the testbed that i made for it as it was a long time ago now that i did it and i cant remeber if i wrapped it in a periodicalupdater or an AjaxPeriodicalUpdater... Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Eric lefauv...@gmail.com

Re: [Proto-Scripty] Re: Sychronize many asynchronous Ajax.Request

2009-11-24 Thread Alex McAuley
of the client's browser what happens if they are on an iPhone or somehting with not alot of memory ? Alex Mcauley http://www.thevacancymarket.com - Original Message - From: david david.brill...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent

Re: [Proto-Scripty] Re: element.attachEvent is not a function error in Prototype with Low Pro

2009-11-24 Thread Alex McAuley
Evidently not else it wouldn't be conflicting ! Alex Mcauley http://www.thevacancymarket.com - Original Message - From: david david.brill...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Tuesday, November 24, 2009 7:00 AM Subject: [Proto-Scripty

Re: [Proto-Scripty] Re: Sychronize many asynchronous Ajax.Request

2009-11-24 Thread Alex McAuley
these requests Alex Mcauley http://www.thevacancymarket.com - Original Message - From: david david.brill...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Tuesday, November 24, 2009 11:54 AM Subject: [Proto-Scripty] Re: Sychronize many asynchronous

Re: [Proto-Scripty] Safari complains of unsafe X-JSON

2009-11-24 Thread Alex McAuley
Ouch ! Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Walter Lee Davis wa...@wdstudio.com To: prototype-scriptaculous@googlegroups.com Sent: Wednesday, November 25, 2009 12:02 AM Subject: Re: [Proto-Scripty] Safari complains of unsafe X-JSON Google is my

Re: [Proto-Scripty] Asynchronous : false in IE gives problem

2009-11-23 Thread Alex McAuley
Does IE throw an error at all ... Possibly its somehting in your code pastebin your code so we can check it out Alex Mcauley http://www.thevacancymarket.com - Original Message - From: dip joyofkolk...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous

Re: [Proto-Scripty] Re: Sychronize many asynchronous Ajax.Request

2009-11-23 Thread Alex McAuley
It would polute the variable and seriously eat RAM to save every result response in an array, i would highly recommend staying away from it.. Alex Mcauley http://www.thevacancymarket.com - Original Message - From: david david.brill...@gmail.com To: Prototype script.aculo.us prototype

Re: [Proto-Scripty] element.attachEvent is not a function error in Prototype with Low Pro

2009-11-23 Thread Alex McAuley
Its probably conflicting with each other ... I use Jquery and Prototype together in alot of apps and i get the same error unless i tell jQuery to not conflict Alex Mcauley http://www.thevacancymarket.com - Original Message - From: darth darthd...@gmail.com To: Prototype

Re: [Proto-Scripty] Sychronize many asynchronous Ajax.Request

2009-11-21 Thread Alex McAuley
Ask it to check a variable that is set as ready by all the others .. or make it defer and be synchronous .. Alex Mcauley http://www.thevacancymarket.com - Original Message - From: maalek maaa...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent

Re: [Proto-Scripty] Re: Sychronize many asynchronous Ajax.Request

2009-11-21 Thread Alex McAuley
You need to set variables in the objects/ requests and check them Alex Mcauley http://www.thevacancymarket.com - Original Message - From: maalek maaa...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Saturday, November 21, 2009 2:33 PM Subject

Re: [Proto-Scripty] Limit number of draggables allowed in a droppable

2009-11-19 Thread Alex McAuley
of dropped elemenets in it and ondrop also check that hidden value and not let it drop if its more than 1 Both will work HTH Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Jason Whitmer jwhit...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous

Re: [Proto-Scripty] Re: instanting and reinstanting a function: Ajax.PeriodicalUpdater

2009-11-18 Thread Alex McAuley
myInstance=new Ajax.PeriodicalUpdater( TO check it ... If(myInstace) { do some code here } Alex Mcauley http://www.thevacancymarket.com - Original Message - From: bill To: prototype-scriptaculous@googlegroups.com Sent: Wednesday, November 18, 2009 11:11 AM Subject

Re: [Proto-Scripty] Maybe OT: passing a function name to a function

2009-11-18 Thread Alex McAuley
Got called'); } HTH Alex Mcauley http://www.thevacancymarket.com - Original Message - From: bill To: prototype-scriptaculous@googlegroups.com Sent: Wednesday, November 18, 2009 2:20 PM Subject: [Proto-Scripty] Maybe OT: passing a function name to a function I suspect

Re: [Proto-Scripty] Maybe OT: passing a function name to a function

2009-11-18 Thread Alex McAuley
then evals mySecondFunction(); Not using eval EVER i cant remember if you need to add () or not... but its a quick trial and error fix!! HTH Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Alex McAuley To: prototype-scriptaculous@googlegroups.com Sent

[Proto-Scripty] Re: instanting and reinstanting a function: Ajax.PeriodicalUpdater

2009-11-17 Thread Alex McAuley
No need to worry about multiple instances ... just check the variable before you initialise it... Alex Mcauley http://www.thevacancymarket.com - Original Message - From: bill To: prototype-scriptaculous@googlegroups.com Sent: Tuesday, November 17, 2009 3:18 PM Subject: [Proto

[Proto-Scripty] Re: instanting and reinstanting a function: Ajax.PeriodicalUpdater

2009-11-16 Thread Alex McAuley
Bill. You can assign the periodical to a variable and call stop on it if you wish .. EG. var myperiodical=new Ajax.Periodical.. myperiodical.stop(); // stops it ... All this is defined but IMO unclear in the documentation HTH Alex Mcauley http://www.thevacancymarket.com

[Proto-Scripty] Re: Ajax.Updater: alter retrieved content

2009-11-16 Thread Alex McAuley
You would have to modify the source as it does not push the object into the onComplete callback... Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Lox laurent.dincl...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Monday

[Proto-Scripty] Re: Working Demo?

2009-11-16 Thread Alex McAuley
You do know these projects are done for free dont you? I am sorry to point out that your comments are a little demanding against an open source project .. It takes minutes to setup your own demo so i would advise you experiment and see if it works for you. Alex Mcauley http

[Proto-Scripty] Re: beforeunload event help

2009-11-14 Thread Alex McAuley
The reason that it doubles up on firefox is because you call it twice .. to fix... if(!confirm('')) { Event.stop(evt); } Alex Mcauley http://www.thevacancymarket.com - Original Message - From: BillSaysThis bstgro...@gmail.com To: Prototype script.aculo.us prototype

[Proto-Scripty] Re: loop effects?

2009-11-14 Thread Alex McAuley
All the effects have an afterFinish property - so you could just functionise the effect and call itself again after finish .. Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Hugo Nieto hugofabian...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous

[Proto-Scripty] Re: Stupid me cannot make Ajax.Request work

2009-11-10 Thread Alex McAuley
Ajax.Request will not follow XDR You have to make the request on the same domain and port else you will have to use a wrapper on the server side to go off domain Alex Mcauley http://www.thevacancymarket.com - Original Message - From: FourBrane men...@mentalware.com To: Prototype

[Proto-Scripty] Re: ajax request

2009-11-10 Thread Alex McAuley
Could be the web server ... Alot of web servers have a max number of paralell requests per user Alex Mcauley http://www.thevacancymarket.com - Original Message - From: ziva znibers...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Tuesday

[Proto-Scripty] Re: PeriodicalExecuter that doesn't stack

2009-11-10 Thread Alex McAuley
I wasn't aware that PeriodicalExecuter did call a URL... Ajax.PeriodicalUpdater does... If you want to just call a request every X seconds and change things just use PeriodicalExecutor or simply setTimeout Alex Mcauley http://www.thevacancymarket.com - Original Message - From

[Proto-Scripty] Re: ajax request

2009-11-10 Thread Alex McAuley
And identical (almost) answers !! - how bizarre!!! Alex Mcauley http://www.thevacancymarket.com - Original Message - From: T.J. Crowder t...@crowdersoftware.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Tuesday, November 10, 2009 11:51 AM Subject

[Proto-Scripty] Re: PeriodicalExecuter that doesn't stack

2009-11-10 Thread Alex McAuley
to worry about it if you are usig periodical executor and opposed to updater Alex Mcauley http://www.thevacancymarket.com - Original Message - From: William Taylor willi...@rebelfactions.com To: prototype-scriptaculous@googlegroups.com Sent: Tuesday, November 10, 2009 2:06 PM Subject

[Proto-Scripty] Re: PeriodicalExecuter that doesn't stack

2009-11-10 Thread Alex McAuley
To stop the stacking just use asynchronous flag and set it to false... Though it does go against the AJAX it will work... Perhaps you can get around the decay/frequency with somehting else Alex Mcauley http://www.thevacancymarket.com - Original Message - From: William Taylor

[Proto-Scripty] Re: PeriodicalExecuter that doesn't stack

2009-11-10 Thread Alex McAuley
on in the page at any one time. HTH Alex Mcauley http://www.thevacancymarket.com - Original Message - From: William Taylor To: prototype-scriptaculous@googlegroups.com Sent: Tuesday, November 10, 2009 4:01 PM Subject: [Proto-Scripty] Re: PeriodicalExecuter that doesn't stack

[Proto-Scripty] Re: Some basic basic stuff

2009-11-08 Thread Alex McAuley
(); }); }); //Then your html input type=submit id=TheElementToHideObserver value=Hide First Name / hr / input type=text name=firstname id=firstname / Simple as that HTH Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Eugene Hourany To: prototype

[Proto-Scripty] Re: Ajax.Request not sending request to server in IE8, but processing continues with stale/cached response

2009-11-07 Thread Alex McAuley
IE and a couple of other browsers cache get requests... If you want to fix it either use TJ's suggestion or use post and not get Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Brad Whitaker To: prototype-scriptaculous@googlegroups.com Sent: Friday

[Proto-Scripty] Re: Mouseenter mouseleave aren't working correctly under FF.

2009-11-07 Thread Alex McAuley
Its more than likely the findElement() that isnt working as the console.log without using it works fine... What about somehting like this... var el=event.element(event); $(el).addClassName('doesntwork'); Alex Mcauley http://www.thevacancymarket.com - Original Message - From: indigo

[Proto-Scripty] Re: Ajax.Request with JSON response

2009-10-31 Thread Alex McAuley
If its Json then the alert would be... alert(jsonObj.success); HTH Alex Mcauley http://www.thevacancymarket.com - Original Message - From: mjhaston mjhas...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Friday, October 30, 2009 1:21 PM Subject

[Proto-Scripty] Re: how do you emulate what rjs does in rails with form.request?

2009-10-30 Thread Alex McAuley
Split the response or make it a JSON response and loop it or... evalScripts:true and have the serverside do the updating Alex Mcauley http://www.thevacancymarket.com - Original Message - From: patrick patrick99...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous

[Proto-Scripty] Event....

2009-10-29 Thread Alex Mcauley
Is there a way to spoof the window event ... Basically i have script where the core relies on event being passed to it to work some stuff out but in one particular script i cant pass the event object because it goes to a server side script then back again... is it possible to spoof it - or even

[Proto-Scripty] Re: Event....

2009-10-29 Thread Alex McAuley
Sorry - disregard The function before the one called (the callee) has an event so i just did window.lastEvent=event instead so i can now access it Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Alex Mcauley webmas...@thecarmarketplace.com To: Prototype

[Proto-Scripty] Re: Forms

2009-10-29 Thread Alex McAuley
because it gets values from anything (selects that can have multiples aswell) ... Where as value on a multiple select would not.!! Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Russell Keith russell.ke...@aacreditunion.org To: prototype-scriptaculous

[Proto-Scripty] Re: resource information - navigation menu

2009-10-27 Thread Alex McAuley
before so i thought i would have a crack at it... It took about 15 minutes to write so it isn't all that complicated - if you need any explination please ask. HTH Alex Mcauley http://www.thevacancymarket.com - Original Message - From: MEM tal...@gmail.com To: prototype-scriptaculous

[Proto-Scripty] Re: resource information - navigation menu

2009-10-27 Thread Alex McAuley
Sorry Marcio i am not sure i understand fully what you need ... Do you have an example from a site that maybe you have seen somewhere that i can visualise on? Alex Mcauley http://www.thevacancymarket.com - Original Message - From: MEM tal...@gmail.com To: prototype-scriptaculous

  1   2   3   4   5   >