Hmmm. Is there a reason for using ajax other than the speed of the data
retrieval and lack of a page refresh? A page refresh may be necessary in
order for you to get the result you are looking for.

On Mon, May 25, 2009 at 7:05 AM, [email protected] <
[email protected]> wrote:

>
>
>
> On May 25, 12:52 pm, Andrew Baughman <[email protected]> wrote:
> > You could use the onclick event (that I assume initiates the ajax
> request)
> > to also set the css 'display' of the submenus to 'none'.
>
> That s what I ve tried, but I was nt able to get it working
> correctly.
> I ve tried prototypes hide() and setStyle function, but as you can see
> in my first post that generates  a new css class
>
> element.style {
> display:none;
> }
>
> which has a higher priority than my hover css class.
> Which means that the submenus are hidden after the ajax request (which
> is good), but they will no longer response correctly to hover effects
> (which is bad).
>
> --
> Volker
>
>
>
>
> >
>


-- 
Thanks,
Andy Baughman

--~--~---------~--~----~------------~-------~--~----~
--
You received this because you are subscribed to the "Design the Web with CSS" 
at Google groups.
To post: [email protected]
To unsubscribe: [email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to