/    Sign up×
Community /Pin to ProfileBookmark

link to an external page with specific iframes in place

Hey!
I have a sitemap i am making that is one page with no frames. I want to use that to link to another page that uses iframes and have secific frames load. How can I do that?
The page I want to link to has a iframe that contains the body and then an iframe inside that iframe that has specific stuff. How can I script is so that we they click on the link, it loads the page with a specific body frame with a specific iframe in the body iframe?
THANK YOU!
Jake.

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@Khalid_AliNov 13.2005 — you can pass a ref to the frame that u want to load, and then pass another parameter to that frames sub frame with another id that points to which data needs to be loaded. The above logic will work in both serverside programming as well as JavaScript implementation.
Copy linkTweet thisAlerts:
@LGJVCauthorNov 13.2005 — Do u have the scripts for me? Im new to JS and not sure how to do it.

Thanks.
Copy linkTweet thisAlerts:
@Khalid_AliNov 13.2005 — No I don't.Here is the logic though. Hopefully some one can find time to put together some pages for you.

  • 1. From main page a link is clicked

    href="http://domainNama.com/param=instructionForMainFram"


  • 2. When this second page is being loaded.

    using javascript parse the parameters in the url

    cmdStr = window.location.search;

    once you get the value, load the content according to it(implies the contents are

    dynamically loaded using JS).Once this page is loaded use the same mechanism to

    send the command to inner frame and load the infor accordingly.

    All of this is always done on server side....
  • ×

    Success!

    Help @LGJVC spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 6.17,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @nearjob,
    tipped: article
    amount: 1000 SATS,

    tipper: @meenaratha,
    tipped: article
    amount: 1000 SATS,

    tipper: @meenaratha,
    tipped: article
    amount: 1000 SATS,
    )...