JSSS

Domain Hosting image
Web Hosting
Dedicated server
ssl certificate
Web Design image
Email
JSSS enables a style sheet to query the browser about its platform, the size of the window, colour compatibility, and other items before assigning values to its various tags and classes. This enables a JSSS page to customize itself to its environment instead of using a standard one.

How does this help in DHTML? First, JavaScript is the language of the choice for this course material when you start working with event and actions on a web page. So, learning to work with JSSS and JavaScript is advisable.

Second, layers are an option for styles in Netscape 4.0 and they are controlled by JavaScript. So if you know to control layers with JavaScript, DHTML becomes easy for you.

JSSS and CSSI

CSS1 (cascading style sheet) is the standard from the World Wide Web Consortium (W3C) This is slightly different from Netscape's JSSS. Netscape supports CSS and JSSS. In both models each style attribute is associated with a property, although it is represented slightly differently. For example text align in CSS is the same as textAlign in JSSS. As a rule, a hyphenated word in CSS becomes a single word in JSSS, with the first initial of the second word capitalized. JavaScript is case sensitive, so remember how to convert two word values.

Another important difference appears when you need to mark the style sheet with the <STYLE> tag. Where CSS uses text/css, JSSS uses text/ja va script. For example, to link to an external JavaScript style sheet, use this tag:

<LINK REL=stylesheet type= "text/javascript" href="/dhtml/try.js">

Although cascading style sheets work in both Netscape Navigator and Internet Explorer, JavaScript style sheets currently work only with Netscape 4.0. In spite of all these differences they both share one common feature, that is, every style attribute in CSS is also available in JavaScript. The only difference is the syntax used to define the style sheet.

What is JavaScript?

JavaScript is a scripting extension to HTML that extends your ability to control the HTML page and respond to user events without the need for client/ server communication or CGI scripting. JavaScript is more closely related to a programming language than to HTML tags. It cannot exist outside of HTML. To work JavaScript must be included as a part of web page in a browser that understands JavaScript.

Although there are many ways to control the browser from within a Java applet, simple tasks such as computing a form or controlling frame content can become complicated affairs. JavaScript bridges the gap by enabling web designers to implement advance functionality to HTML easily.



Domain Name Search

www.


Copyright (C) 2007. Web Domain design hosting. All rights reserved.