Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Div Woes

1 view
Skip to first unread message

Microsoft Newsserver

unread,
Apr 16, 2008, 9:25:54 AM4/16/08
to
OK guys I know this isnt a javascrip forum, but I am building a .net
application on the web so, it kinda lets me ask the question at least :)


I have the following constructs

************* divOUTER **********
*
* ****** TABLE ******
* * * * * * * * * * *
* * * * * * * * * * *
* ********************
*
*********************************

Absolutely positioned on the top left hand corner of dvOuter is another div
which is about 30px wide and as high as divOuter. This of course partially
covers the table as well. I have a mouseOver and mouseOut event tied to that
div. Unfortuately, the mouseOver and mouseOut events of the tableCells
trigger the divMouseOver and divMouseOut events as well. I have tried to use
the cancelBubble on the events for the table cells , tr and table itself,
but the overlaid div events allways fire. I am useing IE6.

Any ideas ?

Cowboy (Gregory A. Beamer)

unread,
Apr 16, 2008, 12:17:40 PM4/16/08
to
As long as the z order is higher on the other div, the portion over the part
where it obscures the table will fire that hover event.

If this is not the case, then download Firefox and get Firebug. It helps you
see which styles are in order when you are on a certain element. You can
then experiment until you get it right, as Firebug allows you to edit the
styles without actually committing to the files, so you can play as much as
you like.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************************************************
| Think outside the box!
|
*************************************************
"Microsoft Newsserver" <m...@nowhere.com> wrote in message
news:Ok1l9X8n...@TK2MSFTNGP03.phx.gbl...

Microsoft Newsserver

unread,
Apr 17, 2008, 7:17:35 AM4/17/08
to
Hi Greg

Thanks for your reply. Yes the z-index is higher.

Basically if there is no background on the obsurcing div where the mouseover
and mouseout events are attached then it seems that the underlying object
events get fired as well as the overlaying object ( my div ).

"Cowboy (Gregory A. Beamer)" <NoSpamM...@comcast.netNoSpamM> wrote in
message news:%239IJn19...@TK2MSFTNGP03.phx.gbl...

Cowboy (Gregory A. Beamer)

unread,
Apr 17, 2008, 11:13:50 AM4/17/08
to
I am about to get into the same situation with a project we have. I will
have to see what happens when I overlay in this manner.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

*************************************************
| Think outside the box!
|
*************************************************
"Microsoft Newsserver" <m...@nowhere.com> wrote in message

news:OlS470Ho...@TK2MSFTNGP02.phx.gbl...

0 new messages