Hi there
I searched in this group and web in general, but haven't found a
solution for this on. Basically, I'd like to create an image
rollover, except I'd like the effect to be gradual as opposed to the
CSS trick. The only way I can see to accomplish this is to stack 2
images one on top of
May be have multiple gif images with animations switch (JS) between each
other?
Whats so not straight forward about layers and opacity with css/js?
On Mon, May 18, 2009 at 11:02 PM, MikeD photosforl...@gmail.com wrote:
Hi there
I searched in this group and web in general, but haven't found
if (parent) {
var subclass = function() { };
subclass.prototype = parent.prototype;
klass.prototype = new subclass;
parent.subclasses.push(klass);
}
How to understand these codes ?
--~--~-~--~~~---~--~~
You received this message
On 5月19日, 下午6时52分, Eric smcdl6...@gmail.com wrote:
if (parent) {
var subclass = function() { };
subclass.prototype = parent.prototype;
klass.prototype = new subclass;
parent.subclasses.push(klass);
}
How to understand these codes ?
If I was the author, I
This is a case when you really truly want just the facilities that
Javascript provides (prototypes rather than classes), and using
(pretend) classes makes it harder not easier.
Date,prototype.isEaster = function() { ... };
etc.
Colin
--~--~-~--~~~---~--~~
You
Hi Eric,
If I was the author, I will new parent directly and assign it to
klass.prototype.
That would imply calling the initialize method of the parent class
which is something you'd want avoid.
So why use usbclass as broker ?
subclass is an empty function (parent isn't: it calls
On May 18, 9:19 pm, Scott Z kol...@gmail.com wrote:
Can anyone point me in the right direction to making my form submit
when a selection is made from the autocomplete suggestions? Thanks!
new Ajax.Autocompleter( ...
onComplete: function() {form.submit()},
...
);
Where I've written 'form'
I have been using scriptaculous in one application of mine.
Everything runs smoothly.
Then i added the builder.js and changed the inclusion line into this
script type=text/javascript src=js/scriptaculous.js?
load=effects,dragdrop,controls,builder/script
I dont get builder.node to work.I dont
ioustinos wrote:
I have been using scriptaculous in one application of mine.
Everything runs smoothly.
Then i added the builder.js and changed the inclusion line into this
script type=text/javascript src=js/scriptaculous.js?
load=effects,dragdrop,controls,builder/script
Just a guess, but
I had understood it completely. I'm Chinese, sorry for my english.
Best Thank you.
On 5月19日, 下午7时28分, Tobie Langel tobie.lan...@gmail.com wrote:
Hi Eric,
If I was the author, I will new parent directly and assign it to
klass.prototype.
That would imply calling the initialize method of
Perhaps straightforward is the wrong word...clumsy maybe? Image
rollovers are so common, I guess I was hoping for a simpler solution,
rather than having to add yet more markup to my layout and wrestle
with 100% perfect stacking in all supported browsers. Simple image
rollovers can be done with
You shouldn't have to add too much in the way of markup, just a simple
class on the images or the image link would work. You can also add
some scriptaculous effects to the CSS similar to this method for some
more panache : http://www.alistapart.com/articles/sprites2/
On May 19, 9:14 am, MikeD
Well you can engage in use of :hover for empty html element, or you could
probably have something like this, a href=#spanhome/span/a where
span will include valid text which will represent link if css fails to load
or search engine will crawl your site. But with css you can push out the
text
good call SOLIDHEX, you ve been added to my list of resources : )
that example i think will fit his need very well.
On Tue, May 19, 2009 at 12:34 PM, solidhex patr...@solidhex.com wrote:
You shouldn't have to add too much in the way of markup, just a simple
class on the images or the image
Well, i can't take credit for that technique - you can thank Dave Shea
and A List Apart :D
On May 19, 10:45 am, Alesei Narkevitch gnrlb...@gmail.com wrote:
good call SOLIDHEX, you ve been added to my list of resources : )
that example i think will fit his need very well.
On Tue, May 19,
Perfect Solidhex, that's is exactly what I'm looking for! thanks! :)
On May 19, 1:45 pm, Alesei Narkevitch gnrlb...@gmail.com wrote:
good call SOLIDHEX, you ve been added to my list of resources : )
that example i think will fit his need very well.
On Tue, May 19, 2009 at 12:34 PM,
LOL i know, i was talking about your blog : )
On Tue, May 19, 2009 at 2:00 PM, solidhex patr...@solidhex.com wrote:
Well, i can't take credit for that technique - you can thank Dave Shea
and A List Apart :D
On May 19, 10:45 am, Alesei Narkevitch gnrlb...@gmail.com wrote:
good call
How is that we don't loose context in some of those nested callbacks?
Thanks. --jk
--~--~-~--~~~---~--~~
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
Doh! Well, as dumb as I'm feeling, I was actually glad to hear it was
something so basic and simple. And it's not documented in any of the
books I have - they all just have partial examples. It's working like
a charm now! Thanks so much for your help.
luella
On May 19, 9:26 pm, ColinFine colin.f...@pace.com wrote:
This is a case when you really truly want just the facilities that
Javascript provides (prototypes rather than classes), and using
(pretend) classes makes it harder not easier.
Yes, although some may argue that it is better to create
On May 15, 6:54 pm, marioosh marioosh@gmail.com wrote:
I have a id=ph href=#.
I want to do that (sorry for my poor english):
When user click ph, i need to set href to some usable address (by
sending request Ajax.Request) and fire onclick once again.
That seems unnecessarily complex, why
On Tue, May 19, 2009 at 8:16 PM, RobG rg...@iinet.net.au wrote:
On May 19, 9:26 pm, ColinFine colin.f...@pace.com wrote:
This is a case when you really truly want just the facilities that
Javascript provides (prototypes rather than classes), and using
(pretend) classes makes it harder not
Is there a way to make any events registered by Draggable have the
lowest possible priority? I have tried to execute new Draggable at
the last moment, but it still seems to commandeer mousedown event.
Thanks. --jk
--~--~-~--~~~---~--~~
You received this message
I am trying to use pre-existing functions in a new prototype class but
am having some trouble with binding. When I call a function within a
function it says that one of my class variables is undefined. I have
defined the class variable correctly I think:
var DropDown = Class.create({
24 matches
Mail list logo