开发者

a page shuold be open in right frame on clicking link of some page if left frame?

i am new user to php and开发者_开发技巧 i have a html page which is devided into two frmaes left frame and right frame and i am showing a tree list page in left frame and what i want to do is that when i click on a node of tree related link page should be open in right frame. how can i do this. plz help e out.


In your frameset, you define two <frames> — add a name="X" element to both, then in your links in your tree add target="right_frame" (or whatever you named your frame).

Might I strongly suggest that you consider a design that does not use frames?


You need to name both frames using the name attribute, and then in the hyperlinks in the left you should specify the name of the right frame in the target attribute of the right frame.

You will find the following reference useful: http://www.w3.org/TR/WD-html40-970917/present/frames.html#h-17.2

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜