html中的框架问题 [英] Frameset problem in html

查看:123
本文介绍了html中的框架问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个包含多个页面的网站,并且位于同一个文件夹中(我的意思是所有这些网页都在一个文件夹中)。我在框架下开发了这种设计。我已经使用了3个框架作为横幅,左侧用于菜单,右侧用于主页面。点击左侧菜单框架时,我只是将主页导航到不同的页面。

我的问题是点击菜单时,我只是改变了右侧主框架的目标。是否可以在浏览到正确框架的不同页面时更改网址。



请指导我,如何继续。



感谢Praveen

解决方案

您无法更改该网址不会导航到该网址。



您真的不想首先使用框架。搜索引擎(即谷歌)不会正确地为您的网站建立索引,用户无法为网页添加书签,而人们只是不喜欢框架。



如果你想要在许多页面上保留标题和边栏等内容,而不必将代码包含在每个HTML文件中,则应考虑使用服务器端包含


I have created a website with multiple no of pages with in a same folder (i mean all those pages are with in a folder). I have developed this design under the frames. I have used 3 frames top for banner, left side for menu and and right side for main page. While clicking the left side menu frame i just navigate the main page into different page.

My problem is while clicking the menu, i just change the target of the right side main frame. Is it possible to change the URL while navigating to different pages in the right frame.

Please guide me, How to proceed.

Thanks
Praveen

解决方案

You can't change the URL without navigating to that URL.

You really don't want to use frames in the first place. Search engines (i.e. Google) wont index your site properly, users can't bookmark pages, and people just do not like frames, in the first place.

If you want to persist things like headers and sidebars across many pages without having to include the code in every single HTML file, you should consider using server-side includes.

这篇关于html中的框架问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆