I think I have solved the problem. Using display:none works.  In order
to show the div I just set the display to block:

$(dropdown).style.display = "block";

I was making this way harder than it is.

On Feb 19, 12:54 pm, Richard Aday <[email protected]> wrote:
> Can you post an example so we can see what you are talking about?
>
> Thanks,
> Richard Aday
>
>
>
> On Thu, Feb 19, 2009 at 4:51 AM, Dave L <[email protected]> wrote:
>
> > Hi, I have tried using display:none. But I am unable to show the
> > element with an onclick.  I tried $('element').show() on the the div
> > element with id='element', but this does not seem to work.  Is there
> > another way to show an element that has display set to none?
>
> > On Feb 17, 5:46 pm, Richard Aday <[email protected]> wrote:
> > > Why don't you use display:none instead of visibility:hidden?
>
> > >http://webdesign.about.com/od/css/f/blfaqhidden.htm
>
> > > On Tue, Feb 17, 2009 at 4:57 PM, JUXTAFLO - Chad Cross
> > > <[email protected]>wrote:
>
> > > >  Can we see an example?
>
> > > > Dave L wrote:
>
> > > > I have created my own pull down menu by making the visibility of the
> > > > pull down element 'hidden'.  The problem that I have run into is that
> > > > buttons and radio buttons are un-clickable when they are 'behind' this
> > > > hidden element.  This problem is occurring in Firefox 3.  Does anyone
> > > > know of a suitable work around, or another option to try?
> > > > Thanks.
>
> > > --
> > > -Richard Aday
>
> --
> -Richard Aday
--~--~---------~--~----~------------~-------~--~----~
--
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