/    Sign up×
Community /Pin to ProfileBookmark

window/frame variables

Hey ?

I have a small problem and I was hoping someone might be able to help.

I have created a site which I wish to redirect to another URL (if the external URL is active/turned on).

I created a frameset which has two additional frames.

1) a local page which contains an empty variable
2) an external page (eg [url]http://xxx.xxx.xxx.xxx/page.html[/url])

I have set it up so that page 2 changes a variable in page 1 when it loads. page 1 then after 5 seconds, check the variable, if it is true (the server is on) the top.window.location changes.

Unfortunatly I am having some trouble writing to the variable, can anyone help?

ty, Louis

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@Khalid_AliJan 12.2004 — whats the error??

if you are getting access denied then forget it,

It means that you are trying to access data on a page that is out of domain.

If you are not getting access denied then show us the error or better yet,post the link to the pages
×

Success!

Help @LouisSlippers 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.19,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

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

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