Why not have a hidden layer that is *not* transparent and toggle that on to hide the area and toggle it off to display it.... you could fill it with a solid image that will definitely hide the contents
DC > -----Original Message----- > From: webguy [mailto:[EMAIL PROTECTED] > Sent: 02 June 2003 14:47 > To: CF-Talk > Subject: RE: JS question / DOM hiding all elements in square area > > > I know how to hide elements, in fact I know how to everything > I need, but I'd prefer to use some code thats been tested etc . > > Basically the functionality is > > given top,left,width, and height , figure out the elements of > type "select" that appear in this region and set > style.visibilty = 'hidden' ( or visible) for each of them > > > anyone know of any code to do this? > > Thansk WG > > -----Original Message----- > From: Michael Tangorre [mailto:[EMAIL PROTECTED] > Sent: 02 June 2003 14:28 > To: CF-Talk > Subject: Re: JS question / DOM hiding all elements in square area > > > using style sheets and JS events if needed change the > visibility property. I forget the list of elements you can > apply this to, but I am sure the table, tr, td, div, span work. > > visibility: hidden; > > If you need an example or more assistance, let me know. > > Mike > > > > ----- Original Message ----- > From: "webguy" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Monday, June 02, 2003 9:29 AM > Subject: RE: JS question / DOM hiding all elements in square area > > > > That won't work either, I need to hide selects in this > region. Due to > > an issue in IE, select box show though divs, no matter what z-index > > they > have. > > I need terefore to make any select in this region hidden. > > > > Thanks WG > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Sent: 02 June 2003 14:21 > > To: CF-Talk > > Subject: Re: JS question / DOM hiding all elements in square area > > > > > > webguy wrote: > > > I want to hide all elements in a region (ie5+, nn6+) > > > > > > So I have these pixel values for the region > > > > > > left,top,weight,height > > > > > > What the easiest way to do this ? > > > > Create an empty div and apply a style to give it the right size, > > position and z-index. > > > > Jochem > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4