Dreamweaver
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Tutorialized ForumsWeb Design & DevelopmentDreamweaver

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Tutorialized Forums Sponsor:
  #1  
Old October 8th, 2008, 07:45 PM
OJA OJA is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Oct 2008
Posts: 4 OJA User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 5 m 44 sec
Reputation Power: 0
Metric converter

Hello members,i have been given a project to develop a metric converter to certisfy certain conditions using my knowledge of JavaScript/Dreamweaver but being a newbie in this area i dont know if a mistake was made.I thought JavaScript/Dreamweaver was for web designing so is the project valid and could you please give me some guide lines on how to go ahead with it.Thanks

Reply With Quote
  #2  
Old October 11th, 2008, 02:27 PM
Squibbit's Avatar
Squibbit Squibbit is offline
CSS freak
Tutorialized Novice (500 - 999 posts)
 
Join Date: Sep 2006
Location: Miami, FL, USA
Posts: 755 Squibbit User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 Days 8 h 35 m 58 sec
Reputation Power: 0
Send a message via AIM to Squibbit Send a message via MSN to Squibbit Send a message via Yahoo to Squibbit
The project would indeed be valid since Dreamweaver also handles the development of Javascript, PHP, CSS, (x)HTML even Flash Actionscript files. But it doesn't actually write the script for you, it just autoprompts as a reminder.
Javascript handles mathematic functions, as does PHP, so they make perfect calculators (especially since the use of if..else functions is apparent in these projects).

If you're looking for conversion, I would first begin by applying a calculator type interface with an HTML form with some fields for inputting values to be converted and a field where the output would be displayed, probably also a drop-down menu for each value (probably only two) which allows the user to select the type of metric measurement to convert from and to.

All of these types of measurements would be assigned to arrays.

I would then create some simple mathematic functions to perform the calculations for me.
Maybe an alert to say that the value given for conversion is invalid, if you're looking to show off.

Hope this helps, don't hesitate to ask if you run into any issues while coding the script.

Last edited by Squibbit : October 11th, 2008 at 02:31 PM.

Reply With Quote
  #3  
Old October 13th, 2008, 07:42 PM
OJA OJA is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Oct 2008
Posts: 4 OJA User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 5 m 44 sec
Reputation Power: 0
Quote:
Originally Posted by Squibbit
The project would indeed be valid since Dreamweaver also handles the development of Javascript, PHP, CSS, (x)HTML even Flash Actionscript files. But it doesn't actually write the script for you, it just autoprompts as a reminder.
Javascript handles mathematic functions, as does PHP, so they make perfect calculators (especially since the use of if..else functions is apparent in these projects).

If you're looking for conversion, I would first begin by applying a calculator type interface with an HTML form with some fields for inputting values to be converted and a field where the output would be displayed, probably also a drop-down menu for each value (probably only two) which allows the user to select the type of metric measurement to convert from and to.

All of these types of measurements would be assigned to arrays.

I would then create some simple mathematic functions to perform the calculations for me.
Maybe an alert to say that the value given for conversion is invalid, if you're looking to show off.

Hope this helps, don't hesitate to ask if you run into any issues while coding the script.



Thank you very much for your reply it has been really helpful,as of now as far as dreamweaver is concerned we have covered JavaScript, CSS, DHTML,HTML even Flash Actionscript files and others am yet to teach myself but since you said javascript handles mathematic functions then i think i will try to put my best at writing the code and i hope javascript doesnt have to work hand in hand with PHP because i don't know PHP as of now.I will keep updating you on my progress.

Reply With Quote
  #4  
Old October 20th, 2008, 10:20 PM
OJA OJA is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Oct 2008
Posts: 4 OJA User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 5 m 44 sec
Reputation Power: 0
Guide Me

Hello here is what am supposed to convert could you please advise me on how to go about the coding am not yet very good with Javascript.Check below.

Develop a metric converter which will satisfy the following
requirements.
1. There should be a separate web page that displays the metric conversion
chart. The chart should include the multiplying factors for the conversion.

Length conversion:
Should include the multiplying factors for following
Inches millimeters
Feet Meters
Yards - Meters
Miles Kilometers

Area conversion
Should include the multiplying factors for following
Square inches Square millimeters
Square feet Square meters
Square yards Square meters
Acres Hectares
Square miles Square kilometers

Volume conversion
Should include the multiplying factors for following
fluid ounces milliliters
gallons liters
cubic feet - cubic meters
cubic yards - cubic meters

Mass conversion
Should include the multiplying factors for following
Ounces grams
Pounds kilograms
short tons (2000 lb) - mega grams (or "metric ton")

Temperature conversion
Fahrenheit Celsius
Celsius Fahrenheit

2. There should be separate web pages for the various conversions, you need to
include the conversions of
a. Area
b. Length
c. Volume
d. Mass
e. Temperature
f. Currency

Reply With Quote
  #5  
Old November 4th, 2008, 06:18 PM
Squibbit's Avatar
Squibbit Squibbit is offline
CSS freak
Tutorialized Novice (500 - 999 posts)
 
Join Date: Sep 2006
Location: Miami, FL, USA
Posts: 755 Squibbit User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 Days 8 h 35 m 58 sec
Reputation Power: 0
Send a message via AIM to Squibbit Send a message via MSN to Squibbit Send a message via Yahoo to Squibbit
I haven't been around a while, not really sure how far you've gotten on this, but as far as the first step goes, I'd assume you will need to work out the multiplication factors between all of those metric conversions and display them in a chart.

From there on in, the formula in JavaScript should be simple. Define a few variables for each measurement and then calculate the difference.

Reply With Quote
  #6  
Old November 15th, 2008, 01:29 PM
hurnide hurnide is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Nov 2008
Posts: 2 hurnide User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 m 36 sec
Reputation Power: 0
As internet business is growing day by day, web design is buzzing high. As far as getting started and getting more clients is concerned, the best way I have learned is through word of mouth, and also through online. First of all you should settle on a name for your business and design/build a simple portfolio site to showcase your work. More you expose your good work more there are chances to get clients. Starting a web design business comprises a lot of things, so before getting started make sure you are all equipped to get into it.

Reply With Quote
Reply

Viewing: Tutorialized ForumsWeb Design & DevelopmentDreamweaver > Metric converter


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT