Advanced Search

Results 1 to 4 of 4

Thread: frames and iframe - linking

  1. #1
    Join Date
    Aug 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cool frames and iframe - linking

    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.

  2. #2
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    Not sure if this will work, but try it anyway.

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

    Set the link target to the name specified:
    Code:
    <a href="#" target="iframepage">
    Hopefully this'll help.
    - Mike

  3. #3
    Join Date
    Aug 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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

  4. #4
    Join Date
    Aug 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    mburt,

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •