I've written a story that has links to music throughout. I would like to hide windows media player, so that you hear the music but do not see the player. What should I include in the link script?
Hiding a new window
Collapse
X
-
Tags: None
-
-
You can have music playing in the background and then use javascript to change the source file, when someone clicks on a link on your page
The HTML code would be something like the below. I haven't checked if the below code works, but you get the idea. Google it for something like 'website background music' and you'll probably get better answers.
[HTML]<embed src="yourmusicf ile.mid" autostart="true " hidden="true">
</embed>
<noembed>
<bgsound src="yourmusicf ile.mid">
</noembed>[/HTML]Comment
-
I use the embed script on some pages. I'm looking for a short line of code that would be included in the a href string of a link that would hide the new window so you can just hear the music or perhaps would make the window small.Comment
-
You can use JavaScript to create the media player on the fly or to make the music play. Also if you simply want the music to play but for your users not to be able to see the player, all you need is a simple line of CSS.
[HTML]<object classid="clsid: 22D6F312-B0F6-11D0-94AB-0080C74C7E95" style="display: none;">
<param name="FileName" value="Song.mp3 " />
</object>[/HTML]
Thanks,
{\_/}
(' . ')
(")[DEATH](")
(")(")Comment
Comment