JSSS

introductie

Joost van Meeteren


JavaScript Style Sheets - Links

Sunsite.uakom.sk - The dynamic, powerful abilities of JavaScript Style Sheets.

W3.org - JavaScript-Based Style Sheets.

Wikipedia - JavaScript Style Sheets.


GitHub - JSSS-Compiler.


JavaScript Style Sheets - Introductie

JavaScript Style Sheets

JavaScript Style Sheets (JSSS) was a stylesheet language technology proposed by Netscape Communications 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 acceptance in the web browser market. Only Netscape Communicator 4 implemented JSSS, with rival Internet Explorer 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 a 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 web developers generally unaware of its previous existence. The proposal did not become a W3C standard.

Bron: Wikipedia: JavaScript Style Sheets.


JavaScript Style Sheets - Voorbeeld stylesheet


Voorbeeld van JSSS in de head-<sectie> van een webpagina:

<style type="text/javascript">
tags.H1.color = "blue";
tags.p.fontSize = "14pt";

with (tags.H3) {
	color = "green";
}

with (tags.H2) {
	color = "red";
	fontSize = "16pt";
	marginTop = "2cm";
}
</style>


Het equivalent van CSS in de head-<sectie> van een webpagina:

<style>

h1 {
	color: blue;
}

h3 {
	color: green;
}

h2 {
	color: red;
	font-size: 16pt;
	margin-top: 2cm;
}

p {
	font-size: 14pt;
}

</style>


Example

... Similar to Cascading Style Sheets, JSSS can be used in a <style>-tag. This Example shows two different methods to select tags.

Browser support

Javascript Style Sheets were only supported by Netscape 4.x (4.0–4.8) but no later versions. No other web browser has ever integrated JSSS.

Citaten uit: Wikipedia: JavaScript Style Sheets.


Conclusie. Er kunnen dus geen voorbeelden met JSSS worden getoond. Geen enkele oudere of moderne browser ondersteunt JSSS, behalve Netscape 4 (Netscape Navigator: 1994-2008).


Joost De WebMaker
2002-2024 © Joost van Meeteren
Laatste update website: maandag 16 september 2024