i was not being sarcastic... your version was quite nice, just needed a lil
smoothing.
for a scripta version i'll check it out
On Mon, Dec 1, 2008 at 8:12 PM, Diodeus [EMAIL PROTECTED] wrote:
It was more about solving the problem of how to do it, and getting a
little more practice in OO
On Dec 2, 12:11 am, yoshi [EMAIL PROTECTED] wrote:
but it is defined globally? cuz i open up the js debugger console in
IE8 beta, i type 'Element' and the debugger returns {...} so it is
defined? And y is only Element not globally defined and not the
Template or Hash object ? I think
you're right, data doesn't get merged by using the updater. my problem
is that the data get merged in a div while a user clicks and activates
an update during page load, if so data get merged.
how can I fix this quick without rewriting a lot of scripts ... I'm
not using on dom:loaded...so I'm
As you've found, setting the display property in a CSS sheet will not
work with the Scripty effects. Try hiding the things you want to hide
after the DOM loads. Set an empty class on all your to-be-hidden bits,
and then do this:
document.observe('dom:loaded',function(){
Make sure that the script containing the autocomplete stuff is at the
bottom of your page (or at least lower in the source order than the
element you are trying to apply the effect to) and it should work as
written. Otherwise, wrap the new Autocompleter.Local part inside of a
window.load
This one's a classic and does it using native JavaScript.
http://rainbow.arch.scriptmania.com/scripts/mouse_clock3.html
On Dec 1, 5:55 pm, geoffcox [EMAIL PROTECTED] wrote:
Hello,
Is it possible to construct a javascript analogue clock using
prototype/scriptaculous?
In particular I want
Thanks a lot for the quick response. Exactly what I was looking for.
You saved me loads of work. Your wiki is really usefull, I'm going to
consult it more often.
Geoffroy
On Dec 2, 7:12 am, T.J. Crowder [EMAIL PROTECTED] wrote:
Hi,
Check out this article on the unofficial Prototype
How can I create a class extends from Element ?
var SubElement = Class.create ( Element, {
initialize: function ( $super ) {
$super ( div ) ;
}
} ) ; // error: 'subclasses' is null or not an object
--~--~-~--~~~---~--~~
You received this message
Hi,
1. 90% of the time, you'll figure out what's wrong in the process of
doing it -- instant help!
Bingo!
Cool. :-)
So I worked out that it is because of this:
...
Though, changing to what I logically would have thought it should be
hasn't worked
IE is not tolerant of trailing
Sorry for newbies question,
how opposite effects works?
if Effect.SlideDown and Effect.SlideUp was called for one element, why
call for Effect.SlideUp don't cancel ( stop ) Effect.SlideDown ?
Is there easy way to do it?
Thanks.
--~--~-~--~~~---~--~~
You
thanks,
but im not sure i understood
my javascript function looks like that:
function openClose(divId)
{
new Effect.toggle(divId, 'Slide', {duration: 0.5});
}
my html looks like that:
table border=0 align=center cellpadding=0 cellspacing=0
trtdspan
Thanks for the answer but I finally decided to reorganize the page and
now I just once load the modified script and another time load the
clean script
On Nov 26, 9:44 pm, Brian Williams [EMAIL PROTECTED] wrote:
link to non-working sample or send the changed code please.
On Wed, Nov 26, 2008
On Dec 2, 2008, at 12:15 PM, shafir wrote:
div style=display:none id=advancedSearchBox
Change this to:
div class=hideme id=advancedSearchBox
Don't do anything special to define hideme in your CSS, or at least,
don't do anything to define the visibility of that class.
Then somewhere in the
Sorry, typo below:
On Dec 2, 2008, at 12:32 PM, Walter Lee Davis wrote:
document.observe('dom:loaded',function(){
$$('.hideme}.invoke('hide');
);
document.observe('dom:loaded',function(){
$$('.hideme).invoke('hide');
);
--~--~-~--~~~---~--~~
By using the keyup event you can avoid the conditions to check for
change, if the user has pressed and released a key on the input then
the value has changed. Also it is very wise to add the timeout, your
users will thank you.
document.observe(dom:loaded, function() {
var list = $$(#listAll
thank u very much'
i'll try it and let u know
thanks again
On Tue, Dec 2, 2008 at 7:32 PM, Walter Lee Davis [EMAIL PROTECTED] wrote:
On Dec 2, 2008, at 12:15 PM, shafir wrote:
div style=display:none id=advancedSearchBox
Change this to:
div class=hideme id=advancedSearchBox
Don't
This is beautifully done!
Cheers
Geoff
On Dec 2, 2:42 pm, Diodeus [EMAIL PROTECTED] wrote:
This one's a classic and does it using native JavaScript.
http://rainbow.arch.scriptmania.com/scripts/mouse_clock3.html
On Dec 1, 5:55 pm, geoffcox [EMAIL PROTECTED] wrote:
Hello,
Is it
Hi there,
I'm using 'Really Easy Field Validation' to handle my validation.
Now i wish to submit the form to a div with Ajax, therefore i need to
stop the original form submit and post it to contact.php 'in the
div'.
Then i'd like to return the contact.php page's response, e.g. 'Your
message
Greetings all!
I'm adding simple sounds (beep and burp) to a Rails app with sound.js. I'm
having a really wierd problem with it though. I call Sound.play(good_sound) or
Sound.play(bad_sound) depending on whether or not a search succeeds. First time
it works correctly, playing the correct
19 matches
Mail list logo