I want to use javascript to play a sound when my site loads and then give the user the option to stop it using an onClick event. However my programming skills are not the best here is what i got so far:
<script type="text/javascript">
var soundfile="/media-bin/REM.mp3"
function playsound() {...
THANKS
It works now. Now I know what to do and how to code it. Now I just need to come up with a theme for my site. But this is not the forum for that topic, btw here is my site's URL http://dotcom.x10hosting.com. Once again thanks again.:biggrin:
Thanks.
I think there is something wrong with my code because i tried using no whatever.aspx.vb file just plain asp and it worked so i'll check the other thread
Yeah.
Here is the default.aspx.vb code:
Partial Class _Default
Inherits System.Web.UI.Page
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Label1.Text = "Hello World"
End Sub
End Class
Hello.
ASP does not seem to be working on my site here at x10. However, it works on my local machine. I created the page with MS Visual Web Developer using VB and uploaded all of the associated files to x10's server. Like I said the very basic "Hello World" web app works on my local machine...