FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Urgent! please help me

 


Manuel
how can i add an operational form to my web page?

how can i add background music to my webpage?
imagefree
here is how you can add backround music.


Code:


Copypaste the script in HEAD to HEAD and the script in BODY to BODY

<head>


<script type="text/JavaScript">
<!--
function MM_controlSound(x, _sndObj, sndFile) { //v3.0
  var i, method = "", sndObj = eval(_sndObj);
  if (sndObj != null) {
    if (navigator.appName == 'Netscape') method = "play";
    else {
      if (window.MM_WMP == null) {
        window.MM_WMP = false;
        for(i in sndObj) if (i == "ActiveMovie") {
          window.MM_WMP = true; break;
      } }
      if (window.MM_WMP) method = "play";
      else if (sndObj.FileName) method = "run";
  } }
  if (method) eval(_sndObj+"."+method+"()");
  else window.location = sndFile;
}
//-->
</script>
</head>

<body onload="MM_controlSound('play','document.CS1183479495433','sound_file_name.wav')">
<EMBED NAME='CS1183479495433' SRC='sound_file_name.wav' LOOP=false
AUTOSTART=false MASTERSOUND HIDDEN=true WIDTH=0 HEIGHT=0></EMBED>
</body>



(this code is written in Dreamweaver


Just replace thesound_file_name.wav to the file name you want to play and then test on different browsers.
imagefree
yes you can easily add a form to your document (html) but first tell me what you want to do with the form? If you want to add just form tag use


Code:
<form>
</form>



It will add a form, but for functionality, you have to add some items in it, like text box etc.
cr3ativ3
If you would like help with adding forms you need to be more descriptive of what you would like the form to do from what you have described, 'imagefree' had your correct answer.

If you would learn how to code your own forms I would recommend at looking at:
http://www.w3schools.com/html/html_forms.asp

Good Luck.
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.