We help IT Professionals succeed at work.

jquery autocomplete results have items show through

theideabulb
theideabulb asked
on
if i have a long list of items appear from my jquery autocomplete, i have a few youtube videos and if the list is long enough, the videos show through the middle of the autocomplete list.  I have been playing around with different z-index attributes, etc, but nothing appears to change anything.
Comment
Watch Question

This is an attribute of the Flash player. It will overlap any other content on the page by default, but you can modify the YouTube embed code to fix that:

<object style="height: 458px; width: 630px">
<param name="movie" value="http://www.youtube.com/v/EUSufxmwf9Q?version=3">
<param name="allowFullScreen" value="true">
<param name="allowScriptAccess" value="always">
<param name="wmode" value="opaque" />

<embed src="http://www.youtube.com/v/EUSufxmwf9Q?version=3" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="630" height="458"  wmode="opaque">

</object>

The key is <param name="wmode" value="opaque" /> in the <object> parameters, and wmode="opaque" in the embed tag attributes.

Author

Commented:
Awesome, yes that did the trick ok.  Thanks for the help!