在 DreamWeaver CS3 中构建带有翻转的导航栏
我正在使用 Dreamweaver CS3。 这里的问题是我需要复制代码的哪一部分(如下所列)才能让我的辅助导航栏利用点击操作?
仅供参考...DW 有两个菜单选项或自动插入项目...一个用于滚动图像,另一个用于“导航栏”。 DW 仅允许您每页使用一次“导航栏”项目
导航栏选项为您构建所有翻转操作(如下所列)
“翻转”选项仅构建正常和过度,但没有点击
我想我真的有两个问题......第一个是我需要手动插入哪部分代码,第二个是“MM_nbGroup”代码是什么意思?
"../photogallery.html" target="_top" onClick="MM_nbGroup('down','group1','photoMainNav','../images/buttons/photography_down.gif',1)"
onMouseOver="MM_nbGroup('over','photoMainNav','../images/buttons/photography_over.gif','../images/buttons/photography_over.gif',1)" onMouseOut="MM_nbGroup('out')"><img src="../images/buttons/photography.gif"
提前感谢您对此的任何帮助!
I'm working with Dreamweaver CS3. The question here is what part of the code (listed below) do I need to replicate to have my secondary nav bar utilize the on-click action?
FYI...DW has two menu options or auto insert items...one for roll over images and one for "navbar". DW will only allow you to use the 'navbar' item once per page
the nav bar option builds all the rollover actions for you (listed below)
the "rollover" option ONLY builds normal and over, but no click
I guess I really have two questions...the first is what part of the code do I need to insert manually, the second is what does the "MM_nbGroup" code mean?
"../photogallery.html" target="_top" onClick="MM_nbGroup('down','group1','photoMainNav','../images/buttons/photography_down.gif',1)"
onMouseOver="MM_nbGroup('over','photoMainNav','../images/buttons/photography_over.gif','../images/buttons/photography_over.gif',1)" onMouseOut="MM_nbGroup('out')"><img src="../images/buttons/photography.gif"
Thanks for any help on this in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
对于任何想知道同样事情的人,这是我迄今为止发现的...
DWCS3 中提供的“插入”栏不允许在一页上有两个“插入”菜单栏。 但是,“行为”调色板将允许您使用“设置导航栏图像”选项添加有效的翻转。 不幸的是(据我所知)DWCS3 并不像 Adobe 的 GoLive 那样智能,因为如果您正确命名文件,它不会自动填写适当的项目。 即使如此,您也应该相应地命名您的图像(xxx_over、xxx_down 等),以使其在您的脑海中保持清晰。
至于 MM_nbGroup 问题,我能说的最好的就是 DWCS3 附带的 WYSIWYG 代码(这种东西确实让你们中的一些开发人员感到困惑,对不起大家),因为它按组 # 命名项目,并且似乎没有任何内容html 词典中的真正相关性。 然而,我在这一点上可能是错误的,如果有人可以提供的话,我愿意接受关于这个主题的启发。
For anyone wondering the same thing, here's what I've found so far...
The 'insert' bar provided in DWCS3 doesn't allow for two 'inserted' menu bars on one page. However, the 'Behaviors' palette will allow you to add effective roll-overs with the "Set Nav Bar Image" option. Unfortunately (as far as I can tell) DWCS3 is not as smart as Adobe's GoLive was, in that it won't automatically fill in the appropriate items if you name your files correctly. Even still, you should name your images accordingly (xxx_over, xxx_down, etc) to keep it straight in your own head.
As for the MM_nbGroup question, best I can tell this is WYSIWYG code that ships with DWCS3 (the kind of stuff that really mifs some of you developers, sorry guys), as it names items by group # and doesn't seem to have any real relevance in the lexicon of html. I could be mistaken on this however, and am open to enlightenment on the topic if anyone can offer.