Anthony DePinto wrote:
Anyone know where I can find some sample code that will produce a popup
window like the one on Amazon.com when you hover over the see all product
categories at the top? they hide their code pretty well. I've come up with
something similar, but it has a few cross browser glitches...
Thanks,
Anthony
obrhy July 7, 2005
Hello, Anthony. The term 'popup' is clear. Some element or object that
is hidden, and becomes visible thru a users event fire that calls code
that shows the element or object.
But what do you mean by a 'window'? An actual modeless instance of the
browser, or a modal window like alert or showModalDialog?
What about some child element of the document, such as the
creatPopup() method? IE suports this, but I don't know whoelse does.
I think this method uses a DIV element for its framework.
You can also make your own 'enhanced tooltip' directly with a DIV
or SPAN element, styling it as you wish with CSS.
obrhy --------------------