[Proto-Scripty] Problem (propably logical one) with dynamic fadein / fadeout for a navigation menu

2008-12-16 Thread Chris
Hi, I got a little problem with prototype/scriptacolous effects. I have an unordered list (Navigation element) that I want to apply an effect on. If you hover over one of the images, all other images should fade out. The effect itself works fine, but the problem is, that after I hover on another

[Proto-Scripty] Re: Problem (propably logical one) with dynamic fadein / fadeout for a navigation menu

2008-12-17 Thread Chris
Hi Diodeus, that wont work for me, because i am runing the function just once. This adds the event listeners to all of the images. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To

[Proto-Scripty] Re: Problem (propably logical one) with dynamic fadein / fadeout for a navigation menu

2008-12-18 Thread Chris
Hi, thanks for your hints, I managed to get it right that way. The code is a bit different from yours, because I dont want multiple effects to overlap. I also added a short timeout, so the effects have enough time to finish. If someone is running into similiar problems, here is the full code

[Proto-Scripty] Re: Is there a obfuscator that works particularly well with Script.aculo.us?

2009-04-09 Thread Chris
. Greetings from Germany, Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from

[Proto-Scripty] Re: Help with linking events withing Class instances

2009-04-09 Thread Chris
Hi, Todd, I think you should use Prototypes Event.Observe feature insted the element.onclick you use at the moment (http://prototypejs.org/api/ event). Greetings from Germany, Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed

[Proto-Scripty] Need ideas for a form-changed observer.

2009-04-23 Thread Chris
Hi all, I want to add some sort of Saving-Reminder to forms on my page. The process would be roughly the following: 1. I fill out a form element (Input or Textarea, doesnt really matter) 2. I click on a link that takes me away of the form (lets say from forms.html to index.html) 3. The

[Proto-Scripty] Re: Need ideas for a form-changed observer.

2009-04-23 Thread Chris
Hi Mona, Form.Observer [http://prototypejs.org/api/timedObserver/form-observer] nice, didnt know that Prototype has this function. After working more than 1 year with this library, there are always new and exciting things. Thank you prototype-devs for that :)

[Proto-Scripty] Re: scrollto with margin-top?

2009-05-22 Thread Chris
in the scriptaculous wiki: Effect.ScrollTo('id_of_element', 175); Hope this helps Greetings from Germany Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email

[Proto-Scripty] Re: Error in prototype js

2009-05-22 Thread Chris
on the same website. I never tried it out for myself. Greetings from Germany, Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous

[Proto-Scripty] Re: scrollto with margin-top?

2009-05-22 Thread Chris
Addition: The syntax must be in form of Effect.ScrollTo('id_of_element', { offset: 175 }); Greetings from Germany Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post

[Proto-Scripty] Re: how to set focus after using an effect?

2009-05-26 Thread Chris
), but Prototype and script.aculo.us seems to be written a bit more professional. Both books are worth the money, however. Greetings from Germany, Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype

[Proto-Scripty] Re: Controlling speed of scrolling

2009-05-27 Thread Chris
Hi Ed, the function uses Timeouts to scroll the contents of your container (this is what var x is). I think you should only need to set x = setTimeout(scrollMe(),40) The second argument (40) is the time in ms I think. Greetings from Germany, Chris

[Proto-Scripty] Need help for performantly creating tooltips

2009-07-21 Thread Chris
/, to save some more bandswidth. Thanks in advance, Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com

[Proto-Scripty] Re: Delete php

2009-07-21 Thread Chris
) { return realId.replace(prefix, ''); } Hope I understood right and could help you. Greetings from Germany, Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send

[Proto-Scripty] Re: Delete php

2009-07-21 Thread Chris
Ah, forgot: Call it in your function with the_id_i_want_to_use = getId(elm.id, 'Item_'); Greetings from Germany, Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post

[Proto-Scripty] Re: Need help for performantly creating tooltips

2009-07-21 Thread Chris
Well, at all I thought I would get some help and not taunts for my english (I am not a native speaker, but I think it should be clear what I mean). Greetings from Germany, Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed

[Proto-Scripty] Re: Need help for performantly creating tooltips

2009-07-22 Thread Chris
features make heavy use of prototype and including a second js-lib is not an option. Greetings from Germany, Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group

[Proto-Scripty] Re: Need help for performantly creating tooltips

2009-07-22 Thread Chris
Hi Chris, At the risk of stating the bleedin' obvious - and maybe there's a good reason why you can't do this - have you thought about simply sing title attributes for the elements? In most, if not all, modern browsers, they produce tooltips when the element is rolled over. There are some

[Proto-Scripty] Re: Need help for performantly creating tooltips

2009-07-22 Thread Chris
/mouseleave. Am I right here? Greetings from Germany, Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous

[Proto-Scripty] Re: Need help for performantly creating tooltips

2009-07-23 Thread Chris
Hi all! @Trevan: Thank you for this information, I am going to look if I need to tweak that function or if I leave it alone. @Matt: As stated in my mail from 22 Jul., 12:07, this is no option for us. I am well aware that the title-Attribute exists, but cannot use it for the reasons I stated in

[Proto-Scripty] Re: Prototype UI Carousel

2009-12-29 Thread Chris
Hi, as stated in the official documentation, there is a method you can use, see http://docs.prototype-ui.com/rc0/Carousel?anchor=UI.Carousel.scrollTo (should be something like yourcarouselinstance.scrollTo(2) for the second container). Hope this helps. Greetings from Germany, Chris On 23 Dez

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

2008-11-12 Thread Chris Brody
scriptaculous? I think this would give your project much wider usage. Thanks, Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous

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

2008-11-12 Thread Chris Brody
On Wed, Nov 12, 2008 at 5:46 PM, Alex Mcauley [EMAIL PROTECTED] wrote: yes its untested in IE6 and will not be supported i dont think for demo purposes i aggree it maybe should open smaller MIT liscence it is then !! Cool! I took a quick look at the source. My one suggestion right now is:

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

2008-11-12 Thread Chris Brody
the start menu it should go away. When you release the source code, properly stated license is important to some people. GPL is highly viral, while MIT is extremely friendly for commercial use. On Wed, Nov 12, 2008 at 5:09 PM, Alex Mcauley [EMAIL PROTECTED] wrote: Thanks Chris .. This release only

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

2008-11-13 Thread Chris Brody
Regards Alex - 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

[Proto-Scripty] Namespacing/Loading module

2008-12-17 Thread Chris Wash
a codebase of any size or hope to reuse things properly without it. Any thoughts? Thanks, Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email

[Proto-Scripty] Re: Namespacing/Loading module

2008-12-18 Thread Chris Wash
I found Package on www.scripteka.com See http://code.google.com/p/kproto/ On Dec 17, 11:40 am, Chris Wash chris.w...@gmail.com wrote: Has anyone implemented a namespacing and importing module the likes of YUI's Namespace/Loader or Dojo's declare/provide/require? Please don't tell me one

[Proto-Scripty] Re: Sorting on a JSON array

2008-12-18 Thread Chris Wash
You're not seeing this work? Looks like it works as you expect, at least when looking at it with Firebug: testSortBy : function () { var RS = [ {id: 1, dateFrom: 20090101, dateTo: 20090309, tariff: [

[Proto-Scripty] Protosafe??

2009-01-15 Thread Chris John
Hi, I have been trying to find a way of making prototype play nicely with mootools. There seems to be a perfect solution in protosafe, but all the links to it seem to have gone dead. Does anybody know where I can get it, have a copy they can send me or know of any alternatives. Cheers Chris

[Proto-Scripty] My first post and an Ajax problem

2009-02-19 Thread Chris Sansom
of the function was broken. Thanks again - I can press on now. -- Cheers... Chris Highway 57 Web Development -- http://highway57.co.uk/ Only two things are infinite, the universe and stupidity - and I'm not sure about the former. -- Albert Einstein

[Proto-Scripty] Another Prototype error?

2009-02-19 Thread Chris Sansom
of what I'm doing - should I be concerned about this or just go on ignoring it as I have been? :-) -- Cheers... Chris Highway 57 Web Development -- http://highway57.co.uk/ It's better to have something to remember than nothing to regret -- Frank Zappa

[Proto-Scripty] Another Prototype error?

2009-02-19 Thread Chris Sansom
to try and keep a closer eye on it! -- Cheers... Chris Highway 57 Web Development -- http://highway57.co.uk/ Star Wars won't work. -- Frank Zappa --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype

[Proto-Scripty] Another Prototype error?

2009-02-19 Thread Chris Sansom
the Ajax request again or something - a good thing it doesn't actually! And the reason I hadn't been noticing it straight away is that when I view the source my eyes are looking at the source window, so I don't notice the error in the main window until I look back there. -- Cheers... Chris Highway

[Proto-Scripty] Re: Modal Dialog question...

2009-03-06 Thread Chris Sansom
this to a colleague' link on the right (try emailing it to yourself). Is this what you mean? -- Cheers... Chris Highway 57 Web Development -- http://highway57.co.uk/ A professor is one who talks in someone else's sleep. -- W.H. Auden --~--~-~--~~~---~--~~ You

[Proto-Scripty] Re: AJAX filtering data - best approach?

2009-03-18 Thread Chris Sansom
the parameters, then use those to build the WHERE clause in your PHP script. -- Cheers... Chris Highway 57 Web Development -- http://highway57.co.uk/ Despite the high cost of living, it remains very popular. --~--~-~--~~~---~--~~ You received this message because you

[Proto-Scripty] AJAX filtering data - best approach?

2009-03-18 Thread Chris Sansom
). -- Cheers... Chris Highway 57 Web Development -- http://highway57.co.uk/ Who needs horror movies when we have Microsoft? -- Christine Comaford, PC Week --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype

[Proto-Scripty] Re: Prototype causes function with array/for...each to stop working

2009-03-23 Thread Chris Sansom
'; }); -- Cheers... Chris Highway 57 Web Development -- http://highway57.co.uk/ Star Wars won't work. -- Frank Zappa --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group

[Proto-Scripty] Stopping submit event

2009-03-23 Thread Chris Sansom
At 06:41 -0700 23/3/09, T.J. Crowder wrote: function venFormhandler(event) { event.stop(); /* ...do your ajaxy goodness... */ } That's the one! I was trying to be too complicated. Thank you. -- Cheers... Chris Highway 57 Web Development -- http://highway57.co.uk/ A censor

[Proto-Scripty] Re: Prototype Radio Box Question

2009-03-30 Thread Chris Sansom
this call, I'm not sure how you register the callback. Someone else will have to advise on the detail, but you might be able to do something with: $$('input.rbEncryption').each (function... -- Cheers... Chris Highway 57 Web Development -- http://highway57.co.uk/ Everything Is More Difficult Than

[Proto-Scripty] Re: SyntaxError: unterminated string literal

2009-05-21 Thread Chris Sansom
you want, I believe you'd have to escape the backslash in turn: $H({s:'\\'}).toJSON() I hope that's right! -- Cheers... Chris Highway 57 Web Development -- http://highway57.co.uk/ Why do you necessarily have to be wrong just because a few million people think you are? -- Frank Zappa

[Proto-Scripty] Re: Trouble getting started with Prototype

2009-05-29 Thread Chris Sansom
. Anyone have any tips or suggestions? Er, yes. The file is 'prototype.js', not 'javascriptPrototype.js', so try: SCRIPT type=text/javascript src=prototype.js / ...unless, for some reason, you've renamed the file which of course you're perfectly at liberty to do... -- Cheers... Chris Highway

[Proto-Scripty] Trouble getting started with Prototype

2009-05-29 Thread Chris Sansom
, rather than in response to some user action, I've no idea. -- Cheers... Chris Highway 57 Web Development -- http://highway57.co.uk/ The lead car is absolutely unique, except for the one behind it which is identical. -- Murray Walker --~--~-~--~~~---~--~~ You

[Proto-Scripty] Trouble getting started with Prototype

2009-05-29 Thread Chris Sansom
At 10:01 -0400 29/5/09, Mitchell McCulloch wrote: Ah! I didn't look too closely at that I guess, whoops. Indeed that should solve the problem for Chris. No problem for me - at least, not /that/ problem. :-) I was the one who suggested he had the filename wrong when he didn't. The original

[Proto-Scripty] Doctypes

2009-06-16 Thread Chris Sansom
doctype if I can help it! -- Cheers... Chris Highway 57 Web Development -- http://highway57.co.uk/ Nobody looks good bent over. Especially to pick up a cheque. -- Frank Zappa --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[Proto-Scripty] Need help for performantly creating tooltips

2009-07-22 Thread Chris Sansom
At 22:35 +0100 21/7/09, Alex McAuley wrote: I love semantical arguments !! Especially if you can pass them to a function. -- Cheers... Chris Highway 57 Web Development -- http://highway57.co.uk/ I'm on a seafood diet - I see food, I eat it. -- Dolly Parton

[Proto-Scripty] Need help for performantly creating tooltips

2009-07-22 Thread Chris Sansom
At 15:25 -0700 21/7/09, Chris wrote: If I have about 60 tooltips on page (that could load another subset of elements, that maybe have tooltips too), I would have about 120 listeners (each tooltip needs at least a mouseover and one mouseout, right?). Is it the right way to just add two listeners

[Proto-Scripty] POSTing a form via AJAX

2009-08-22 Thread Chris Sansom
);' is in the wrong place and should be outside the 'new Ajax.Updater(...)', either before or after, but not inside. It's when it hits that line that it's looking for the extra }. -- Cheers... Chris Highway 57 Web Development -- http://highway57.co.uk/ If we don't succeed, we run the risk of failure

[Proto-Scripty] POSTing a form via AJAX

2009-08-22 Thread Chris Sansom
you need a ');' at the end of the whole thing. And btw, shouldn't mail/process_message.php be in quotes? -- Cheers... Chris Highway 57 Web Development -- http://highway57.co.uk/ There is no reason anyone would want a computer in their home. -- Ken Olson Founder of DEC, 1977

[Proto-Scripty] Re: Ajax.Updater hitting wrong server?

2009-09-10 Thread Chris Snyder
be reading though. Can someone give me a shove in the right direction? Thanks, Chris On 9/10/09, T.J. Crowder t...@crowdersoftware.com wrote: Hi, All relative URLs within a page (including ones in JavaScript Ajax calls) are resolved relative to the document's URL, not the script file's URL. So

[Proto-Scripty] Dynamic test after ajax call

2009-09-19 Thread Chris Sansom
pretty well. -- Cheers... Chris Highway 57 Web Development -- http://highway57.co.uk/ Heaven would be a place where bullshit existed only on television. -- Frank Zappa --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[Proto-Scripty] subscribing to event with element name starting with a certain text string

2009-09-28 Thread Chris Sansom
At 11:08 +0100 28/9/09, Alex McAuley wrote: I am sure that its a regex in the name= bit so a regilar expression something like (0-9Aa-Zz) would do it In that case, surely just (\w)? -- Cheers... Chris Highway 57 Web Development -- http://highway57.co.uk/ Anything played wrong twice in a row

[Proto-Scripty] Re: How to fire a custom/synthetic Control key + mouse scroll wheel movement event?

2009-10-01 Thread Chris Sansom
this, the entire /screen/ zooms in and out, regardless of what software is currently active. -- Cheers... Chris Highway 57 Web Development -- http://highway57.co.uk/ Old professors never die; they just lose their faculties. --~--~-~--~~~---~--~~ You received this message

[Proto-Scripty] .Observe, .stopObserving and .reset - using all together.

2010-05-16 Thread Chris Petersburg
I've been banging my head trying to figure this out (and yes reading all the documentation). What I want to do is: 1. Set an observer for multiple forms which enables a set of buttons 2.. When the reset button is clicked: 2a.Stop the current .Observer event associated with the current form 2b.

Re: [Proto-Scripty] Re: Problem with ajax/json service

2011-02-28 Thread chris williams
Event.stop(event); Is the line T.J is hinting at. Equally for those who have yet to discover it. var e = Event.element(event); Will give you the element that has triggered the event, this is highly useful for when you use bubbling. Chris On 27 February 2011 09:18, T.J. Crowder t

[Proto-Scripty] Problem with crossfading complex divs

2011-09-13 Thread Chris Sansom
. It could well be that I'm approaching this completely the wrong way... -- Cheers... Chris Highway 57 Web Development -- http://www.highway57.co.uk/ -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email

Re: [Proto-Scripty] Problem with crossfading complex divs

2011-09-13 Thread Chris Sansom
On 13 Sep 2011, at 15:29, Chris Sansom wrote: I /think/ what's happening is that when you roll the mouse over various elements inside the div JS thinks it's mousing out and over repeatedly Just been out for a walk and had a think about this. I think what I need to do is somehow prevent

Re: [Proto-Scripty] Problem with crossfading complex divs

2011-09-13 Thread Chris Sansom
the mouse repeatedly in and out or across a corner a few times. I'm not sure whether to take the attitude that it serves the user right if they're going to behave like that! Thanks for your help. -- Cheers... Chris Highway 57 Web Development -- http://www.highway57.co.uk/ -- You received

[Proto-Scripty] Image cache problem with Ajax

2011-09-29 Thread Chris Sansom
. * I did this via an include file because I need to do the same processing when the page is initially loaded, so this seemed the most efficient way, code-wise. -- Cheers... Chris Highway 57 Web Development -- http://www.highway57.co.uk/ -- You received this message because you are subscribed

Re: [Proto-Scripty] Image cache problem with Ajax

2011-09-29 Thread Chris Sansom
On 29 Sep 2011, at 15:00, Chris Sansom wrote: I've tried various things to stop it caching, such as loading the top image via a tiny php script Forgot to mention, before anyone else does, that the first thing I tried, after Googling, was to put various query strings [such as '?' + (new Date

Re: [Proto-Scripty] Image cache problem with Ajax

2011-09-29 Thread Chris Sansom
the benefit, and I could simply reload the whole page instead of just the one div, but it's become a challenge! -- Cheers... Chris Highway 57 Web Development -- http://www.highway57.co.uk/ -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us

Re: [Proto-Scripty] Image cache problem with Ajax

2011-09-30 Thread Chris Sansom
thanks for your time and thoughts, Richard and Phil, also ncubica and Walter for chipping in. -- Cheers... Chris Highway 57 Web Development -- http://www.highway57.co.uk/ -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post

Re: [Proto-Scripty] Image cache problem with Ajax

2011-09-30 Thread Chris Sansom
. -- Cheers... Chris Highway 57 Web Development -- http://www.highway57.co.uk/ -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send

[Proto-Scripty] Ajax problem

2019-06-22 Thread Chris Sansom
With apologies in advance for the length... I retired a few years ago from web development, where I used Prototype quite a bit in the later years. I'm somewhat rusty now, but I'm trying to do some development for purely personal use. It won't be on the open web, just on our local server. It's

Re: [Proto-Scripty] Ajax problem

2019-06-24 Thread Chris Sansom
to fix the next problem... -- Cheers... Chris Chris Sansom: composer and… whatnot http://www.chrissansom.net/ https://www.youtube.com/channel/UCVUKb7vK0KiIaiLhs7zht2Q https://soundcloud.com/mfthoad ‌As every parent of a small child knows, converting a large object into small fragments is considerably

Re: [Proto-Scripty] Ajax problem

2019-06-23 Thread Chris Sansom
ML you get from > /server/url?foo=bar should be: > > > > > > > > ... with all of the whitespace removed. > > Walter > >> On Jun 22, 2019, at 11:25 AM, Chris Sansom wrote: >> >> With apologies in advance for the length... >> >&g

Re: [Proto-Scripty] Ajax problem

2019-06-24 Thread Chris Sansom
I really feel I’m almost there with this problem - just this last hurdle to get over! -- Cheers... Chris Chris Sansom: composer and… whatnot http://www.chrissansom.net/ https://www.youtube.com/channel/UCVUKb7vK0KiIaiLhs7zht2Q https://soundcloud.com/mfthoad ‌Goodness is about what you do. Not w