[Proto-Scripty] Re: Coupon Code validation

2008-12-16 Thread Michael
This is awesome - I am totally almost getting this! What if my Coupon Code started at some number mid sequence - like everything greater then C32456 would be valid... On Dec 16, 8:45 am, kangax kan...@gmail.com wrote: On Dec 16, 5:17 am, SWilk wilkola...@gmail.com wrote: Michael wrote:

[Proto-Scripty] Re: Coupon Code validation

2008-12-16 Thread kangax
Michael wrote: This is awesome - I am totally almost getting this! What if my Coupon Code started at some number mid sequence - like everything greater then C32456 would be valid... It's almost always a pain to work with numeric ranges in regex. I think the best option in this case is

[Proto-Scripty] Re: Coupon Code validation

2008-12-16 Thread Diodeus
This is awesome - I am totally almost getting this! Totally almost - snicker Regex hurts my brain. --~--~-~--~~~---~--~~ 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: Coupon Code validation

2008-12-16 Thread kangax
On Dec 16, 5:17 am, SWilk wilkola...@gmail.com wrote: Michael wrote: This script is right up my alley - thanks a lot - I am trying to validate a field that has a letter/number combo - it must be between C400 and C700 OR D300 and D999 [...] try this regexp:

[Proto-Scripty] Re: Coupon Code validation

2008-12-16 Thread SWilk
Michael wrote: This script is right up my alley - thanks a lot - I am trying to validate a field that has a letter/number combo - it must be between C400 and C700 OR D300 and D999 [...] try this regexp: ^((C[4-6]\d{2})|(D[3-9]\d{2})|(C700))$ This is just beyond my reach - I appreciate

[Proto-Scripty] How can drag a dragable object to another droppable more than one time ?

2008-12-16 Thread PATMAP
Hello to script.aculo.us developer team. thank you for your best scripts. I want to drop the draggable onto the droppable and have it stay there but not remove from source, i want only a copy of dragable droped on droppable and i can drag and drop this dragable next time and more. by means i

[Proto-Scripty] Ajax.Autocompleter used in a frame doesn't work

2008-12-16 Thread Greenosity
We have a web application that uses multiple frames. In one frame, we have a page on which we are trying the use the Scriptaculous Ajax.Autocompleter. As soon as the minimum number of characters are entered in the text field, the entire page goes blank and nothing ever happens after that. No

[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: Ajax onComplete, but from another function

2008-12-16 Thread George
Hi TJ Many thanks for your response. Actualy I'm not having any problem with execution scope and have managed to grasp a fairly good understanding over the past few weeks. In my constant attempts to re-use code, I'm trying to revisit a method that refreshes a dataset with an ajax call. The

[Proto-Scripty] Re: How can drag a dragable object to another droppable more than one time ?

2008-12-16 Thread Diodeus
You need to reinsert the dragged DIV into the document where it started from and reinitialize it as a draggable. $(dragContainer).insert(new Element(div, { id: 'something', 'class':'whatever' })) new Draggable('something',{revert:true}) On Dec 15, 4:05 pm, PATMAP patmap...@yahoo.com wrote:

[Proto-Scripty] Re: Improving FPS Speeds

2008-12-16 Thread RobG
On Dec 17, 3:13 am, Craig cr...@europe.com wrote: I have a very graphics intense website with 4 sliders on each coded in a serperate JS file. Recently i have developed a full screen image viewer that behaves much like lightbox. I am using the effects library to BlindDown the image and