/    Sign up×
Community /Pin to ProfileBookmark

invisible frame

i have a html page . it has a button “click me”.

under this button i want to keep 2 url, say url-1 and url-2…Ok.

Now what i want is , when i click the button on the html page url-1 will be loaded but it would be invisible to the browser,may be hidden, after some time, say 5 sec url-2 would be activated and would be visible to the browser.

how can i do it ?

my guess, i think i need to use frames or Javascrit function.
i am confused how to do it ? can please advice me with sample code ?

thank you

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@cofactorauthorJun 30.2005 — is it difficult ? i just want to display url-2 and want to hide url-1 . url-1 may load on the browser but it would redirect to url-2 after 10 secs(say).
×

Success!

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