[Proto-Scripty] Re: In a bind...

2008-11-04 Thread Alex Mcauley
you are resetting evt on the invoke ... try onSuccess:function(e) { $$('li.clickinc').invoke('observe','click',function(evt) { `e` bing the object to get the responseText from and `evt` being the element that was clicked } - Original Message - From: James Hoddinott

[Proto-Scripty] Re: Prototype.js has SSL errors on IE7*

2008-11-04 Thread Alex Mcauley
i am sure that everything inside the https page needs to be https linked including all images and all scripts - Original Message - From: [EMAIL PROTECTED] To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Tuesday, November 04, 2008 8:59 AM Subject:

[Proto-Scripty] Re: can I run 2 scripts?

2008-11-05 Thread Alex Mcauley
with 2 requests - Original Message - From: geoffcox [EMAIL PROTECTED] To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Wednesday, November 05, 2008 10:16 AM Subject: [Proto-Scripty] can I run 2 scripts? Hello I have the following code which works fine

[Proto-Scripty] Re: In a bind...

2008-11-05 Thread Alex Mcauley
can you re-post your full sourcecode for the funciton and the elements that it produces and the elements you want to observe .. i will edit it for you and put in some debugging for you Regards Alex Mcauley - Original Message - From: James Hoddinott [EMAIL PROTECTED] To: prototype

[Proto-Scripty] Re: In a bind...

2008-11-05 Thread Alex Mcauley
so only 60% resides in memory not 100% .. hope this helps - Original Message - From: James Hoddinott [EMAIL PROTECTED] To: prototype-scriptaculous@googlegroups.com Sent: Wednesday, November 05, 2008 12:05 PM Subject: [Proto-Scripty] Re: In a bind... 2008/11/5 Alex Mcauley [EMAIL

[Proto-Scripty] Re: In a bind...

2008-11-05 Thread Alex Mcauley
: Wednesday, November 05, 2008 2:46 PM Subject: [Proto-Scripty] Re: In a bind... 2008/11/5 Alex Mcauley [EMAIL PROTECTED]: I've made some comments and put in some debugging ... you should get an alert when you click an li now .. with the id .. So the function now looks like: Event.observe

[Proto-Scripty] Re: In a bind...

2008-11-05 Thread Alex Mcauley
); $('message').activate(); new PeriodicalExecuter(pollChat,3); Walter On Nov 5, 2008, at 10:58 AM, James Hoddinott wrote: 2008/11/5 Alex Mcauley [EMAIL PROTECTED]: does firebug report any error at all ... Not a thing. you could also try to evalJs in the options and put the invoke inside

[Proto-Scripty] Re: In a bind...

2008-11-05 Thread Alex Mcauley
have you tried onComplete() - Original Message - From: James Hoddinott [EMAIL PROTECTED] To: prototype-scriptaculous@googlegroups.com Sent: Wednesday, November 05, 2008 4:51 PM Subject: [Proto-Scripty] Re: In a bind... 2008/11/5 Alex Mcauley [EMAIL PROTECTED]: another thought

[Proto-Scripty] Re: In a bind...

2008-11-05 Thread Alex Mcauley
/11/5 Alex Mcauley [EMAIL PROTECTED]: another thought is that onSuccess isnt being fired ... Try to onSuccess: function(evt) { alert(evt.responseText); and see if it reposnds with some html or whatever your php script is echoing I tried that one :) By adding an alert() to the onSuccess

[Proto-Scripty] Re: In a bind...

2008-11-05 Thread Alex Mcauley
well spotted Kangax !! i didnt even see that - Original Message - From: kangax [EMAIL PROTECTED] To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Wednesday, November 05, 2008 8:35 PM Subject: [Proto-Scripty] Re: In a bind... On Nov 4, 11:37 am, James

[Proto-Scripty] Re: In a bind...

2008-11-06 Thread Alex Mcauley
Hope this helps .. please let me know how you got on Regards Alex From: James Hoddinott [EMAIL PROTECTED] To: prototype-scriptaculous@googlegroups.com Sent: Wednesday, November 05, 2008 3:58 PM Subject: [Proto-Scripty] Re: In a bind... 2008/11/5 Alex Mcauley [EMAIL PROTECTED]: does firebug

[Proto-Scripty] Re: Simple $( ) question

2008-11-06 Thread Alex Mcauley
You need to get the contents of the element as $('foo') is the element itself .. innerHTML or innerTEXT should work ... var total=$('foo').innerTEXT; alert(parseFloat(total)); - Original Message - From: Scott [EMAIL PROTECTED] To: Prototype script.aculo.us

[Proto-Scripty] Building a lazy loader

2008-11-06 Thread Alex Mcauley
Hi guys and gals ... today i am building a lazyLoader based on prototype Its already working except i assumed i could do a synchronous request so nothing further in the javascript function is executed untill the request has finished ... it seems that asynchronous : false; is not wokring

[Proto-Scripty] Re: Building a lazy Loader

2008-11-06 Thread Alex Mcauley
i want it to be transparent hence the syncronous request ... so the function that calls the dependencies waits to continue untill the scripts that it requires are loaded I have it inserting a script into the dom properly but if i try to call the function in the test script it doesnt work

[Proto-Scripty] Re: Setting a div to decay on page load?

2008-11-06 Thread Alex Mcauley
you can observe the window to load and set a timeout to execute Effect.Fade Regards Alex - Original Message - From: [EMAIL PROTECTED] To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Thursday, November 06, 2008 2:34 PM Subject: [Proto-Scripty] Setting a

[Proto-Scripty] Re: Building a lazy Loader

2008-11-06 Thread Alex Mcauley
the script tags to the header. [1] http://blog.niftysnippets.org/2008/03/horror-of-implicit-globals.html [2] http://ajaxian.com/archives/evaling-with-ies-windowexecscript FWIW HTH, -- T.J. Crowder tj / crowder software / com On Nov 6, 2:52 pm, Alex Mcauley [EMAIL PROTECTED] wrote: i want

[Proto-Scripty] Re: AJAX file upload using Prototype

2008-11-06 Thread Alex Mcauley
you cannot upload or download files with an XHR its impossible - Original Message - From: Uzm [EMAIL PROTECTED] To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Thursday, November 06, 2008 4:03 PM Subject: [Proto-Scripty] AJAX file upload using Prototype

[Proto-Scripty] Re: Building a lazy Loader

2008-11-06 Thread Alex Mcauley
i wanted to build my own for POC and because i dont want it bloated ... - Original Message - From: buda [EMAIL PROTECTED] To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Thursday, November 06, 2008 7:17 PM Subject: [Proto-Scripty] Re: Building a lazy Loader

[Proto-Scripty] Re: Building a lazy Loader

2008-11-06 Thread Alex Mcauley
for the contents of the file became dependent on the script tag and not the JS execution. On Nov 6, 11:50 am, Alex Mcauley [EMAIL PROTECTED] wrote: yes thanks for the reply, i have removed evalScripts, i only put it in for a second to test i am going to put in a timeout to pause the script before

[Proto-Scripty] Re: unable to evaluate javascript in Ajax.Request response

2008-11-07 Thread Alex Mcauley
Hi Jonathon .. You are giving the request the wrong parameter ... You dont need to set a header of text/javascript either evalJS : true, making your script new Ajax.Request('test.php', { evalJS: true, // - notice evalJS not evalScripts onSuccess: function(transport) {

[Proto-Scripty] Re: testing whether all elements in a div have a certain class

2008-11-07 Thread Alex Mcauley
okay i am trying to get this correct .. You want to see if a certain amount of spans in an element have a class name of 'complete' and if so do something else firstly you can easily count the amount with $$ var $complete=$$('.complete').length then you want to do something if they are more

[Proto-Scripty] Re: mootools fx.styles menu.... Trying to code it in Prototype and Script.aculo.us

2008-11-10 Thread Alex Mcauley
Its very simple to do, You can pretty much do it in CSS all except the little bit of opacity that it has [css]... .classname:hover { margin-right:15px; } - Original Message - From: mumbojumbo [EMAIL PROTECTED] To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com

[Proto-Scripty] Re: Need help with Effect.Appear

2008-11-10 Thread Alex Mcauley
click on CONTACT, the same thing happens, this time overlapping the previous page which was CONTENT. I managed to make individual instances of the Effect.Appear using Script.aculo.us, but my DIVs won't overlap. I tried fixing it with CSS z-index, but it's still messed up. On Nov 10, 8:04 pm, Alex

[Proto-Scripty] Re: Need help with Effect.Appear

2008-11-10 Thread Alex Mcauley
and change. In my case though, instead of sliding, I want mine to fade in and out. On 10 Nob, 22:07, Alex Mcauley [EMAIL PROTECTED] wrote: You may be better off loading the content with Ajax requests rather than all the content being in hidden elements in the page - Original Message

[Proto-Scripty] Re: Need help with Effect.Appear

2008-11-10 Thread Alex Mcauley
Cogent : firstly stay away from onload ... use the Event.observe(window,'load',function() { Your exeutable functiosn go in here }); Wrapper there are a couple of ways to achieve what you want .. You could set a timeout on a for loop counting each of the divs in a classname and

[Proto-Scripty] Re: Href inside sortable dragging instead of clicking intermittently, in IE7

2008-11-10 Thread Alex Mcauley
The bind's are bubbling up the DOM ... you need to look at Event.stop(event) to stop this happening - Original Message - From: Hippyjim Starbrook [EMAIL PROTECTED] To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Sunday, November 09, 2008 8:58 PM Subject:

[Proto-Scripty] Re: Scriptaculous Draggables on anchor tags only setting last declared as draggable.

2008-11-10 Thread Alex Mcauley
On Mon, Nov 10, 2008 at 12:31 PM, Alex Mcauley [EMAIL PROTECTED] wrote: can you pastebin your code or put it in the reply and tell us what browsers it works / not works in, then we can make an assesment to where the problem lies Thanks

[Proto-Scripty] Re: Right offset Of Element

2008-11-11 Thread Alex Mcauley
Its okay i fixed it myself ... i didnt realise that getStyle('right') did it !! - Original Message - From: Jeztah [EMAIL PROTECTED] To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Tuesday, November 11, 2008 6:28 PM Subject: [Proto-Scripty] Right offset Of

[Proto-Scripty] Re: How do I search for characters in order of input?

2008-11-11 Thread Alex Mcauley
just FYI i really would not use unsanitized $_POST data in the search, it can lead to SQL injection - Original Message - From: Walter Lee Davis [EMAIL PROTECTED] To: prototype-scriptaculous@googlegroups.com Sent: Tuesday, November 11, 2008 6:48 PM Subject: [Proto-Scripty] Re: How do I

[Proto-Scripty] Re: Need help with Effect.Appear

2008-11-11 Thread Alex Mcauley
Alex. On 11 Nob, 01:08, Alex Mcauley [EMAIL PROTECTED] wrote: That one uses the hidden divs and is really not a good idea for a few of reasons .. Firstly:- speed of page loading ... if all of your content is on the first page it will tak a long time to load all of it Secondly:- if the user

[Proto-Scripty] Re: Window System - WebOs / Web Desktop

2008-11-12 Thread Alex Mcauley
Thanks Chris .. This release only took me abut 12 hours to write !! Could you point out the stuff that needs cleaning up (aside the indentation!!) As for the liscence ... i know nting about liscencing ... i just want people to be able to use the code as they want to and modify it to suit

[Proto-Scripty] Re: Window System - WebOs / Web Desktop

2008-11-12 Thread Alex Mcauley
:09 PM, Alex Mcauley [EMAIL PROTECTED] wrote: Thanks Chris .. This release only took me abut 12 hours to write !! Could you point out the stuff that needs cleaning up (aside the indentation!!) As for the liscence ... i know nting about liscencing ... i just want people to be able to use

[Proto-Scripty] Re: Window System - WebOs / Web Desktop

2008-11-12 Thread Alex Mcauley
- Original Message - From: Chris Brody [EMAIL PROTECTED] To: prototype-scriptaculous@googlegroups.com Sent: Wednesday, November 12, 2008 4:58 PM Subject: [Proto-Scripty] Re: Window System - WebOs / Web Desktop On Wed, Nov 12, 2008 at 5:46 PM, Alex Mcauley [EMAIL PROTECTED] wrote: yes its

[Proto-Scripty] Re: Extending every Ajax.Request onSuccess event

2008-11-13 Thread Alex Mcauley
perhaps put your code up so someone can evaulate it and put forward a suggesiton ? - Original Message - From: matte [EMAIL PROTECTED] To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Thursday, November 13, 2008 9:30 AM Subject: [Proto-Scripty] Extending

[Proto-Scripty] Re: Window System - WebOs / Web Desktop

2008-11-13 Thread Alex Mcauley
area etc etc etc A few CSS changes to pretty up the application Demo available @ http://dev.thecvmarket.com/unitTest.php Regards Alex Mcauley - Original Message - From: Alex Mcauley [EMAIL PROTECTED] To: prototype-scriptaculous@googlegroups.com Sent: Wednesday, November 12, 2008 7:09 PM

[Proto-Scripty] Re: Window System - WebOs / Web Desktop

2008-11-13 Thread Alex Mcauley
at 10:39 AM, Alex Mcauley [EMAIL PROTECTED] wrote: A few bugs have been fixed and some new additions made including double clicking the title bar to maximize/minify the window, Z-indexes fixed to position windows accordingly when having multiple smaller windows open in the container, inner

[Proto-Scripty] Re: Window System - WebOs / Web Desktop

2008-11-13 Thread Alex Mcauley
Regards Alex - Original Message - From: Alex Mcauley [EMAIL PROTECTED] To: prototype-scriptaculous@googlegroups.com Sent: Thursday, November 13, 2008 10:24 AM Subject: [Proto-Scripty] Re: Window System - WebOs / Web Desktop that is strange for the safari ... i just tested it on my

[Proto-Scripty] Re: evalJSON hangs IE

2008-11-13 Thread Alex Mcauley
have you tried to remove the single quotes around the json string ? - Original Message - From: gingerbbm [EMAIL PROTECTED] To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Thursday, November 13, 2008 4:28 PM Subject: [Proto-Scripty] Re: evalJSON hangs IE

[Proto-Scripty] Re: Ajax.Responders

2008-11-14 Thread Alex Mcauley
here is a pastie of the test i ran in Firefox at least http://pastie.org/314776 Regards Alex - Original Message - From: T.J. Crowder [EMAIL PROTECTED] To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Friday, November 14, 2008 12:02 PM Subject:

[Proto-Scripty] Re: Ajax.Responders

2008-11-14 Thread Alex Mcauley
sorry my original code was wrong .. http://pastie.org/314784 The code above actually says 2 requests when there should only be 1 !!! Here is a better example i cant recreate the problem entirely as it needs a few periodical updaters to be going on in the background but when they

[Proto-Scripty] Re: Chrome, Object and each()

2008-11-14 Thread Alex Mcauley
each does an array itterator no ? - Original Message - From: laurin1 [EMAIL PROTECTED] To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Friday, November 14, 2008 8:29 PM Subject: [Proto-Scripty] Chrome, Object and each() Apparently, this does not work? I

[Proto-Scripty] Re: code works in chrome not ff and ie

2008-11-16 Thread Alex Mcauley
perhaps missing ; on the end of the statements ? - Original Message - From: Tarscher [EMAIL PROTECTED] To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Sunday, November 16, 2008 5:39 PM Subject: [Proto-Scripty] code works in chrome not ff and ie Hi all,

[Proto-Scripty] Re: code works in chrome not ff and ie

2008-11-16 Thread Alex Mcauley
archief'; } else { $('archive_function_link').innerHTML = 'Verberg archief' ; };) % but no succes On 16 nov, 19:22, Alex Mcauley [EMAIL PROTECTED] wrote: perhaps missing ; on the end of the statements ? - Original Message - From

[Proto-Scripty] Re: new AjaxRequest.....

2008-11-17 Thread Alex Mcauley
you can assign the request to a variable myRequest = new Ajax.Request(.. - Original Message - From: Manish [EMAIL PROTECTED] To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Monday, November 17, 2008 9:09 AM Subject: [Proto-Scripty] new

[Proto-Scripty] Re: Sending Json to the server

2008-11-17 Thread Alex Mcauley
basically i think i need a push method to push values into a json object then i can try to decode it on the server!! - Original Message - From: Jeztah [EMAIL PROTECTED] To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Monday, November 17, 2008 11:51 AM

[Proto-Scripty] Re: Sending Json to the server

2008-11-17 Thread Alex Mcauley
@googlegroups.com Sent: Monday, November 17, 2008 12:34 PM Subject: [Proto-Scripty] Re: Sending Json to the server hmm just out of the top of my head here, did you try using $H(form.serialiaze()) ? cheers -- mona [EMAIL PROTECTED] On Mon, Nov 17, 2008 at 1:13 PM, Alex Mcauley [EMAIL PROTECTED] wrote

[Proto-Scripty] Re: Sending Json to the server

2008-11-17 Thread Alex Mcauley
what about this: var params = {}; $$('.formJson').each(function(e) { params[$(e).dbCol] = $(e).value; } cheers -- mona [EMAIL PROTECTED] On Mon, Nov 17, 2008 at 1:43 PM, Alex Mcauley [EMAIL PROTECTED] wrote: cant use it as it needs to be custom as stipulated ... i need to get

[Proto-Scripty] Re: Sending Json to the server

2008-11-17 Thread Alex Mcauley
I suppose what i need is a push into my json object method ... though i cant seem to find a working one in prototypejs .. merge(); and update(); both seem to want to be used with $H() but it updates with my var ... Something like {l : doe} when it should be {surname : doe}; plus it doesnt

[Proto-Scripty] Re: Javascript error in IE6 for Effect.Highlight

2008-11-17 Thread Alex Mcauley
true / flase should usually be not in quotes ... try removing the quotes - Original Message - From: scripter [EMAIL PROTECTED] To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Monday, November 17, 2008 1:35 PM Subject: [Proto-Scripty] Javascript error in IE6

[Proto-Scripty] Re: Sending Json to the server

2008-11-17 Thread Alex Mcauley
).value; ...it's not at all clear that's not meant to be code. Not *good* code, but I've seen worse. ;-) Thanks, -- T.J. On Nov 17, 1:11 pm, Alex Mcauley [EMAIL PROTECTED] wrote: because i need to evaluate each one and i need to send other post data that does not need evaluating .. the other

[Proto-Scripty] Re: Sending Json to the server

2008-11-17 Thread Alex Mcauley
(and that includes avoiding shorthand). Thank you! Tobie On Nov 17, 3:33 pm, Alex Mcauley [EMAIL PROTECTED] wrote: okay m8 calm down lol its no biggie .. - Original Message - From: T.J. Crowder [EMAIL PROTECTED] To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent

[Proto-Scripty] Re: private methods/variables declaration

2008-11-17 Thread Alex Mcauley
on teh same ish subject, this cropped up on ajaxian today !!... might be worth a read http://ajaxian.com/archives/trying-to-be-private-in-javascript - Original Message - From: Mona Remlawi [EMAIL PROTECTED] To: prototype-scriptaculous@googlegroups.com Sent: Monday, November 17, 2008

[Proto-Scripty] Re: Passing variables after an onComplete

2008-11-18 Thread Alex Mcauley
should parameters not be wrapped like so parameters : { f: v; } - Original Message - From: James Hoddinott [EMAIL PROTECTED] To: prototype-scriptaculous@googlegroups.com Sent: Tuesday, November 18, 2008 12:56 PM Subject: [Proto-Scripty] Passing variables after an onComplete

[Proto-Scripty] Re: new AjaxRequest.....

2008-11-18 Thread Alex Mcauley
or this method !! ... but be warned if you have other request asynchrnously in the page then they will start to become synchronous due to this But if you dont then this will work too Regards Alex - Original Message - From: Matt Foster [EMAIL PROTECTED] To: Prototype script.aculo.us

[Proto-Scripty] Re: Passing variables after an onComplete

2008-11-18 Thread Alex Mcauley
messy but if it a'int broke dont fix it is my motto !! - Original Message - From: James Hoddinott [EMAIL PROTECTED] To: prototype-scriptaculous@googlegroups.com Sent: Tuesday, November 18, 2008 5:44 PM Subject: [Proto-Scripty] Re: Passing variables after an onComplete 2008/11/18 Matt

[Proto-Scripty] Re: Nulling or stopping Dynamic Variables

2008-11-19 Thread Alex Mcauley
As an added bonus totally unforseen by me, when removing the element that the object was initialized in - it seems to remove the object too ... i.e the Object was created in an ajax callback in an element .. once i applied $('div').remove(); to the element that created it then it seems to

[Proto-Scripty] Re: Modal window pop-up

2008-11-26 Thread Alex Mcauley
if you want to use the jquery one you can tell jquery to not conflict with prototype's namespace $jQuery=jQuery.noConflict(); then ... $jQuery('#some-id').someJqueryFunction() .. for jQuery methods and $('some-id').somProtoFunction() .. for prototype methods Regards Alex - Original

[Proto-Scripty] Re: prototype Light window close

2008-11-29 Thread Alex Mcauley
i am not familier with the light window but most haev a classname so best thing to do is find the classname for the parent container of the lightbox and do something like $$('.TheClassName').each(function(e) { $(e).remove(); }); Regards Alex - Original Message - From: pradeep [EMAIL

[Proto-Scripty] Re: Window Scrolling -- sortables.create() and scroll:window arg

2008-12-01 Thread Alex Mcauley
i cant see a question .. perhaps i am blind - it is monday afterall !! - Original Message - From: Marcus Richter [EMAIL PROTECTED] To: prototype-scriptaculous@googlegroups.com Sent: Sunday, November 30, 2008 3:12 PM Subject: [Proto-Scripty] Re: Window Scrolling -- sortables.create() and

[Proto-Scripty] Re: Is the new statement ever needed ?

2008-12-03 Thread Alex Mcauley
not everything is a class and needs initiating with new ... you should check what does need new and what doesn't .. some effects need to be initiated as objects as they are classes and some dont Regards Alex - Original Message - From: fero [EMAIL PROTECTED] To: Prototype

[Proto-Scripty] Re: Fade away problem (Newbie)

2008-12-15 Thread Alex Mcauley
Add a class to each div you want faded and remove the inline handler create a function that listens to click on the href's then do something like function handleFade(element) { $$('.the-class-name-for-the-faded-elements').each(function(e) { Effect.toggle(e,'fade'); // fades out

[Proto-Scripty] Re: scriptaculous draggable bug in ie7?

2008-12-15 Thread Alex Mcauley
perhaps it is trying to fire the default clicking for the href try to substitue the href for a span or somehting and see if it stops it ... if it does then you need to add an event.stop to stop the default behaviour of the href element Regards Alex - Original Message - From:

[Proto-Scripty] Re: Modal window pop-up

2008-12-18 Thread Alex Mcauley
thinking of a prototype solution and not necessarily the jQuery solution. But, in on the flip side i have the following: http://proto-scripty.wikidot.com/extras but i do agree, a tiny bit of research would have been more prudent. On Wed, Nov 26, 2008 at 9:43 AM, Alex Mcauley webmas

[Proto-Scripty] Re: Using Event.observe and checking for childNodes in a parent

2008-12-18 Thread Alex Mcauley
I would look at the observe in a different way ... by that i mean observe the element that you are hovering not the whole window this way the event will bubble up the DOM and can be stopped as bubbling goes up the document not down.. this is a quick and dirty tooltips script i wrote a

[Proto-Scripty] Re: new Ajax.request not working

2009-01-06 Thread Alex Mcauley
try unpacking the javascript below the function or adding the packed js above the function .. perhaps the interpreter is still unpacking or has not unpacked the js before the function is called ? - Original Message - From: debbie zef.andr...@gmail.com To: Prototype script.aculo.us

[Proto-Scripty] Re: Opera and $$('.wrapper .class') seems not to work correctly

2009-01-13 Thread Alex Mcauley
if its any help the same thing happens in google chrome !! - Original Message - From: Cyrus arianglan...@googlemail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Monday, January 12, 2009 5:27 PM Subject: [Proto-Scripty] Re: Opera and $$('.wrapper

[Proto-Scripty] Re: Stoping observing

2009-01-15 Thread Alex Mcauley
I scrapped the idea and made it dissapear after a certain time .. was to much a headache !! - Original Message - From: bflanagan flanag...@gsicommerce.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Thursday, January 15, 2009 2:38 PM Subject:

[Proto-Scripty] Re: Stoping observing

2009-01-15 Thread Alex Mcauley
Thanks TJ i didnt think about it like that, the second way would work ... its oky now as i just mke it fade away after 10 seonds or something Thanks again Alex - Original Message - From: T.J. Crowder t...@crowdersoftware.com To: Prototype script.aculo.us

[Proto-Scripty] Re: Best way to apply an effect on page load?

2009-01-15 Thread Alex Mcauley
if you want to work out whats currently selected you can add a click event to the tab headings and store the value in a hidden field somewhere .. then you can allways access it whenever you need to Regards ALex - Original Message - From: Matt guitarroman...@gmail.com To: Prototype

[Proto-Scripty] Re: Recommendable Prototype based widgets

2009-02-09 Thread Alex Mcauley
scripteka.com - Original Message - From: Joshua Partogi joshua.j...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Saturday, February 07, 2009 11:40 AM Subject: [Proto-Scripty] Recommendable Prototype based widgets Dear all, Can anyone

[Proto-Scripty] Re: Simple slideup/slidedown effect won't work

2009-02-09 Thread Alex Mcauley
its also possibly to do with the minimum height needed to slide stuff in and out ive noticed before that elements under about 50px in different browsers dont do whats required this is more than likely somehting to do with the default height used by the browser html renderer (think of

[Proto-Scripty] Re: Event.stop(event) FF Issue

2009-02-10 Thread Alex Mcauley
event.preventDefault(); or return false; - Original Message - From: cyrusdev08 cyrusde...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Tuesday, February 10, 2009 7:00 AM Subject: [Proto-Scripty] Event.stop(event) FF Issue Hello Every One

[Proto-Scripty] Re: Taboo Subject

2009-02-10 Thread Alex Mcauley
Thanks for the input ... i have coded many sites that work with and without and enhanced by JS ... the question i am asking is not how to achieve it but should we as developers be forcing the issue of making more interactive sites ... I am all for serverside code as thats where i began but its

[Proto-Scripty] Re: Possible prototype bug ?

2009-02-10 Thread Alex Mcauley
oops sorry my bad ... i posted the wrong function ... Here is the correct one $$('.cancel').each( function(element) { alert($(element).next()); // returns undefined ? alert($(element).next(0)); // returns undefined ? alert($(element).next(1)); // returns undefined ?

[Proto-Scripty] Re: Possible prototype bug ?

2009-02-10 Thread Alex Mcauley
i am not observing .. simply calling the alerts on each of $$('.classname').. Does that still take event as the first argument Thanks Alex - Original Message - From: Walter Lee Davis wa...@wdstudio.com To: prototype-scriptaculous@googlegroups.com Sent: Tuesday, February 10, 2009 4:39

[Proto-Scripty] Re: Possible prototype bug ?

2009-02-11 Thread Alex Mcauley
Thanks SWilk ... i saved myself the hassle and changed the classname it was looking for instead !! - Original Message - From: SWilk wilkola...@gmail.com To: prototype-scriptaculous@googlegroups.com Sent: Tuesday, February 10, 2009 5:24 PM Subject: [Proto-Scripty] Re: Possible prototype

[Proto-Scripty] Re: Taboo Subject

2009-02-11 Thread Alex Mcauley
a redirect. On Feb 10, 11:09 am, Alex Mcauley webmas...@thecarmarketplace.com wrote: Thanks for the input ... i have coded many sites that work with and without and enhanced by JS ... the question i am asking is not how to achieve it but should we as developers be forcing the issue of making

[Proto-Scripty] Re: AJAX

2009-02-11 Thread Alex Mcauley
use firefox and firebug and see whats getting posted in the console log .. it should hell you to understand if Javascript is sending the data or not - Original Message - From: Paul pauljeffer...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent:

[Proto-Scripty] Re: Centering

2009-02-13 Thread Alex Mcauley
because the body is not a dynamically added element !!! I want to add an element to the document dynamically and have it appear in the center of the screen no matter where the scroller is Thanks for the reply I sorted it Alex - Original Message - From: asterix m...@free.fr To:

[Proto-Scripty] Re: Using the same onclick with SlideUp and SlideDown

2009-02-17 Thread Alex Mcauley
Craig.. Why not try removing the onclick and adding it to an observer img id=foo / Event.observe(window,'load', function() { $('foo').observe('click',function() { /* please change foloowing for a tenary oprator if needs be !! */ if($(this).style.display!='none') {

[Proto-Scripty] Re: Selectively prevent onClick action ?

2009-02-20 Thread Alex Mcauley
look at Event.stop(event) ... that will stop it bubbling up the DOM but you need the event passed to the function HTH ALex - Original Message - From: Jason Frisvold xenopha...@gmail.com To: prototype-scriptaculous@googlegroups.com Sent: Friday, February 20, 2009 1:58 PM Subject:

[Proto-Scripty] Re: Conflict event noAvailable

2009-02-24 Thread Alex Mcauley
use jQuery.noConflict(); and it wont conflict HTH Alex - Original Message - From: David roca.da...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Tuesday, February 24, 2009 1:01 PM Subject: [Proto-Scripty] Re: Conflict event noAvailable

[Proto-Scripty] Re: $() work around for prototype

2009-02-26 Thread Alex Mcauley
when jQuery is loaded do $jq=jQuery.noConflict(); then $jq becomes jquery or just use jQuery() instead of $() - Original Message - From: T.J. Crowder t...@crowdersoftware.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Thursday, February 26, 2009 9:50

[Proto-Scripty] Re: Adding Scroll bars to list

2009-02-26 Thread Alex Mcauley
Firstly in your CSS you have float:centre There is no float:center as far as i know .. if there were it would be center --- american spelling i also cannot see any Javascript in there to help you with - Original Message - From: vanq69 jaed...@gmail.com To: Prototype

[Proto-Scripty] Re: $() work around for prototype

2009-02-26 Thread Alex Mcauley
it global safe. Oh well, I guess we're still in the Wild West era of JS coding... If I get feedback from them that is useful, I'll post it back to this list for posterity. Thanks, Boysenberry Payne On Feb 26, 2009, at 3:56 AM, Alex Mcauley wrote: when jQuery is loaded do $jq

[Proto-Scripty] Re: $() work around for prototype

2009-02-26 Thread Alex Mcauley
be my eventual solution. Right now, I have emailed some folks at Digg to see if they have a solution that doesn't require me to load prototype out of the natural order it comes in using our current build. --Boysenberry On Feb 26, 2009, at 9:05 AM, Alex Mcauley wrote: jQuery is globally

[Proto-Scripty] Re: Adding Scroll bars to list

2009-02-26 Thread Alex Mcauley
- this is what I am unsure of how to do. Hope this clears things up, thanks for the help so far :) On Feb 26, 1:18 pm, Alex Mcauley webmas...@thecarmarketplace.com wrote: Firstly in your CSS you have float:centre There is no float:center as far as i know .. if there were it would be center

[Proto-Scripty] Re: Ajax.Updater home-brew autocompletion timing issue

2009-03-02 Thread Alex Mcauley
Jonny .. i wrote this a few months back and forgot about it ... Its the basics you will need to achieve what you want to do Any questions please ask http://proto-scripty.wikidot.com/prototype:how-to-throttle-ajax-requests Regards Alex - Original Message - From: Alex Mcauley

[Proto-Scripty] Re: User triggered download with no page refresh.

2009-03-02 Thread Alex Mcauley
yes you can call from the iframe a function in the parent easily Or, you can read the iframe contents by traversing its DOM and looking for elements (inputs or things) just as easily as traversing the parent container HTH Alex - Original Message - From: zero

[Proto-Scripty] Re: IE7 Timers Memory Leaks?

2009-03-02 Thread Alex Mcauley
myTimeout=setTimeout(function(var,var2,var3,var4) { global x,y,z; alert('foo = bar'); },5000); whats wrong with that ? I dont think this leaks memory so why should any timeout leak memory Alex - Original Message - From: BearState wixelb...@yahoo.com To: Prototype script.aculo.us

[Proto-Scripty] Re: Ajax.Request and php global variable

2009-03-03 Thread Alex Mcauley
global how .. that doesnt really explain much If you mean globaly accessible to javascript then you need to do something like ?php $bar='bar'; echo(scriptfoo=$bar/script); ? scriptalert(foo);/script ... otherwise please be more specific Thanks Alex - Original Message -

[Proto-Scripty] Re: Ajax.Request and php global variable

2009-03-03 Thread Alex Mcauley
: 'Boing'}, onComplete: function(transport) { var data=transport.responseText;alert(data);} }); }); HTH Alex - Original Message - From: Alex Mcauley webmas...@thecarmarketplace.com To: prototype-scriptaculous@googlegroups.com Sent: Tuesday, March 03

[Proto-Scripty] Re: Ajax.Request and php global variable

2009-03-03 Thread Alex Mcauley
PM Subject: [Proto-Scripty] Re: Ajax.Request and php global variable Alex Mcauley wrote: global how .. that doesnt really explain much If you mean globaly accessible to javascript then you need to do something like ?php $bar='bar'; echo(scriptfoo=$bar/script); ? marioosh

[Proto-Scripty] Re: Ajax.Request and php global variable

2009-03-03 Thread Alex Mcauley
I am not sure that you can pass objects from php to javascript and back again ... You can pass javascript objects from php to javascript with serialization but i dont think php objects will pass correctly ... Perhaps there is a better way to do what you want, could you explain what you are

[Proto-Scripty] Re: Ajax.Request and php global variable

2009-03-03 Thread Alex Mcauley
I dont think sessions will cut it if he is trying to move around php objects async, process them and or add to them and return the same object ... - is all depends on what he is trying to do but for instance to set a session variable in PHP then retrieve that session variable later on in a

[Proto-Scripty] Re: Ajax.Request and php global variable

2009-03-03 Thread Alex Mcauley
Message - From: Szymon Wilkołazki wilkola...@gmail.com To: prototype-scriptaculous@googlegroups.com Sent: Tuesday, March 03, 2009 1:41 PM Subject: [Proto-Scripty] Re: Ajax.Request and php global variable Alex Mcauley pisze: Quoting does not allways matter when setting javascript vars

[Proto-Scripty] Re: Using Ajax.Responders onCreate to modify HTTP POST params

2009-03-03 Thread Alex Mcauley
you could addMethods the whole ajax class and add your own parameters .. see here : http://www.prototypejs.org/api/class/addMethods and add them at that point... This would be one solution Regards Alex - Original Message - From: Cameron McCloud cameron.mccl...@gmail.com To:

[Proto-Scripty] Re: passthrough of script-Tags

2009-03-04 Thread Alex Mcauley
you might want to try something like this ... var element='someElementId'; var req=new Ajax.Request('/'+url, { evalScripts: false, // -- notice false is not wrapped in quotes !! method: 'post', onSuccess : function(transport) {

[Proto-Scripty] Re: Creating Checked Radio buttons, not working in IE

2009-03-04 Thread Alex Mcauley
Yes walter is correct... As far as i know you cannot insert an element into another element if it does not exist in the DOM (as the element is still an object that resides in memory at the time) .. though i could be wrong - Original Message - From: Walter Lee Davis

[Proto-Scripty] Re: Processing Ajax.updater response before updating container

2009-03-06 Thread Alex Mcauley
is it php thats generating the reposnse .. If so you can just tell php to not output warnings .. example: ini_set('display_errors','0'); HTH Alex - Original Message - From: Richard Quadling rquadl...@googlemail.com To: prototype-scriptaculous@googlegroups.com Sent: Friday, March 06,

  1   2   3   4   5   >