Hello all,
I created a frameset with 2 frames, one frame (frame A) had a content (a page), and another (frame B) had no content.
And in a colunm of a view that has been treated contents as HTML, I input a formula such as :
“<a href="./…" target="B">frame B”
for wishing the link will be put in the frame B. But when I click the link (in web client), it always opens a new window with the link’s content, not in the frame B.
Any susgesion?
ChuongNT
Subject: How to put a page in a frame?
Should work (but then again you know that!).
Try a view source in the browser to see the HTML the frameset is generating. Check that it is generating a correct frame tag for frame B i.e.
…
HTH - Rufus.
Subject: RE: How to put a page in a frame?
No, the ViewTemplate is not put in any frame, but document links target of the view will be put in a frame of a frameset.
Subject: RE: How to put a page in a frame?
Using a frame as a target only works if the frame exists in the current window. If the view is not being displayed in a frameset, you can’t use target; you’ll need to use the launch properties of the form to autoframe your documents.
Subject: RE: How to put a page in a frame?
Thanks for your susgesion, but I find out a way to solve this problem :
The colunm formula is as below:
“<a href="./MyFrameSet?OpenFrameSet&Frame=FrameB&Src=”+@URLEncode(“UTF-8”;[my link put here])+“%26AutoFramed”>frame B"
And it work!
Thanks,
ChuongNT
Subject: RE: How to put a page in a frame?
Oh, yes, that is so much cleaner and more maintainable than using the autoframe properties ;o)