Hi,
Off-the-cuff, I'd probably use two binds and one local (this is
totally off-the-cuff, and apologies if I've messed something up. Also,
we have slightly different coding styles and while I tried to stick to
what I inferred from what I saw, it's probably ended up a mish-mash):
Hi,
I see, thanks for the explanation. Boy, I sure do hate IE. I presume
that IE8 does do prototypes, which is why it worked there?
I don't think I knew that. But apparently so:
http://pastie.org/913799
Speaking of IE8, you seem to be the/a resident guru...
Far from it. :-)
...so I don't
Hi,
You can reference a property of an object using a string key and
square brackets, so this:
var itemsToShow = myOptions. + sel;
should be:
var itemsToShow = myOptions[sel];
...assuming that `sel` contains a string like myOptions_group1, as
it appears to from the if/else structure
Sorry, meant to say: I also didn't see anything wrong with using a
variable to refer to `this` and not using #bind. If you do that,
though, I'd recommend using the same variable name every time you do
this, throughout all of your classes. The one I use is `self` because
lots of people seem to use
Thanks T.J.,
Very good suggestions, and it's always interesting to see how other
people (more experienced too) would handle certain things.
What's most interesting to me is that my 'way' of programming has been
to do something like this:
var Foo =
I have run across a bug which is really hindering the usage and
functionality of my application... I am hoping that someone here can
offer a trick to get around it (without having to change my design).
I've simplified the problem by extracting the stuff into it's own html
file with minimal css
Anyone may have a clue? :(
--
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to
According to the wiki:
http://wiki.github.com/madrobby/scriptaculous/effect-morph
...morph only works on length and color based attributes, so it won't
switch the background image for you. Why don't you just use setStyle
on the containing element and then use morph to change the size?
Cheers,
Well, my solution was to do away with overflow: auto, and make my own
'scrolling'...
http://collinatorstudios.com/drag_bug_solution.html
-patrick
--
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To post to this group, send email to
Well, the problem seems to be that sound.js detects IE and then uses
the bgsound tag to play music - but IE8 doesn't support bgsound. Hence
the problem. I'll see if I can hack it so it uses a plugin instead
like all the other browsers; if I can get it to work I'll post it
here.
On Apr 10, 8:30
Hi,
I am very new to these frameworks at all.
Because of the many possibillities I have decided to use scriptaculous
and generaly it works just fine.
But: When I try to add some effects to my website, I fail. It works a
bit but not really good.
The site, that it is about is this one:
Hey Junkshops :)
First I would thank you for your answer. The setStyle may solve the
problem linked to the background image (what a shame that morph don't
work with bgimage :/) but the problem is that I won't get the morph
effect between the bakground change which is what I am searching for.
I'm
That is all i can think of. Quite heavy handed to have such a
transition, but doable. Possibly always have a clone behind the
transitioning element and just morph the opacity of the one on top
anytime you want to change the background.
Btw, the reason morph only effects what it does is that the
If you're looking for a real morph effect, where one image slowly
flows and changes into the next, there's no way scriptaculous or
prototype could do that. Generally speaking, as I understand it, if
you couldn't do the animation yourself by changing css/style tags and
reloading over and over,
In order to morph between two images, you need to have stacked both of
them, then fade the front one out. That gets you a perfect cross-fade
between the images. So to get behind your background image, if it's on
a DIV, just clone a div behind the background and fade out the
background. I
On Apr 10, 8:36 pm, chrysanthe m chrysant...@gmail.com wrote:
Hi, again
Sorry for being obtuse. But can someone help me and even understand how to
write a function and call it on a hash that will take a value, compare it
against each of the keys in the hash, on match delete the key/value,
16 matches
Mail list logo