[Proto-Scripty] Re: Pulse effect sometimes stopping on darkened version

2009-12-23 Thread evilC
As an afterthought, I guess it is by design. If you trigger it, it probably uses the current state as a starting point. I guess what is needed is a way to tell it to stop the current animation if triggered again before it finishes, or ignore subsequent requests until the current animation is comple

[Proto-Scripty] Re: Pulse effect sometimes stopping on darkened version

2009-12-23 Thread evilC
The app as a whole is complicated, but what is driving the effects isnt. It's simply html with a plain old link: link and the attractAttention function is a one-liner: function attractAttention(obj){ new Effect.Pulsate(obj, { pulses: 3, duration: 1}); } Apart from the "Click a Location

[Proto-Scripty] Re: Problem with prototype parameters

2009-12-23 Thread T.J. Crowder
Hi, You're supplying the parameters as a string, which means *you're* taking responsibility for URL-encoding them correctly[1] -- but you're not. I suggest letting Prototype handle the encoding, by supplying your parameters as an object: parameters: {name: $F('name')}, [1] http://prototypejs

[Proto-Scripty] Problem with prototype parameters

2009-12-23 Thread César
Hi I need some help: When you enter a character (?) As parameter returns me empty. I put this example: In a text box with id = "name" entry = "Hi" and through this function: function sendRequest() { new Ajax.Request("contact.php", { method: 'post', parameters: 'name='+$F('name'), onCreate : fun

Re: [Proto-Scripty] Pulse effect sometimes stopping on darkened version

2009-12-23 Thread Walter Lee Davis
Can you make a cut-down example that shows only the trigger element and the effect element? I tried looking at the source, and there's just so much else going on in there that I don't know where to start. Is that big lump of code in the middle (begins with unescape) what you are using to dr

[Proto-Scripty] Re: Pulse effect sometimes stopping on darkened version

2009-12-23 Thread evilC
OK, I have largely fixed browser compatibility. I was using a firefox method to get the window size and it was breaking things for everyone else. I have now removed the browser check, so you should be able to access the site. Tthanks! On Dec 23, 3:09 pm, evilC wrote: > Hmm. > 'twas prototype tha

[Proto-Scripty] Prototype UI Carousel

2009-12-23 Thread zion
Hi, I have a big problem with prototype UI Carousel. Instead of using the "next_button" and "previous_button", I need to access carousel elements from a menu. For example clicking a menu link inside i need the carousel to scroll to the fourth carousel element. Could it really be so that there is

[Proto-Scripty] Re: Pulse effect sometimes stopping on darkened version

2009-12-23 Thread evilC
Hmm. 'twas prototype that mis-identified, not me. It's a very simple Prototype.browser.x check. Whatever, I have changed it to a choice box now, so you dont have to redirect. Unfortunately, my site seems down at the moment, so I will have to upload the new version. On Dec 23, 12:26 pm, Walter Lee

Re: [Proto-Scripty] Pulse effect sometimes stopping on darkened version

2009-12-23 Thread Walter Lee Davis
I'd love to help, but your browser detection scheme mis-identified my Safari as Chrome, then redirected me to getfirefox.com. I already have Firefox, thanks. Walter On Dec 22, 2009, at 3:48 PM, evilC wrote: > I am using pulse effects in my app to highlight UI components on > mouseover of som

Re: [Proto-Scripty] Need immediate help closing one blind when another opens

2009-12-23 Thread Christophe Decaux
I'm not a programmer either, but here's how I would solve your problem I assume that you have some function that does the "show info" stuff and that function is called whenever a click is made. So I would store in a global variable the name of the element that is "opened" But before you store thi

[Proto-Scripty] Re: instantiate class problem on IE

2009-12-23 Thread RobG
On Dec 23, 4:17 am, david wrote: > Hi Loris, > > I think that your trouble is normal, because IE don't allow to > instantiate method on native object. You might need to re-think that statement. From ECMA-262: "Native Object "A native object is any object supplied by an ECMAScript implementatio

[Proto-Scripty] Need immediate help closing one blind when another opens

2009-12-23 Thread Herb
Hey everybody, I' m not a programmer. I need to be able to click on a link, have it show info (blind, slide, appear) then have it close when another link is closed. Like a toggle but with a different link. I've tried adapting the accordion: http://www.stickmanlabs.com/accordion/ but I need to hav

[Proto-Scripty] Prototype Form.serializeElements

2009-12-23 Thread Neede
Hello, I've run into a response performance problem with IE6. My form has a 4 scrollable tables that each contain up to 2000 check boxes (names: typeA, typeB, typeC, typeD). serialize() is taking a long time to process, so i was attempting to speed it up by only serializing the check boxes that