Re: embarrassingly easy question on JS

by "Hilma" <Hilma(at)hilma.freeserve.co.uk>

 Date:  Mon, 6 May 2002 14:00:47 +0100
 To:  <hwg-basics(at)hwg.org>
 References: 
  todo: View Thread, Original
Thanks Martin and Darrell -

It seems that it wasn't quite as easy as i thought (unless oyu know how!)-
but it works fine now.

For my JS queries, ought i be here or elsewhere?
I've just found another JS problem - and i'm a little reluctant to post on
the HTML list, but not sure where i ought go for help.

Well - as i'm here :-)

I've created a popup-menu thingy (copying code from a web resource, and
gradually working my way through understanding it and throwing bits away) -
and i've got down to:

if (!ns6)
{
themenuStyle.left=themenuoffsetX + event.clientX - event.offsetX + 60
themenuStyle.top =themenuoffsetY + event.clientY - event.offsetY + yoffset
}
else
{
????????
}

Positioning is fine in IE6, but not in NS6; presumably, properties ar
different.
Given just that bit of code, or generally, can anyone explain how to get
positioning within NN6 to mirror that in IE6?

Many thanks!



hilma
--x------

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA