If you're going to use Prototype, you owe it to yourself to read the
documentation. It's well written, nicely organized, and will pay off
the hour or so it takes to read through from beginning to end with a
long career of working smarter.
http://prototypejs.org/api
$$ is a critical part
yes i saw it
but as i said...doesnt work :(
On Dec 3, 3:20 pm, Walter Lee Davis [EMAIL PROTECTED] wrote:
Did you see my follow-up message where I corrected my typo? I had a
curly brace in there instead of a normal parenthesis. Look through the
rest of this thread.
Walter
On Dec 3,
Did you see my follow-up message where I corrected my typo? I had a
curly brace in there instead of a normal parenthesis. Look through the
rest of this thread.
Walter
On Dec 3, 2008, at 3:51 AM, shafir mishal wrote:
sorry but it doesnt work :(
i implemented your steps:
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(){
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
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');
);
--~--~-~--~~~---~--~~
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