[thelist] AutoCompletion with Ajax and z-index Problems

Christian Heilmann codepo8 at gmail.com
Mon Oct 2 02:10:35 CDT 2006


> I implemented a Ajax Script for AutoCompletion for our keyword search
> ( http://geodata.grid.unep.ch ). Everything works fine; it's only
> that the "box" which opens with the suggested keyword list hides
> behind an image below. (See http://geodata.grid.unep.ch/Picture4.png
> or website.) I tried to use z-index (high value for the text box, low
> value for image) but it didn't do anything...

I suppose your problem is MSIE. If that is so, you need to apply the
IFRAME hack to make sure that the combo box covers other form
elements:
http://weblogs.asp.net/bleroy/archive/2005/08/09/422047.aspx

The YUI AutoComplete control has that built-in:
http://developer.yahoo.com/yui/autocomplete/

Yours is a great job!

HTH
Chris

-- 
Chris Heilmann
Book: http://www.beginningjavascript.com
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/



More information about the thelist mailing list