11 Jun 2010 @ 2:17 PM 

Steps to Adding the HTML Music Code

Step 1. Find a music sound file that you would like to use. Midi (.mid) is a good sound format to use because these files are generally smaller and load quickly, but you can also use .mp3 or .wav music, but keep in mind that big files will take the music longer to load. Be mindful of those who still have slow Internet access.

P.S. Make sure you have rights to the music file before you use it!

Step 2. Next, upload (save) this music file to your web server either using an FTP program or your web host’s file management control panel.

Step 3. Now open the web page you want the song to load with.  You’ll have to insert the following HTML code into your site, but first you’ll need to edit it.

<embed src=”musicfile.mp3″ autostart=”true” loop=”false”>

Note: Music file should be in the same folder with web page, or you have to modify src path.

Posted By: lvlind
Last Edit: 06 Oct 2016 @ 04:16 PM

EmailPermalinkComments Off on How to add background music to your website
Tags
Tags:
Categories: Uncategorized
 04 Dec 2009 @ 4:40 PM 

How to create drop-down menu?

Let’s start, I’ll show you 2 examples, first one will allow only to chose something from the options list, second one will allow you to choose an option and be redirected to the page (where you’ll be able to represent something), you can see both methods in work here.

1st example:

Add following HTML code to your website’s code:

<select id=”Select” name=”Select”>
<option>option1</option>
<option>option2</option>
<option>option3</option>
<option>option4</option>
<option>option5</option>
</select>

2nd example:

<script language=”JavaScript”>
<!–
function goToURL(form)
{
var myindex=form.dropdownmenu.selectedIndex
if(!myindex==””)
{
window.location.href=form.dropdownmenu.options[myindex].value;
}
}
//–>
</script>
<form name=”form1″>
<select name=”dropdownmenu” size=1 onChange=”goToURL(this.form)”>
<option selected value=””>choose your favorite search engine</option>
<option value=”http://google.com”>Google</option>
<option value=”http://msn.com”>MSN</option>
<option value=”http://yahoo.com”>YAHOO</option>
<option value=”http://aim.com”>AIM</option>
</select></form>

Posted By: lvlind
Last Edit: 06 Oct 2016 @ 04:17 PM

EmailPermalinkComments (0)
Tags
Tags:
Categories: Uncategorized
 30 Nov 2009 @ 5:37 PM 

How to create Contact Form? How can website visitors contact with me? Here is simple tutorial for you.

1. Download following package it contains all files which are needed for Contact Form, and extract all files into your account.

2. Now, you should move FormMail.pl file into cgi-bin folder in your account or some folder which can execute CGI and Perl scripts (if you don’t know such folder, contact with your hosting support).
Note: Formmail.pl should have 755 permissions

3. contactform.html file contain default HTML code with already ready contact form, you can check an example here

4. Open FormMail.pl in text editor and replace following lines by your information (change YOUR@MAILBOX.COM value to the name of the mailbox, where all information from the form should be sent and set your domain name instead of YOURDOMAIN.COM):

$postmaster        = qw(YOUR@MAILBOX.COM);
@referers          = qw(YOURDOMAIN.COM);
@allow_mail_to     = qw(YOUR@MAILBOX.COM WWW.YOURDOMAIN.COM);

then open contactform.html and find following line:

<form method=”post” action=”http://YOURDOMAIN.COM/cgi-bin/FormMail.pl”>
<input type=”hidden” name=”recipient” value=”YOUR@MAILBOX.COM” />

just set your domain name and mailbox instead of these lines and thats all, save the file and now your form is ready.

Posted By: lvlind
Last Edit: 06 Oct 2016 @ 04:17 PM

EmailPermalinkComments (0)
Tags
Tags:
Categories: Uncategorized

 Last 50 Posts
Change Theme...
  • Users » 1
  • Posts/Pages » 35
  • Comments » 0
Change Theme...
  • VoidVoid « Default
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LightLight

About



    No Child Pages.

Need Help?



    No Child Pages.

Check your IP



    No Child Pages.