/    Sign up×
Community /Pin to ProfileBookmark

Working With 2 Iframes

[COLOR=DarkSlateBlue]I would like working with 2 frames at the same time and running a .HTA application.

Steps of my reasoning:

ALWAYS WORKING WITH IFRAMES!!!

  • 1. I open Google inside (IFRAME1).

  • 2. Google display the results of my search (IFRAME1)
  • two options for 3rd step:

    3.
    A – A function (AT ANY MOMENT) (using button click) open another iframe (IFRAME2) with the same contents of (IFRAME1) or in another words: REPLACE IFRAME 2 WITH IFRAME1!

    OR

    B – I select a link (iframe1 and it open in another Iframe (IFRAME2)
    (very difficult or impossible!)

    THANK YOU

    JANLEE[/COLOR] ?

    to post a comment
    JavaScript

    2 Comments(s)

    Copy linkTweet thisAlerts:
    @UltimaterMay 10.2005 — Because of cross-domain security issues, you'll receive an access-denied error!

    Sorry, but JavaScript cannot add or detect any event(s) in an Iframe from a different domain. ?

    After the user types-in their search for Google, how can you detect the results? :rolleyes:
    Copy linkTweet thisAlerts:
    @janleeauthorMay 11.2005 — Ultimater,

    But I am working with a .HTA application. There is not difference?

    Regards

    JanLee
    ×

    Success!

    Help @janlee 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,
    )...