English 中文(简体)
a page shuold be open in right framework onquestinglink of some page if residue framework?
原标题:a page shuold be open in right frame on clicking link of some page if left frame?

我是php的新用户,我有一个分为左框架和右框架的html页面,左框架中显示了一个树形列表页,我想要的是,当我单击树形结构上的节点时,右框架应打开相关链接页面。我该怎么办,请帮帮我。

最佳回答

在您的框架中,您定义了两个<frames> - 向两个添加name =“X”元素,然后在您的树中的链接中添加target =“right_frame”(或您命名框架的任何名称)。

我可以强烈建议您考虑一种不使用框架的设计吗?

问题回答

您需要使用name属性为两个框架命名,然后在左侧的超链接中,应该在右框架的target属性中指定右框架的名称。

您会发现以下参考资料非常有用:http://www.w3.org/TR/WD-html40-970917/present/frames.html#h-17.2





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签