Click to See Complete Forum and Search --> : to make javascript activate an html command?


Justin
04-29-2003, 05:50 PM
how do you make javascript activate a html comand, like <embed src="....midi" autoplay="true">
so when it is told to activate the music, how would do that?

khalidali63
04-29-2003, 06:15 PM
Take a look at this resource

http://www.webreference.com/js/column52/properties.html

Justin
05-01-2003, 02:18 PM
is there any other way, like non music. maby like marquies, tables

Justin
05-01-2003, 02:22 PM
can you activate stuff lkike marquees, add forms automaticly

Justin
05-02-2003, 03:00 PM
can you gat javascript to activate
an <html> comand

brendandonhue
05-02-2003, 04:35 PM
YES that has already been answered?
Can't help unless you tell us specifically what you want.
Maybe this is what your looking for

<script language="javascript">
function marquee()
{
document.write("<marquee>hello</marquee>")
}
</script>
<a href="javascript:marquee()">Hello</a>

That will marquee the word hello when the link is clicked.

brendandonhue
05-02-2003, 04:42 PM
oops.
this was supposed to be a reply not a thread. i hit the wrong button.