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 FixComputerpProblemsS

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

2011-03-24 Thread Alex McAuley
Or make it "post" -- From: "John" Sent: Wednesday, March 23, 2011 6:15 PM To: "Prototype & script.aculo.us" Subject: [Proto-Scripty] help for a newbie with Ajax.PeriodicUpdater Hi I need an 'advert rotator' for a new site I'm working on, the i

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" Sent: Wednesday, March 23, 2011 6:15 PM To: "Prototype & script.aculo.us" Subject: [Proto-Scripty]

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" To: "Prototype & script.aculo.us" Sent: Sunday, Jan

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" To: "Prototype & script.aculo

Re: [Proto-Scripty] Re: Using Prototype

2010-07-07 Thread Alex McAuley
uery has lovely 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. Al

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 Qua

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" To: Sent: Thursday, July 01, 2010 4:04 PM Subject: [Pro

Re: [Proto-Scripty] Need an enhanced 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" To: Sent: Tuesday, June

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

2010-06-29 Thread Alex McAuley
c.options.parameters='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

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

2010-06-29 Thread Alex McAuley
a link 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" To: Sent: Tuesday, June 29, 20

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

2010-06-29 Thread Alex McAuley
I tackled a similar problem with checkboxes and a fixed height size div containing them... My list is 200+ checkboxes with labels and only 5 or so are displayed until you scroll perhaps somehting like this ? Alex Mcauley http://www.thevacancymarket.com - Original Message - From

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

2010-06-29 Thread Alex McAuley
All you needed to do was query the value of the select box each time the AutoCompleter was triggered - the psudeo code I provided does just that ;) Good luck Alex Mcauley http://www.thevacancymarket.com - Original Message - From: "maxarbos" To: "Prototype & scr

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: "m

Re: [Proto-Scripty] Adding an effect to AJAX'd data.

2010-06-08 Thread Alex McAuley
Why dont you pass the whole json object into a function and have the function do all the work - this way you can extract ID's.. Or why not use a classname and do it on each of those... Alex Mcauley http://www.thevacancymarket.com - Original Message - From: "Richard Quad

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

2010-05-12 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" To: "Prototype & script.aculo.

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" To: "Prototype & script.aculo.us" Sent: Monday, May 10, 2010 4:13 PM Subject: [Proto-Scripty] Re: readAttribute problem I can'

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" To: Sent: Monday, May 10, 2010 3:55 PM Subject: Re: [Proto-Scripty] Binding func

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" To: "Prototype &a

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 have id's with spaces in them.. Alex Mcauley http://www.thevacancymarket.com - Original Message - From: "Martin" 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 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" To: Sent: Sunday, April 04, 20

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" To: "Prototype & script.aculo.us" Sent: Sunday, April

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" To: "Prototype & script.aculo.us" Sent: Saturday, April 03, 2010 1:35 PM Subject: [Proto-Scripty] Re: Dragging between fixed and non-fixed Sortable

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" To: "Prototype & script.aculo.us" Sent: Friday, April 02, 2010 8:40 PM Subject: [Proto-Scripty] facebook

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] IE8

2010-02-13 Thread Alex McAuley
you dont need the quote before hand ... $('leftPane').style.height = '' + ((.99 *ah)-20 ) + 'px'; //<<

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] 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 To

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

2010-01-28 Thread Alex McAuley
Thats exactly what it does ... Reverse your thinking approach ... accept:'.only-this-class-name' Will reject anything that doesnt have the class name ... I.E Blah

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" To: "Prototype & script.aculo.us" Sent: W

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" To: "Prototype & script.aculo.us" Sent: Tuesday, January 12, 2010 6:26 AM Subject: [Proto-Scripty] P

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 HTH Alex Mcauley http://www.thevacancymarket.com - Original Message - From: "Hussein B" To: "Pr

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

2010-01-08 Thread Alex McAuley
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" To:

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: &quo

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

2010-01-06 Thread Alex McAuley
You can check the source code as the href's have a click handler and add a style to them or remove one ... find the line that handles it and add $(this).style=.... Alex Mcauley http://www.thevacancymarket.com - Original Message - From: julien Devouassoud To: prot

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: &q

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" To: "Prototype & script.aculo.us" Sent: Tuesday, January 05, 2010 3:17 PM Subject: [Proto-Scripty]

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" To: "Prototype & script.aculo.us" Sent: Monday, January 04, 2010 12:50 AM Subject: [Proto-Scripty] Wow, real

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] 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
ou 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.thevacancymarke

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" To: Sent: Thursday, December 31, 20

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
! Alex Mcauley http://www.thevacancymarket.com - Original Message - From: "Walter Lee Davis" To: 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 will be using > onError on the cli

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

2009-12-22 Thread Alex McAuley
posnseData=options.data; $('someElement').update(ResponseData); } Hope this helps... Alex Mcauley http://www.thevacancymarket.com - Original Message - From: "Al C" To: "Prototype & script.aculo.us" Sent: Tuesday, December 22, 2009 2:29 PM Subject: [

Re: [Proto-Scripty] sortable

2009-12-19 Thread Alex McAuley
Ta!! .. Been a while since i used Draggable Alex Mcauley http://www.thevacancymarket.com - Original Message - From: "Walter Lee Davis" To: Sent: Saturday, December 19, 2009 2:31 PM Subject: Re: [Proto-Scripty] sortable > Exactly right, except you don't need to pu

Re: [Proto-Scripty] sortable

2009-12-19 Thread Alex McAuley
in draggable there is a parameter "handle" witch if i recall correctly takes a classname... SO add a classname to each image of the same name ( ) In your draggable code new Draggable('containerDiv),{ handle:'.drag-me' // other options }); // untested but i dont s

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" To: "Prototype & script.aculo.us" Sent: Tuesday, December 15, 2009 8:57 PM Subject: [Proto-Scripty] Firefox's inline JS execu

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" To: Sent: Tuesday, December 15, 2009 8:26 PM Subject: RE: [Proto-Scripty] Issues selecting checkboxes in FF > Um,... I am pretty sure if you see that

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-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] 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-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." To: "Prototype & script.aculo.us" Sent: Saturday, December 12, 2009 2:24 AM

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: 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

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: To: "Prototype & script.aculo.us" Sent: Friday, Decem

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

2009-12-11 Thread Alex McAuley
in your ajax request file Printing Line '.$i.''); ob_flush(); flush(); sleep(1); // sleep 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)

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" To: Sent: Thursday, December 10, 2009 8:24 AM S

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" To: "Prototype & script.aculo.us" Sent: Thursday, D

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" To: Sent: Tuesday, December 08, 2009

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" To: Sent: Monday, December 07, 2009 1:21 PM Subject: Re: [Proto-S

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"

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&q

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" To: "Prototype

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 - Origin

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" To: "Prototype & script.aculo.us" Sent: Friday, December 04, 2009 9:34 AM Subject: [Proto-Scripty] Re: Using Ajax.Request to fetch an imag

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" To: "Prototype & script.aculo.us" Sent: Friday, December 04, 2009 7:09 AM Subject: [Proto-Scripty] Re: document.write() vs Element/appendChild() > BTW, what i

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 Alex Mcauley http://www.thevacancymarket.com - Original Message - From: "fma" To: "Prototype & script.aculo.us" Sent: Friday, December 04, 2009 6:59 AM Subject: [Proto-Scripty] Using

Re: [Proto-Scripty] Prototype and opacity

2009-12-03 Thread Alex McAuley
Alex Mcauley http://www.thevacancymarket.com - Original Message - From: "Stefan Frede" To: Sent: Wednesday, December 02, 2009 12:09 PM Subject: [Proto-Scripty] Prototype and opacity > Hi! > > I've got a problem with the opacity setting in prototype. When I se

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: To: "Prototype & script.aculo.us" Sent: Saturday, November 28, 2009 2:25 PM Subject:

Re: [Proto-Scripty] Re: Scriptaculous adds green color to upper-case fonts

2009-11-28 Thread Alex McAuley
Please stop bumping this post, it becoming very annoying. Alex Mcauley http://www.thevacancymarket.com - Original Message - From: "Kenny" To: "Prototype & script.aculo.us" Cc: Sent: Saturday, November 28, 2009 10:48 AM Subject: [Proto-Scripty] Re: Scriptacu

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"

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" To: Sent: Wednesday, November 25, 2009 12:02 AM Subject: Re: [Proto-Scripty] Safari complains of "unsafe" X-JSON > Google is my friend. Naturally, the next re

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

2009-11-24 Thread Alex McAuley
llect these requests Alex Mcauley http://www.thevacancymarket.com - Original Message - From: "david" To: "Prototype & script.aculo.us" Sent: Tuesday, November 24, 2009 11:54 AM Subject: [Proto-Scripty] Re: Sychronize many asynchronous Ajax.Request Yes your right

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" To: "Prototype & script.aculo.us" Sent: Tuesday, November 24, 2009 7:00 AM Subject: [Proto-Scripty] Re: element.attachEve

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

2009-11-24 Thread Alex McAuley
ry 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" To: "Prototype & script.aculo.us" Sent: Tuesday, November 24, 2009 7

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" To: "Prototype & scr

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" To: "Prototype & script.aculo.us" S

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" To: "Prototype & script.aculo.us" Sent: Friday, November 20, 2009

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

2009-11-23 Thread Alex McAuley
s complete ! Alex Mcauley http://www.thevacancymarket.com - Original Message - From: "Eric" To: "Prototype & script.aculo.us" Sent: Monday, November 23, 2009 2:30 PM Subject: [Proto-Scripty] Re: Sychronize many asynchronous Ajax.Request Hi, I'd launch all

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" To: "Prototype & script.aculo.us" Sent: Saturday, November 21, 2009 2:33 PM Subject: [Proto-Scripty] Re: Sych

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" To: "Prototype & script.aculo.us" Sent: Saturday, November 21, 2009

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

2009-11-19 Thread Alex McAuley
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" To: "Prototype & script.aculo.us" Sent: Thursday

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

2009-11-18 Thread Alex McAuley
1234 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.c

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

2009-11-18 Thread Alex McAuley
unction() { alert('I 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

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

[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: 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: 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" To: "Prototype & script.aculo.us" Sent: Monday, November 16, 2009 12:36 PM

[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: 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" To: "Prototype & script.aculo.us" Sent

[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" To: "Prototype & script.acul

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

2009-11-10 Thread Alex McAuley
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

[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 To

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

2009-11-10 Thread Alex McAuley
: you dont need 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" To: Sent: Tuesday, November 10, 2009 2:06 PM Subject: [Proto-Scripty] Re: PeriodicalExecute

[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" To: "Prototype & script.aculo.us" Sent: Tuesday, November 10, 2009 11:51 AM Subject: [Proto-Scripty] Re: ajax request

[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 -

[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" To: "Prototype & script.aculo.us" Sent: Tuesday, November 10, 2009 4:05 AM Subje

[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" To: "Prototype &a

[Proto-Scripty] Re: Some basic basic stuff

2009-11-08 Thread Alex McAuley
on() { $('firstname').hide(); }); }); //Then your html Simple as that HTH Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Eugene Hourany To: prototype-scriptaculous@googlegroups.com Sent: Monday, November 09, 2009 7:04 AM

[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 -

  1   2   3   4   5   6   7   >