Click to See Complete Forum and Search --> : layers.


urxlnc
02-21-2003, 12:29 PM
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, http://www.xyz.com/filename.mp3 or http://www.xyz.com/filename.rm 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,

urxlnc
02-21-2003, 02:00 PM
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.

urxlnc
02-22-2003, 12:44 AM
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,

urxlnc
02-22-2003, 01:44 AM
Well I got it working :) thanks a lot :)