Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Commit

Permalink
moved scripts to demo body
Browse files Browse the repository at this point in the history
  • Loading branch information
jed committed Nov 3, 2010
1 parent e287d42 commit cab5db3
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions demo.html
@@ -1,26 +1,26 @@
<html>
<head>
<body>
<script src="jquery-1.4.3.js"></script>
<script src="feeds.js"></script>
</head>
<body>
<script src="fab.js">
( HTML )
( HEAD )
( TITLE )( "(fab) demo" )()

( STYLE )
// will eventually be native js: ie
// ({ "body": { textAlign: "center" }
// , "body, input": { fontSize: "2em" }
// , ... })
// ({
// "body": { textAlign: "center" },
// "body, input": { fontSize: "2em" },
// ... et cetera ...
// })

( "body { text-align:center; }" )
( "body { text-align:center; }" )
( "body, input { font-size:2em; }" )
( ".section { padding-top:30px; }" )
( ".x, .y { position:absolute; }" )
( ".x { bottom:20px; padding-left:10px; border-left:1px solid black }" )
( ".y { right:20px; padding-top:10px; border-top:1px solid black }" )
( ".section { padding-top:30px; }" )
( ".x, .y { position:absolute; }" )
( ".x { bottom: 20px; padding-left: 10px; border-left: 1px solid black }" )
( ".y { right: 20px; padding-top: 10px; border-top: 1px solid black }" )
()
()

Expand Down Expand Up @@ -48,7 +48,7 @@
()

( DIV, { className: "y", style: { top: pointer.offset.y } } )
( pointer.offset.x )
( pointer.offset.y )
()
()
()
Expand Down

0 comments on commit cab5db3

Please sign in to comment.