Results 1 to 5 of 5

Thread: Loading html in iframe from different folder

  1. #1
    Join Date
    Aug 2007
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Loading html in iframe from different folder

    Hi All,
    I am about to go mad on this. The problem seems simple: I use 6 or 7 topic directories on my site. Each has an index page (straight html) that is divided with menu on left, IFRAME for content in center, and iframe as pic viewer on right (all are in a table). onload a default topic is presented in the content viewer. Different selections are loaded from the menu.

    Issue: this all works well but I have an html Web Site Map (found in Docs & Stuff on left sidebar) with no links to content. Why you say? Because I can't figure out how to call the html topic pages into the parent index page from a file outside of the directory of each of the topics. I have tried a LOT of link and target attributes to no avail. The index either comes up with the default topic or the topic I want to jump to is sitting out there in a new window by itself.

    Help please. You can see the site at http://mcgymswim.com I have searched everywhere and even tried a couple of JS "fixes" but nothing does it. Perhaps I'm just dense.

    Thank you for your consideration. - Bsquared

  2. #2
    Join Date
    Feb 2007
    Location
    🌎
    Posts
    528
    Thanks
    10
    Thanked 10 Times in 10 Posts
    Blog Entries
    2

    Default

    Try making the sitemap yourself. (gasp )
    ....(o_ Penguins
    .---/(o_- techno_racing
    +(---//\-' in
    .+(_)--(_)' The McMurdo 500

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

    Default

    Hi Techno,

    That one is mine.

  4. #4
    Join Date
    Feb 2007
    Location
    🌎
    Posts
    528
    Thanks
    10
    Thanked 10 Times in 10 Posts
    Blog Entries
    2

    Default

    oh
    why not use the same method you do for other docs?
    ....(o_ Penguins
    .---/(o_- techno_racing
    +(---//\-' in
    .+(_)--(_)' The McMurdo 500

  5. #5
    Join Date
    Aug 2007
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Well, that is what I'm trying to do, but cannot get it to work. I use 7 directories under the root (as defined by the topic bar at page top). The site map must call topics into the index page of each in turn. When I do a standard link it is to the index page of the topic directory, say ../about_us/index.html. The target can be different choices but it always loads either the default content into the iframe (in this case our_story) or if I try to jump to ../about_us/index.html/our_successes with the target as the iframe name, it still loads the default page in the iframe.

    What's worse is when I try to target the _parent or whatever, it opens the topic in a blank window and is orphaned there. I guess links just aren't designed to go to a different directory and name the topic window that I want to load (into the iframe).

    There must be a way to jump to a directory THEN load a variable passed from the point of the jump. This is my first web site and I don't have the knowledge for that though.

    Thanks for your comments - Bsquared
    Last edited by bsquared0; 08-28-2007 at 03:57 AM.

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
  •