Web Question

Hi

how do i make it open the redirect page in the top URL. I have a page with 3 frames on the page and I wanted to open this URL in the top page…

pgRedirect := “http://www.ibm.com”;

@If(pgRedirect=“”;“”; “<META HTTP-EQUIV="refresh" content="0; URL=”+ pgRedirect +""> ") ;

Currently it opens the URL in the content frame and other two frames shows with same link.

Thanks in advance.

Subject: Web Question

So this JS is in the content frame then?Direct the URL to the frame, as in:

window.frames[“nameofframe”].document.location.href = whatever

Subject: RE: Web Question

hi

thanks for your response. this code is in $$HTMLField. So can someone help me how to redirect the page url to top frame in @ formula function.

Subject: RE: Web Question

Do you mean open it in the top frame or open it as a single page replacing the frameset?

Try this to open in top frame…

pgRedirect :=

http://www.ibm.com/database.nsf/FramesetName?OpenFrameSet&Frame=TopFrameName&Src=DocToLoad

Try this to open as a new page in the same window

pgRedirect :=

http://www.ibm.com/database.nsf/DocToLoad?OpenDocument&target=_blank

(That is “_blank” the _ might be hard to read in the url)

HTH - regards

Subject: RE: Web Question

hi

thanks for your response. i tried _top and its still loading in the current frame. the scenario is this… i have a 3 frames in the database. top frame with search option, left frame with links and the content frame to open all the forms.

I have a redirect code is one of the form that works fine. But the problem is it opens the homepage form (redirect page) URL in the content frame itself. I wanted to open this redirect form in the full page. not in any one frame.

my URL looks like this…

http://servername/db.nsf/homepage?openform&target=_top

Can someone help.

thanks