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
 30 Nov 2009 @ 3:58 PM 

How to add video player to your website? It is so easy:

1. Download player example here

2. And edit the code in index.html file, here is explanation, all you need is upload your own FLV video file in some folder of your website account and define link in the code. Default link to the movie is:

<a
href=”http://webnoob.info/video/flowplayer/video.flv”
style=”display:block;width:520px;height:330px”
id=”player”>
</a>

where http://webnoob.info/video/flowplayer/video.flv is link to your video file and width:520px; height:330px is a resolution of your video.

3. Flash player can work only with FLV files, so you should have FLV converter also, you can download it here , converter allows to convert most used video formats (MPEG, AVI, MP4 ) to FLV format.

Ok, and now an example of the FLOW-player

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.