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">
<tr><td><span  onclick="openClose('advancedSearchBox')></span></td></
tr>
<tr>
<td align="center" colspan="3">
<div style="display:none" id="advancedSearchBox">
     <table border="0" align="center" cellpadding="0" cellspacing="0">
     <tr><td height="10"></td></tr>
     <tr>
           <td valign="top">
        inside the <td> comes all the info i want to hid
           </td>
     </tr>
     </table>
</div>
</td>
</tr>
</table>


i do not understand how to implement your suggestion

i will appreciate your help with that issue.

shafir m



On Dec 2, 3:37 pm, Walter Lee Davis <[EMAIL PROTECTED]> wrote:
> 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(){
>         $$('.hideme').invoke('hide');
>
> });
>
> This will have everything hanging out there and visible from Google's  
> POV, but will hide it and prepare for your effect from everyone else  
> with a pulse and a JavaScript interpreter. Because you are doing it at  
> the dom:loaded point rather than the window.load point, there will be  
> no flash of unhidden content.
>
> Walter
>
> On Dec 2, 2008, at 2:27 AM, shafir wrote:
>
>
>
>
>
> > hey,
>
> > im using theslideeffect in my website and to do so im using on the
> > div i want to "slide" the style="display:none" i know that google do
> > not index text that under this style, because of that im using a class
> > name that have inside - 'display:none'.
>
> > but then i noticed that theslideeffect doesnt work with the
> > class.... :-(
>
> > any suggestions?!?
>
> > thanks, shafir.- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to