PDA

View Full Version : frames and iframe - linking



deepenuf2dream
08-19-2006, 02:24 AM
Hello all,

I am working on a new design for my website, it includes 2 frames (a head frame, and a body frame). In the body frame there is an iframe, and I am using the 'IFrame SSI script II' to auto adjust the size of the frame to fit the page. It is working great, I really like the code.

Here is my problem...I am having trouble with the links in the head part...how can I make them to open in the iframe also...without interfering with the script.

I appreciate any help I can get on this subject.

Thank you in advance.

mburt
08-19-2006, 02:28 AM
Not sure if this will work, but try it anyway.

Set the name of the <iframe> to "iframepage":

<iframe name="iframepage">
Note: the attribute has to be name, not id.

Set the link target to the name specified:

<a href="#" target="iframepage">

Hopefully this'll help.

deepenuf2dream
08-19-2006, 02:30 AM
Thanx mburt,

I'll give that a try, now that you said it seems like I saw something like that on one of the hundreds of pages I viewed trying to figure it out. I'll let ya know how it turns out.

thanx

deepenuf2dream
08-19-2006, 02:41 AM
mburt,

You are wise, my friend, works great....in the newer versions if IE, NS, and FF. Thanx alot, I appreciate it.