/    Sign up×
Community /Pin to ProfileBookmark

Newbie needs help…

Ok I will start by saying I know NOTHING about JavaScript. What I want to do seems like it should be easy, but I have no idea how to implement it.

I have a page with two Iframes. One called _iframe and the other called _sound.

There is a section of my site were I need the sound on the page loaded into _sound to stop playing so that the page loaded into _iframe can play its sounds. I have already accomplished this easily by using stopallsounds in the flash loaded into_iframe. However, when the visitor leaves the page loaded into _iframe and goes to another page on my site I want the page in _Iframe to load the page in _sound back in so it plays again. Since I have flash loaded in both Iframes I can reload the page in _sound with an button, but flash has no way of reloading the page if the visitor uses the browser buttons or clicks on a link in the menu which is seperate from the two frames. this is were I think JavaScript can come in. Can anyone tell me how to make the page loaded into _iframe open a page into_sound when the customer leaves that page?

Sorry for the long description, but I know nothing about Javascript and it may be easier to answer the question the more you know.

Thankx in advance.

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@2004028Nov 18.2004 — Post what you have so far. Let us see what you've done. Sometimes it is hard to use words to discribe what a function does right?
Copy linkTweet thisAlerts:
@7studNov 18.2004 — Ok I will start by saying I know NOTHING about JavaScript....

I have a page with two Iframes...[/quote]


Hold it right there! When you start off with that first line, all that should follow it is a question like:

1)Where do I put <script> tags on a page?

or

2) How do I make an alert() display "hello world"?

Otherwise, don't even think about an iframe, don't say iframe, and don't write the word iframe unless it's this:

3) I need an iframe script for my page, how much will it cost?
×

Success!

Help @menase 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 5.6,
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: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

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