[Proto-Scripty] Re: Improving FPS Speeds

2008-12-16 Thread RobG
On Dec 17, 3:13 am, Craig 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 alternates in

[Proto-Scripty] Re: Coupon Code validation

2008-12-16 Thread RobG
On Dec 17, 2:12 am, kangax wrote: > 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 ra

[Proto-Scripty] absolutely positioned content on top of scrolled content

2008-12-16 Thread mr_justin
Hey guys, long time no talk. I've got what I hope will be a simple question, been trying to wrap my brain around this for a while and only coming up with blanks. Here's the deal: I have some fixed-height content with overflow set to scroll. In the scroll box there are links which when clicked, a

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

2008-12-16 Thread Diodeus
Abort any actions if one is already running: var running = 0 function createSpecialEffects() { if(running==1) { return } // Cache needed elements elms = $$('div#products_new ul li a img'); elms.each(function(slink) { slink

[Proto-Scripty] Re: Improving FPS Speeds

2008-12-16 Thread Diodeus
Post your URL. There may be ways to optimize things, but it's hard to say without seeing what you've done. On Dec 16, 12:13 pm, Craig 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 t

[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 wrote: > Hello to script.ac

[Proto-Scripty] Position.includeScrollOffsets=true and Draggable inside a scrolling div ?

2008-12-16 Thread astilla
Hi, I'm having a problem with using "Position.includeScrollOffsets = true" with a Draggable inside a scrolling layer - the draggable is positioned away from the mouse pointer when the layer things are in is scrolled down. I've used the includeScrollOffsets before successfully on a Sortable but a

[Proto-Scripty] Reg:how to populate Select Box using prototype & script.aculo.us

2008-12-16 Thread vishnu
Hi all , i have an requirement .. HTML page ..contains two text fields and one select box .Text Fields are fulling up by using script.aculo.us Auto completer . i want populate select box depends on the text fields values .how can i do it ..am using java as server side technology thanks in advanc

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

[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] Improving FPS Speeds

2008-12-16 Thread Craig
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 alternates in their containers as well as Appear/Fading a bac

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

[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 wrote: > On Dec 16, 5:17 am, SWilk wrote: > > > Michael wrote: > > > This script is right up my a

[Proto-Scripty] Prototype Cross Site Ajax Request

2008-12-16 Thread Jeztah
Does anyone know if this is supported yet in prototypejs ... i have found a plugin for it but it seems not to work as it is intended for proto 1.5 and i am on the latest one Are the developers thinking of maybe adding the "crossSite" option into ajax requests ? Thanks in advance Alex --~--

[Proto-Scripty] Re: Coupon Code validation

2008-12-16 Thread kangax
On Dec 16, 5:17 am, SWilk 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: > ^((C[4-6]\d{2})|(D[3-9]\d{2})|(C700

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

[Proto-Scripty] Sorting on a JSON array

2008-12-16 Thread George
: 119, sun: 89} ]}, {id: 2, dateFrom: 20090302, dateTo: 20090304, tariffhigh: 180, tarifflow: 150, tariff: [ {guest: 1, mon: 240, tue: 0, wed: 0, thu: 0, fri: 0, sat: 0, sun: 0}, {guest: 2, mon: 220, tue: 0, wed: 0, thu: 0, fri: 0, sat: 0, sun: 0} ]}, {id: 0, dateFrom: 20081216, dateTo: 200

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

[Proto-Scripty] Re: DOM Exception with findElements()

2008-12-16 Thread RobG
On Dec 14, 5:34 am, Matthew wrote: > In an application I wrote I have a call to up(), as in: > > test = elt.up('li'); > > elt is anything that will be contained within a li element, if this is > true, I create a rollover item for that li element. > > At any rate, accoring to Firebug this call p