87292117 Project Report on e Commerce Website
Short Description
Education...
Description
Synopsis Clothes Collection
Submitted by-
As a practical part in the subject Fundamental of Ecommerce
Clothes Collection Team Members-
My Role -> 1.) Making sign up ang sign in form 2.) Connectivity of database 3.) Inserting flash objects 4.) Designing Part
Aknowledgements I would like to thank our teacher Mr. for his support and proper guidance in the subject Fundamental of E-commerce. I would like to thank Mrs. for her support in the subject Web Designing in the previous semester
INTRODUCTION
Clothes Collection Clothing is one of the leading companies in India manufacturing, retailing and exporting readymade garments. Established in 1999, the company is a trendsetter in designing and supplying garments at the most competitive prices. A young at heart company, Clothes Collection clothing is constantly innovating, keeping abreast of internationally in vogue trends and is in compliance with the worldwide standards. Since our establishment, we have achieved outstanding sales and stable growth. Today our products are distributed to many countries across the globe. We owe our success to quality, timely delivery, price and satisfaction of the clients.
TECHNOLOGIES WE USED IN THE PROJECT HTML HTML is a language for describing web pages.
HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup language A markup language is a set of markup tags HTML uses markup tags to describe web pages
HTML Tags HTML markup tags are usually called HTML tags
HTML tags are keywords surrounded by angle brackets like HTML tags normally come in pairs like and The first tag in a pair is the start tag, the second tag is the end tag Start and end tags are also called opening tags and closing tags
HTML Documents = Web Pages
HTML documents describe web pages HTML documents contain HTML tags and plain text HTML documents are also called web pages
The purpose of a web browser (like Internet Explorer or Firefox) is to read HTML documents and display them as web pages. The browser does not display the HTML tags, but uses the tags to interpret the content of the page:
My First Heading My first paragraph.
HTML Headings HTML headings are defined with the to tags.
Example This is a heading This is a heading This is a heading
HTML Paragraphs HTML paragraphs are defined with the tag.
Example This is a paragraph. This is another paragraph.
HTML Links HTML links are defined with the tag.
Example This is a link
Note: The link address is specified in the href attribute.
HTML Images HTML images are defined with the tag.
Example
HTML Elements An HTML element is everything from the start tag to the end tag:
Start tag *
Element content
End tag *
This is a paragraph
This is a link
* The start tag is often called the opening tag. The end tag is often called the closing tag.
HTML Element Syntax
An HTML element starts with a start tag / opening tag An HTML element ends with an end tag / closing tag The element content is everything between the start and the end tag Some HTML elements have empty content Empty elements are closed in the start tag Most HTML elements can have attributes
Tip: You will learn about attributes in the next chapter of this tutorial.
HTML Document Example This is my first paragraph.
The example above contains 3 HTML elements.
HTML Example Explained The element:
This is my first paragraph.
The element defines a paragraph in the HTML document. The element has a start tag and an end tag . The element content is: This is my first paragraph.
The element:
This is my first paragraph.
The element defines the body of the HTML document. The element has a start tag and an end tag . The element content is another HTML element (a p element). The element:
This is my first paragraph.
The element defines the whole HTML document. The element has a start tag and an end tag . The element content is another HTML element (the body element).
Empty HTML Elements HTML elements with no content are called empty elements. Empty elements can be closed in the start tag. is an empty element without a closing tag (the tag defines a line break). In XHTML, XML, and future versions of HTML, all elements must be closed. Adding a slash to the start tag, like , is the proper way of closing empty elements, accepted by HTML, XHTML and XML. Even if works in all browsers, writing instead is more future proof.
HTML Text Formatting Tags Tag
Description
Defines bold text
Defines big text
Defines emphasized text
Defines italic text
Defines small text
Defines strong text
Defines subscripted text
Defines superscripted text
Defines inserted text
Defines deleted text
HTML Style Example - Background Color The background-color property defines the background color for an element:
Example This is a heading This is a paragraph.
HTML Style Example - Font, Color and Size The font-family, color, and font-size properties defines the font, color, and size of the text in an element:
Example A heading A paragraph.
HTML Style Example - Text Alignment The text-align property specifies the horizontal alignment of text in an element:
Example This is a heading The heading above is aligned to the center of this page.
HTML Hyperlinks (Links) A hyperlink (or link) is a word, group of words, or image that you can click on to jump to a new document or a new section within the current document. When you move the cursor over a link in a Web page, the arrow will turn into a little hand. Links are specified in HTML using the tag. The tag can be used in two ways: 1. 2.
To create a link to another document, by using the href attribute To create a bookmark inside a document, by using the name attribute
HTML Link Syntax The HTML code for a link is simple. It looks like this:
Link text
The href attribute specifies the destination of a link.
Example Visit akc
which will display like this: Visit akcjobconsultancy Clicking on this hyperlink will send the user to akc job consultancy' homepage.
HTML Links - The target Attribute The target attribute specifies where to open the linked document. The example below will open the linked document in a new browser window:
Example Visit akc!
HTML Links - The name Attribute
The name attribute specifies the name of an anchor. The name attribute is used to create a bookmark inside an HTML document. Bookmarks are not displayed in any special way. They are invisible to the reader.
Example A named anchor inside an HTML document:
Useful Tips Section
Create a link to the "Useful Tips Section" inside the same document:
Visit the Useful Tips Section
Or, create a link to the "Useful Tips Section" from another page:
Visit the Useful Tips Section
HTML The Tag and the Src Attribute In HTML, images are defined with the tag. The tag is empty, which means that it contains attributes only, and has no closing tag. To display an image on a page, you need to use the src attribute. Src stands for "source". The value of the src attribute is the URL of the image you want to display. Syntax for defining an image:
The URL points to the location where the image is stored. An image named "boat.gif", located in the "images" directory on "www.akcjobconsulatancy.com" has the URL: www.akcjobconsultancy.com/images/boat.gif. The browser displays the image where the tag occurs in the document. If you put an image tag between two paragraphs, the browser shows the first paragraph, then the image, and then the second paragraph.
HTML Forms HTML forms are used to pass data to a server.
A form can contain input elements like text fields, checkboxes, radio-buttons, submit buttons and more. A form can also contain select lists, textarea, fieldset, legend, and label elements. The tag is used to create an HTML form:
. input elements .
HTML Forms - The Input Element The most important form element is the input element. The input element is used to select user information. An input element can vary in many ways, depending on the type attribute. An input element can be of type text field, checkbox, password, radio button, submit button, and more. The most used input types are described below.
Text Fields defines a one-line input field that a user can enter text into:
First name: Last name:
How the HTML code above looks in a browser:
First name: Last name: Note: The form itself is not visible. Also note that the default width of a text field is 20 characters.
Password Field defines a password field:
Password:
How the HTML code above looks in a browser:
Password: Note: The characters in a password field are masked (shown as asterisks or circles).
Radio Buttons defines a radio button. Radio buttons let a user select ONLY ONE one of a limited number of choices:
Male Female
How the HTML code above looks in a browser:
Male Female
Checkboxes defines a checkbox. Checkboxes let a user select ONE or MORE options of a limited number of choices.
I have a bike I have a car
How the HTML code above looks in a browser:
I have a bike I have a car
Submit Button defines a submit button. A submit button is used to send form data to a server. The data is sent to the page specified in the form's action attribute. The file defined in the action attribute usually does something with the received input:
Username:
How the HTML code above looks in a browser:
Username:
Submit
If you type some characters in the text field above, and click the "Submit" button, the browser will send your input to a page called "html_form_action.asp". The page will show you the received input.
CSS Style sheets are a very powerful tool for the Web site developer. They give you the chance to be completely consistent with the look and feel of your pages, while giving you much more control over the layout and design than straight HTML ever did. Invented in 1997, Cascading Style Sheets are just now starting to be widely used among browsers and Web developers are learning to be more comfortable with them. Those of you who use HomeSite 4.0 know that they are eventually going to take the place of tags such as , which have been deprecated in HTML 4.0. There are three parts to CSS: the styles, their placement, and the fact that they can cascade.
How to Use Styles When a browser reads a style sheet, it will format the document according to it. There are three ways of inserting a style sheet:
External style sheet Internal style sheet Inline styles
External Style Sheet An external style sheet is ideal when the style is applied to many pages. With an external style sheet, you can change the look of an entire Web site by changing one file. Each page must link to the style sheet using the tag. The tag goes inside the section:
Internal Style Sheet An internal style sheet can be used if one single document has a unique style. Internal styles are defined in the section of an HTML page, by using the tag, like this:
body {background-color:yellow} p {color:blue}
Inline Styles An inline style can be used if a unique style is to be applied to one single occurrence of an element. To use inline styles, use the style attribute in the relevant tag. The style attribute can contain any CSS property. The example below shows how to change the text color and the left margin of a paragraph:
This is a paragraph.
MS-ACCESS Ms Access is a database management tool that enables one to have good command of data collected. The programme enables one to
retrieve, sort, summarize and report results speedily and effectively. It can
combine data from various files through creating relationships, and can make data entry more efficient and accurate. Microsoft Access (MS Access) enables one to manage all important information from a single database file. Within the file, one can use:
• Tables to store your data.
• Queries to find and retrieve specific data of interest.
• Forms to view, add, and update data in tables.
• Reports to analyze or print data in a specific layout.
• Data access pages to view or update, the data.
In MS Access, data is stored once in one table, but can be viewed from multiple locations. When the data is updated in a Table, Query or Form, it is automatically updated everywhere it appears Establishment of Ms Access database All Ms Access databases files are saved with extension .mdb. A database should have a separate table for every major subject, such as pedigree records, Production data or Treatment information. Data should not be duplicated in multiple tables. Microsoft Access provides three methods to create a database
„ Database Wizard (though easy, the wizard offers limited options to customize the database)
„ Using a template (This method works best if one can find and use a template that closely matches the specific requirements)
„ Creating a database directly (This is the most flexible method, but it requires one to define each database element separately). Create a new Access database After creating a new database, this should be saved by the name which reflects the content of the database. Upon saving the database, the Ms Access database window opens with the Tables tab-active (i.e in such a way that the next activity should be to create a table). MS-Access Basic
Creating a table
Tables are the data storage facilities in Ms Access. Each table contains rows called records
and columns called fields. A record is a collection of facts about a particular animal or event. Each record in a table should be unique. To distinguish one record from another, tables can contain a primary key field. A field is a single kind of fact that may apply to each animal or event. For example, date of birth is a field in a table on animal information. The fields in a database have settings that determine the
- type of data they can store,
- how the data is displayed,
- what can be done with the data.
For example, field settings can ensure that birth dates are entered with two numbers for the month, two numbers for the day, four numbers for the year, and slashes in between:
01/04/2006.
One important setting for fields is the data type, which could be a number, text, currency, and date/time. The data type limits and describes the kind of information in the field. The data type also determines the actions one can perform on a field and how much memory the data will use. Fields also have properties that control the details of information inside them, including a character length, a default value, and a validation rule that makes sure the data meets certain criteria.
Tables may be created by either:
- Table wizard,
- Design view
- Entering data in a spreadsheet
JAVA SCRIPT
JavaScript
JavaScript was designed to add interactivity to HTML pages JavaScript is a scripting language A scripting language is a lightweight programming language JavaScript is usually embedded directly into HTML pages JavaScript is an interpreted language (means that scripts execute without preliminary compilation) Everyone can use JavaScript without purchasing a license
Are Java and JavaScript the same? NO! Java and JavaScript are two completely different languages in both concept and design! Java (developed by Sun Microsystems) is a powerful and much more complex programming language - in the same category as C and C++.
What can a JavaScript do?
JavaScript gives HTML designers a programming tool - HTML authors are normally not programmers, but JavaScript is a scripting language with a very simple syntax! Almost anyone can put small "snippets" of code into their HTML pages
JavaScript can put dynamic text into an HTML page - A JavaScript statement like this: document.write("" + name + "") can write a variable text into an HTML page JavaScript can react to events - A JavaScript can be set to execute when something happens, like when a page has finished loading or when a user clicks on an HTML element JavaScript can read and write HTML elements - A JavaScript can read and change the content of an HTML element JavaScript can be used to validate data - A JavaScript can be used to validate form data before it is submitted to a server. This saves the server from extra processing JavaScript can be used to detect the visitor's browser - A JavaScript can be used to detect the visitor's browser, and - depending on the browser - load another page specifically designed for that browser JavaScript can be used to create cookies - A JavaScript can be used to store and retrieve information on the visitor's computer
SCREEN SHOTS & CODING
HOMEPAGE
Clothes Fasion ClothesCOLLECTION Sign In | Sign Up | Contact us | | MEN COLLECTION | WOMEN COLLECTION |
KIDS COLLECTION Clothes Collection Clothing is one of the leading companies in India manufacturing, retailing and exporting readymade garments. Established in 1999, the company is a trendsetter in designing and supplying garments at the most competitive prices. A young at heart company, Clothes Collection clothing is constantly innovating, keeping abreast of internationally in vogue trends and is in compliance with the worldwide standards. Since our establishment, we have achieved outstanding sales and stable growth. Today our products are distributed to many countries across the globe. We owe our success to quality, timely delivery, price and satisfaction of the clients. MEN Men's Wear has always been a forte and strong hold of Clothes Collection Clothing. We have the best possible set up to design and produce any style in Men's Wear segment. Our range includes Formal wear, Club wear, Street wear and Denims. The fabrics used are normally cottons sourced from best of the mills in India. WOMEN Our design team specialises in designing the latest high fashion women's wear garments including Evening dresses, Tunics, Embroidered shirts, sequenced tops etc. The range is always designed keep in
mind the season's latest international fashion trends. The fabrics used are Georgette, Crepe, Viscose, Poplins and Cambric.. KIDS Fasion tips For those of you who are fat or on the heavier side, you don't desire to be tiring turtlenecks this wintry weather. Try to purchase sweaters or elongated covering tops with a V-neck. This obviously describes the eyes downhill producing the cause of a sleeker outline. It as well crafts you come out to enclose a longer neck instead of your small neck or dual chin. Choose a designer Choose a Designer Designer Manish Malhotra Rohit Bal Ritu kumar
Zara Copyright information goes here. All rights reserved
MEN CLOTHING
MEN COLLECTION var flashvars = {}; flashvars.folderPath = "men/"; var params = {}; params.scale = "noscale"; params.salign = "tl"; params.wmode = "transparent"; var attributes = {}; swfobject.embedSWF("men/ImageScrollerFX.swf", "ImageScrollerFXDiv", "575", "700", "9.0.8", true, flashvars, params, attributes);
ClothesCOLLECTION Site in | Sign Up |
Contact us HOME | ACCESSORIES | WOMEN COLLECTION | KIDS COLLECTION Copyright information goes here. All rights reserved
WOMEN CLOTHING
WOMEN COLLECTION var flashvars = {}; flashvars.folderPath = "women/"; var params = {}; params.scale = "noscale"; params.salign = "tl"; params.wmode = "transparent"; var attributes = {}; swfobject.embedSWF("women/ImageScrollerFX.swf", "ImageScrollerFXDiv", "575", "700", "9.0.8", true, flashvars, params, attributes);
ClothesCOLLECTION Sign in | Sign Up | Contact us
HOME | ACCESSORIES | MEN COLLECTION | KIDS COLLECTION Copyright information goes here. All rights reserved
KIDS CLOTHING
KIDS COLLECTION var flashvars = {}; flashvars.folderPath = "kids/"; var params = {}; params.scale = "noscale"; params.salign = "tl"; params.wmode = "transparent"; var attributes = {}; swfobject.embedSWF("kids/ImageScrollerFX.swf", "ImageScrollerFXDiv", "575", "700", "9.0.8", true, flashvars, params, attributes); ClothesCOLLECTION Sign in | Sign Up | Contact us HOME |
ACCESSORIES | MEN COLLECTION | WOMEN COLLECTION |
SIGN UP
Sign Up
function validate(form) { var day=document.getElementById("txtday"); var month=document.getElementById("txtmonth"); var year=document.getElementById("txtyear"); var gender=document.getElementById("txtgender"); var country=document.getElementById("country"); var firstname=document.getElementById("firstname").value; var lastname=document.getElementById("lastname"); var username=document.getElementById("username"); var pwd=document.getElementById("pwd"); var pwd2=document.getElementById("pwd2"); var email=document.getElementById("email"); var email2=document.getElementById("email2") if(form.firstname.value =="") { alert("first name cannot be empty"); form.firstname.focus(); return false; } if(form.lastname.value =="") { alert("last name cannot be empty"); form.lastname.focus(); return false; } re = /^\w+$/; if(!re.test(form.username.value)) { alert("Error: Username must contain only letters, numbers and underscores!"); form.username.focus(); return false; }
if(form.pwd.value == form.firstname.value) { alert("Error: Password must be different from Username!"); form.pwd.focus(); return false; } if (form.pwd.value != form.pwd2.value) { alert('both password dont match!'); form.pwd.focus(); return false; } if(form.pwd.value.length
View more...
Comments