Results 1 to 5 of 5

Thread: iFrame likage

  1. #1
    Join Date
    Nov 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Post iFrame likage

    Hello...

    Im kind of trying to get the iframe system into my head but seems that it doesn't work...

    My problem is that I want to lik between two iframes, i.e. link embeded in iFrame1 opens page in iFrame2! Simply...

    Or more specified, I have my index here and within it I have two iframes. One for the menu and one for the content. So what I want to do is that if i press a menu item, that when it opens it opens in the contents iframe and not in the same iframe.

    What i thought about was something like <a href="link.html" target.... here comes the problem.... I have no idea how to target the link.html into an iframe in another external page...

    I know it must be possible to do it somehow.... Jus' i don' know how.
    If you know please halp, and if you don understand then check out the page itself and try the links. (try the contact one for example!)

    http://www.privat.katedral.se/~ib04j...grammeBiology/

    thnx

  2. #2
    Join Date
    Nov 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I could do it if I saw your source code, but from what you wrote and what I saw I can't just figure out the exact coding...

  3. #3
    Join Date
    Nov 2005
    Location
    ankara / turkiye
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    give your iframe a name like in this code:

    <iframe name="contents" src="contents.htm"></iframe>

    then when you write code in your menu.
    write "contents" in target. like;
    <a href="secondpage.htm" target="contents">

  4. #4
    Join Date
    Nov 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hello...
    I tried to name them and that didn't work, since the namin is in the iFrame and not in the index page... I can give you the soucrce code though by downloading this zip file where the contents are (the files used) (it's without pictures though, but the principle is the same...

  5. #5
    Join Date
    Nov 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by bluesteel522
    I could do it if I saw your source code, but from what you wrote and what I saw I can't just figure out the exact coding...
    I would really appreciate it if you could.

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
  •