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
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
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
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
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
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
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
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
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
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
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
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
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
13 matches
Mail list logo