我刚读过这篇文章的具体名称。假设我在mysite.com上,点击www.google.com,当我到google.com时,顶部有一个很大的MYSITE.com栏,很容易让我回到MYSITE。 COM。这叫做什么,Drupal中是否有插件?
答案 0 :(得分:5)
答案 1 :(得分:3)
不要使用框架!它们很难看,会让用户感到困惑,我们不再是1995年了;)
您正在寻找的是 CSS固定菜单
http://www.w3.org/Style/Examples/007/menus.en.html
我从未使用 Drupal ,但我发现有一点谷歌搜索:http://drupal.org/node/769848
答案 2 :(得分:3)
Google未将其命名为press release。几天前,黑条的Google get rid。 Drupal至少有两个这样的模块:
答案 3 :(得分:1)
正如我所看到的,上面的回复没有回答你的要求。如果我错了,请纠正我。
您正在寻找一种方法来添加iframe工具栏,就像about.com或images.google.com一样。 您可以使用原始HTML页面来完成此操作,而该页面根本不会启动Drupal。 如果您愿意创建模块,您会发现外部链接模块很有用。 有关HTML内容,请参阅http://www.amirharel.com/2009/07/28/implementing-iframe-toolbar/。
答案 4 :(得分:1)
框架谷歌仅仅是因为您认为您的用户将从那里搜索不是一个好的选择,如果这是您想要做的。这样你可以考虑构建Facebook和其他有价值的网站,但相信我,人们不喜欢框架(我只是讨厌它们!)
您应该为您的网站创建一个自定义搜索引擎,这是Google搜索引擎向您的用户在您的网站上查找内容(仅限索引页面)的有用功能。
如果您有兴趣,请访问http://www.google.com/cse/
答案 5 :(得分:1)
这绝对是用框架完成的。以下是Google翻译的相关代码:
<frameset rows="65,*" frameborder="1" framespacing="0" cols="*">
<frame src="/translate_n?act=url&hl=en&ie=UTF8&prev=_t&sl=auto&tl=en&u=http://lamaisonducinema.com/" name="n" scrolling="no" noresize="" marginwidth="0" marginheight="0">
<frame src="/translate_p?act=url&hl=en&ie=UTF8&prev=_t&sl=auto&tl=en&u=http://lamaisonducinema.com/&usg=ALkJrhgchorYUw9YujsX2PFQ6ZZSxH4A1A" name="c">
<noframes><script><!--document.location="/translate_p?act=url&amp;hl=en&amp;ie=UTF8&amp;prev=_t&amp;sl=auto&amp;tl=en&amp;u=http://lamaisonducinema.com/&amp;usg=ALkJrhgchorYUw9YujsX2PFQ6ZZSxH4A1A";--></script><a href="/translate_p?act=url&amp;hl=en&amp;ie=UTF8&amp;prev=_t&amp;sl=auto&amp;tl=en&amp;u=http://lamaisonducinema.com/&amp;usg=ALkJrhgchorYUw9YujsX2PFQ6ZZSxH4A1A">Translate</a></noframes>
<object style="padding: 0px !important;margin: 0px !important;background: transparent !important;position: fixed !important;border: none !important;-webkit-box-shadow: none !important;top: -100px !important;left: -100px !important;display: block !important;width: 1px !important;visibility: hidden !important;height: 1px !important;" data="safari-extension://com.interclue.ultimatestatusbar-725998GKSY/f41e051d/fixUninitalizedPage.html"></object>
</frameset>
对于Drupal 6,似乎Modal Frame模块可能会做到这一点:http://drupal.org/project/modalframe。
答案 6 :(得分:0)
它们被称为固定菜单。不要使用框架。
HTML:
<header><p>I'm always at the top</p></header>
<article>
<p>blah</p>
<p>blah</p>
<p>blah</p>
<p>...</p>
</article>
CSS:
header { position: fixed; top: 0; left: 0; width: 100%; }