Hi, i am trying to scale up an HTML element, after scaling it down
with Effect.Scale. The problem is that this is animated ONLY on scale
down. when scaling up, the resize is produced instantly, without any
animation, while scaling down occurs at it should.
So roughly the steps would be:
//
HI,
I am new programmer.
I looking to work with OOP in javascript.
I heard about prototypejs, and I try to run my first CODE in
firefox7.0.1
And Prototype JavaScript framework, version 1.7 .
The err that I got is fred.loginfo is not function
below the code:
!DOCTYPE
Hi,
You haven't given your `player` object a method called `loginfo` at
all, which is why you're getting that error (the property
`fred.loginfo` will come back `undefined`, which naturally fails when
you try to execute it via `()`). Also, you have a typo where you're
creating your `promote`
On Oct 16, 2:45 pm, clockworkgeek nonproffessio...@clockworkgeek.com
wrote:
I find IE doesn't bubble it's field-related events properly so you
still need to use `observe` for those cases. As a fix I suppose 'on'
could search it's children for fields and manually apply `observe` on
those but it
Hi,
The code you've quoted has a variety of syntax errors and typos, such
as using `function initialize()` within an object literal (which
results in an Unexpected identifier error) and using `Class.Create`
rather than `Class.create`. It's very hard to help when the code
presented is
On Oct 17, 10:17 am, T.J. Crowder t...@crowdersoftware.com wrote:
It's very hard to help when the code
presented is fundamentally broken and yet reported as working.
Sorry, in print that comes across much more harshly than it was
intended to. I only mean that it's easier to help debug code
You can use some dispatching mechanism, e.g.:
1. HTML: all your clickable elements have special class or attribute like
a class=widget chooserchooser/a
or
a data-widget-type=chooserchooser/a
2. JS: your single observer finds somehow your desired element and
dispatches event accordingly to the
Do I understand this right that you suggest adding one special class or
attribute to all clickable elements, so that in my observer I can check for
that class/attribute in the very first line minimizing the amount of if
statements PLUS you suggest to delegate the triggered event to the
Hi there,
I wanna add CSS-Definitions to a style-tag using Prototype. In all good
browsers (ALL^IE) this works by simplay appending a CSS-String to the
desired style-tag. IE doesn't like this though. I found [1] that in IE you
can update the entire contents of the style-tag using an attribute
*Thanks allot.
You help me *
On Mon, Oct 17, 2011 at 9:33 AM, T.J. Crowder t...@crowdersoftware.comwrote:
Hi,
You haven't given your `player` object a method called `loginfo` at
all, which is why you're getting that error (the property
`fred.loginfo` will come back `undefined`, which
If you're running the two effects next to each other like that in the
code, the behavior describing makes sense, and the effects are
triggered asynchronously.
There are two ways to accomplish a synchronous chain:
* Effect queues (my preference)
**
i don't think Prototype has a method for directly editing a STYLE tag
(only for modifying styles on element[s].
But
http://stackoverflow.com/questions/524696/how-to-create-a-style-tag-with-javascript
seems to offer a couple cross-browser approaches by examining feature
support to determine which
it's ok T.J. - I'll try to write a test on JS Bin and write link here
to reproduce the bug
On 17 окт, 12:33, T.J. Crowder t...@crowdersoftware.com wrote:
On Oct 17, 10:17 am, T.J. Crowder t...@crowdersoftware.com wrote:
It's very hard to help when the code
presented is fundamentally broken
Here is a sample from my code http://jsfiddle.net/QW8vM/9/
On 17 окт, 12:33, T.J. Crowder t...@crowdersoftware.com wrote:
On Oct 17, 10:17 am, T.J. Crowder t...@crowdersoftware.com wrote:
It's very hard to help when the code
presented is fundamentally broken and yet reported as working.
sorry - this is a write link http://jsfiddle.net/QW8vM/10/
--
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To view this discussion on the web visit
https://groups.google.com/d/msg/prototype-scriptaculous/-/3QhVzBt2bpUJ.
To post to
here the code http://jsfiddle.net/QW8vM/10/
--
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To view this discussion on the web visit
https://groups.google.com/d/msg/prototype-scriptaculous/-/NzCfXch19G8J.
To post to this group,
16 matches
Mail list logo