Tip

Frameset URL

Have you ever needed a URL to open a view, document, page but it needed to be opened within a particular frame of a frameset. The real beauty of this method is that you can provide a link that will open anything that can be pointed to by a relative or absolute URL within your frame.


Syntax:

http://DomainName/DbName/FramesetName?OpenFrameset&Frame=FrameName&src=targeturl

Example 1. Open something in the same database in a frame.

http://www.mysite.com/homepage.nsf/MyFrameset?OpenFrameset&Frame=Main&src=myPage?OpenPage

Example 2. Open something in a different database in a frame.

http://www.mysite.com/homepage.nsf/MyFrameset?OpenFrameset&Frame=Main&src=/Otherdb.nsf/myview?OpenView

This was first published in July 2002

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.