最好的jQuery下拉导航与闪存一起使用的鳕鱼替代品? [英] Best jQuery drop-down nav Suckerfish alternative that works with Flash?
问题描述
wmode
,但它仍然不起作用: ; param name =wmodevalue =transparent/>
所以我认为我唯一的解决办法是尝试替换导航。所以我正在寻找一个jQuery插件,将取代我当前的导航。我当前的导航工作原理如下:
- 这是一个水平下拉菜单
- 当你悬停在菜单上,第一级下拉菜单出现
- 当您点击第一级下拉菜单中的链接时,第二级显示在被点击的链接下方不像大多数导航菜单一样)。像竖式手风琴菜单一样。
目前有什么可用的吗?我想不出有什么可以尝试让导航出现在Flash电影之上。
bah!我忘了一件事您必须在 TWO 位置设置窗口模式!我正在使用 SWFObject JavaScript插件,因此我的HTML如下所示。
为了让您的导航出现在Flash影片的顶部,您不能忘记指定 wmode =opaque
(或透明)在第二个对象标记中
< object id =homepage_slideshowclassid = clsid:D27CDB6E-AE6D-11cf-96B8-444553540000width =530height =397>
< param name =movievalue =flash / homepage_slideshow.swf/>
< param name =wmodevalue =opaque/>
<! - [if!IE]> - >
< object type =application / x-shockwave-flashdata =flash / homepage_slideshow.swfwidth =530height =397wmode =opaque>
<! - <![endif] - >
<! - 开始替代内容 - >
< img src =images / photos / homepage-placeholder-photo.jpgwidth =530height =397alt =再次移动! />
<! - 结束替代内容 - >
<! - [if!IE]> - >
< / object>
<! - <![endif] - >
< / object>
I think that my Suckerfish drop-down navigation does not play well with flash. I've done everything I can think of, yet my drop-down navigation keeps displaying underneath my flash movie. If I replace the movie with an image, it displays just fine. Only when I use a flash movie does the navigation display underneath the flash movie. I have already added wmode
and it still does not work:
<param name="wmode" value="transparent" />
So I think my only solution left is to try and replace the navigation. So I am looking for a jQuery plugin that will replace my current navigation. My current navigation works like this:
- It's a horizontal drop-down menu
- When you hover over the menu, the first level drop-down menu appears
- When you click on a link in the first level drop-down menu, a second level is revealed below the link that was clicked (not the right like most nav menus). Sort of like a vertical accordion menu.
Is there anything like this currently available? I can't think of anything else to try to make the nav appear on top of the flash movie.
bah! I was forgetting one thing. You must set the window mode in TWO places! I am using the SWFObject javascript plugin, so my HTML looks like the following.
In order for your navigation to appear on top of your flash movie, you must not forget to specify wmode="opaque"
(or transparent) in the second object tag
<object id="homepage_slideshow" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="530" height="397">
<param name="movie" value="flash/homepage_slideshow.swf" />
<param name="wmode" value="opaque" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="flash/homepage_slideshow.swf" width="530" height="397" wmode="opaque">
<!--<![endif]-->
<!-- begin alternative content -->
<img src="images/photos/homepage-placeholder-photo.jpg" width="530" height="397" alt="Get Moving Again!" />
<!-- end alternative content -->
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
这篇关于最好的jQuery下拉导航与闪存一起使用的鳕鱼替代品?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!