JavaScript Style Sheets


JavaScript Style Sheets

JavaScript Style Sheets (JSSS) was a stylesheet language technology proposed by Netscape Communications Corporation in 1996 to provide facilities for defining the presentation of webpages. It was an alternative to the Cascading Style Sheets (CSS) technology. Although Netscape submitted it to the World Wide Web Consortium (W3C), the technology was never accepted as a formal standard and it never gained much acceptance in the market. Only Netscape Communicator 4 supported JSSS, with the rival Internet Explorer web browser choosing not to implement the technology. Soon after Netscape Communicator's release in 1997, Netscape stopped promoting JSSS, instead focusing on the rival CSS standard, which was also supported by Internet Explorer and had much wider industry acceptance. The follow-up to Netscape Communicator, Netscape 6 (released in 2000), dropped support for JSSS. It now remains little more than a historical footnote, with many Web developers not even being aware of its existence.

Using JavaScript code as a stylesheet, JSSS styles individual element by modifying properties of the document.tags object. For example, the CSS: h1 { font-size: 20pt; }is equivalent to the JSSS: document.tags.H1.fontSize = "20pt";Note the case significance in element names.

JSSS is in some ways more powerful and in some ways less powerful than CSS. It lacks the various CSS selector features, supporting only a simple tag name selector. On the other hand, since it is written using a complete programming language, stylesheets can include highly complex dynamic calculations and conditional processing. (In practice, however, this can be achieved with CSS by using JavaScript to modify the stylesheets applicable to the document at runtime.)Because of this JSSS was often used in the creation of DHTML.

Being written in JavaScript, JSSS may seem less friendly than CSS to users without a programming background.

ee also

*List of stylesheet languages
*Comparison of stylesheet languages

External links

* [http://www.w3.org/Submission/1996/1/WD-jsss-960822 Netscape's JavaScript-Based Style Sheets submission to the W3C]
* [http://sunsite.uakom.sk/sunworldonline/swol-04-1997/swol-04-webmaster.html The dynamic, powerful abilities of JavaScript Style Sheets]


Wikimedia Foundation. 2010.

Look at other dictionaries:

  • JavaScript Style Sheets — (JSSS) ist eine in JavaScript integrierte Stylesheet Sprache für HTML Dokumente. JSSS wurde vom Browser Anbieter Netscape entwickelt und 1996 dem World Wide Web Consortium (W3C) in einer Working Draft vorgelegt. Es handelte sich um eine Parallel… …   Deutsch Wikipedia

  • Cascading Style Sheets — CSS redirects here. For other uses, see CSS (disambiguation). For the use of CSS on Wikipedia, see Help:Cascading style sheets. Cascading Style Sheets Filename extension .css Internet media type text/css Developed by World Wide Web Consortium …   Wikipedia

  • Cascading Style Sheets — Feuilles de style en cascade Pour les articles homonymes, voir CSS. CSS (Cascading Style Sheets : feuilles de style en cascade) est un langage informatique qui sert à décrire la présentation des documents HTML et XML. Les standards… …   Wikipédia en Français

  • Cascading style sheets — Feuilles de style en cascade Pour les articles homonymes, voir CSS. CSS (Cascading Style Sheets : feuilles de style en cascade) est un langage informatique qui sert à décrire la présentation des documents HTML et XML. Les standards… …   Wikipédia en Français

  • Style sheet (web development) — Web style sheets are a form of separation of presentation and content for web design in which the markup (i.e., HTML or XHTML) of a webpage contains the page s semantic content and structure, but does not define its visual layout (style). Instead …   Wikipedia

  • JavaScript syntax — This article is part of the JavaScript series. JavaScript JavaScript syntax JavaScript topics This box: view · …   Wikipedia

  • Cascading Style Sheet — Feuilles de style en cascade Pour les articles homonymes, voir CSS. CSS (Cascading Style Sheets : feuilles de style en cascade) est un langage informatique qui sert à décrire la présentation des documents HTML et XML. Les standards… …   Wikipédia en Français

  • Feuille de style en cascade — Feuilles de style en cascade Pour les articles homonymes, voir CSS. CSS (Cascading Style Sheets : feuilles de style en cascade) est un langage informatique qui sert à décrire la présentation des documents HTML et XML. Les standards… …   Wikipédia en Français

  • Feuilles De Style En Cascade — Pour les articles homonymes, voir CSS. CSS (Cascading Style Sheets : feuilles de style en cascade) est un langage informatique qui sert à décrire la présentation des documents HTML et XML. Les standards définissant CSS sont publiés par le… …   Wikipédia en Français

  • Feuilles de style — en cascade Pour les articles homonymes, voir CSS. CSS (Cascading Style Sheets : feuilles de style en cascade) est un langage informatique qui sert à décrire la présentation des documents HTML et XML. Les standards définissant CSS sont… …   Wikipédia en Français


Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”

We are using cookies for the best presentation of our site. Continuing to use this site, you agree with this.