Go Back   Themers Club : Computers , Mobiles and Web Development Themes > Webmaster forum > Scripts and Tools

Scripts and Tools Share your free scripts , tools , icons, fontz, screen savers , etc here.

Thread Tools Display Modes
Old 09-14-2009, 01:05 PM
JavaScriptBank JavaScriptBank is offline
Senior Member
Join Date: Jul 2009
Posts: 207
Rep Power: 11
JavaScriptBank is on a distinguished road
Default Good and Nice JavaScripts

JavaScript library

Fahrenheit to Cel. Converter

This JavaScript will convert celsius to fahrenheit or fahrenheit to celsius, all you have to do is fill in the prompts and the conversion will appear in an alert box!... detail

[IMG]hxxp ://w w w.javascriptbank. com/javascript.images/calculation/fahrenheit-to-cel-converter.jpg[/IMG]
Demo: Fahrenheit to Cel. Converter

How to setup

Step 1: Place HTML below in your BODY section
// Lav Mir
<!-- Begin
var themethod= prompt("Please enter celsius to fahrenheit(c to f) or fahrenheit to celsius(f to c)", "Not case sensitive")
var thenewmethod= themethod.toLowerCase()
function f2c(fahrenheit1)
var answer ;
celsius1= 5/9 * (fahrenheit1 - 32)  
return ;

function c2f(celsius2)
var answer ;
var fahrenheit2 ; 
fahrenheit2= 9/5 * celsius2 + 32
return fahrenheit2 ;

switch (thenewmethod)
case "f to c":
var thefahrenheit= prompt("Please enter the degrees in fahrenheit", " ") ; 
answer= celsius1 ;
alert(thefahrenheit + "  is " + answer)
case "c to f":
var thecelsius= prompt("Please enter the degrees in celsius", " ")
var result= c2f(thecelsius);
alert(+ thecelsius + " is " + result) ; 
document.write("Please reload the page as there was an error")
//  End -->

    	This script downloaded from w w w.JavaScriptBank. com
    	Come to view and download over 2000+ free javascript at w w w.JavaScriptBank. com

JavaScript Make link open in new tab/window - JavaScript World clock - circumference calculator
Originally Posted by Copyright
The Site may provide, or third parties may provide, links to non-JavaScriptBank.com Internet World Wide Web sites or resources. Because JavaScriptBank.com has no control over such sites and resources, you acknowledge and agree that JavaScriptBank.com is not responsible for the availability of such external sites or resources, and does not endorse and is not responsible or liable for any content, advertising, products, or other materials on or available from such sites or resources. You further acknowledge and agree that JavaScriptBank.com shall not be responsible or liable, directly or indirectly, for any damage or loss caused or alleged to be caused by or in connection with use of or reliance on any such content, goods or services available on or through any such site or resource.
Reply With Quote
Old 04-20-2010, 06:08 PM
wassgha wassgha is offline
Junior Member
Join Date: Jul 2009
Posts: 7
Rep Power: 0
wassgha is on a distinguished road

Nice code, very clean
Reply With Quote
Old 06-07-2010, 06:42 AM
king john king john is offline
Junior Member
Join Date: Jun 2010
Posts: 5
Rep Power: 0
king john is on a distinguished road

Here is list of things you need to do;in order.

Click on My PC ,disk drive C, open windows folder,next high lite Folder labeled Java,Delete it.
Reply With Quote
Old 07-31-2010, 08:09 AM
sams ron sams ron is offline
Junior Member
Join Date: Jul 2010
Posts: 5
Rep Power: 0
sams ron is on a distinguished road

Javascript you only need a browser and text editor..
Reply With Quote
Old 08-12-2010, 07:22 AM
jasikamarshel jasikamarshel is offline
Junior Member
Join Date: Aug 2010
Posts: 5
Rep Power: 0
jasikamarshel is on a distinguished road

Java-script can be easily used to display RSS feeds on a website,Java-script is a web mark-up language that is recognised and read by the user's browser, but not all the time, depending on the set up of the site. Java-scripts can also be controlled by the host server in displaying RSS feeds on a website,Java Script will allow many page effects Some page effects that Java-Script,Java-Script not only provides access to HTML objects, it also gives access to browser and platform-specific objects like browser plug-ins and here a example of javascript <html>

<script type="text/javascript">
document.write("This is my first JavaScript!");

Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

All times are GMT. The time now is 05:15 PM.

Powered by vBulletin® Version 3.7.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.