/    Sign up×
Community /Pin to ProfileBookmark

Hi,

I in mess with this for sometime now, I know some Javascript, and I need help with this.

Please understand the following and reply me ASAP.

There is <Select> in my HTML, with the format name for download, there are two formats “MP3” and “Real”, when the user selects the format a javascipt makes the URL, target URL created are, [url]http://www.xyz.com/filename.mp3[/url] or [url]http://www.xyz.com/filename.rm[/url] which is fetched in a string variable as ‘<a href=”http://www.xyz.com/filename.mp3“> Right Click and Download here </a>’ or ‘<a href=”http://www.xyz.com/filename.rm“> Right Click and Download here </a>’

Everything is working file until here, but I shouldn’t redirect the user to the file, as it won’t be available to download as it would start playing otherwise. But to display the text somewhere on the document, the main problem is it should be displayed when the list changes, (it wouldn’t have been a problem otherwise, I could have used document.write)

I know this can be done with the Layers. But I have no idea how.

Please Help.

Thanks,

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@urxlncauthorFeb 21.2003 — Any Help with the above please, I was also considering, opening a _blank widown and to write the link there, but it would be great if it is in the page itself.

Please reply.
Copy linkTweet thisAlerts:
@urxlncauthorFeb 22.2003 — Thanks ?


Its working, but I can't see the layer, but atlest there are no errors now, how can I make it visible? and also how can I position it? I am sorry I don't have idea about using layers.

I want it to be displayed in the middle of the page (horizontal) and at 400 pixels (vertical)

thanks,
Copy linkTweet thisAlerts:
@urxlncauthorFeb 22.2003 — Well I got it working ? thanks a lot ?
×

Success!

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