layers.

admin

Administrator
Staff member
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, <!-- m --><a class="postlink" href="http://www.xyz.com/filename.mp3">http://www.xyz.com/filename.mp3</a><!-- m --> or <!-- m --><a class="postlink" href="http://www.xyz.com/filename.rm">http://www.xyz.com/filename.rm</a><!-- m --> which is fetched in a string variable as '<a href=http://www.webdeveloper.com/forum/archive/index.php/"http://www.xyz.com/filename.mp3"> Right Click and Download here </a>' or '<a href=http://www.webdeveloper.com/forum/archive/index.php/"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,
 
Back
Top