First Draft
First Draft of the Example Files
This commit is contained in:
+22
@@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Accessing CSS Properties</title>
|
||||
<script src='OSC.js'></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id='object'>Div Object</div>
|
||||
|
||||
<script>
|
||||
S('object').border = 'solid 1px red'
|
||||
S('object').width = '100px'
|
||||
S('object').height = '100px'
|
||||
S('object').background = '#eee'
|
||||
S('object').color = 'blue'
|
||||
S('object').fontSize = '15pt'
|
||||
S('object').fontFamily = 'Helvetica'
|
||||
S('object').fontStyle = 'italic'
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user