annotate inkscape/firefox/content/madbuilder.html @ 365:6adb28388132

Add capability to add new scene and source into the project Add Save button to save the project.
author wycc
date Sat, 14 Mar 2009 16:42:37 +0800
parents a373b4743e63
children e21e9447f545
rev   line source
288
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
1 <html>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
2 <head>
352
4350aa369149 Use jQuery UI components.
wycc
parents: 339
diff changeset
3 <link rel="stylesheet" type="text/css" href="tree_component.css" />
364
a373b4743e63 Add file dialog to add a new scene file into the project.
wycc
parents: 361
diff changeset
4 <link type="text/css" href="css/smoothness/jquery-ui-1.7.custom.css" rel="stylesheet" />
352
4350aa369149 Use jQuery UI components.
wycc
parents: 339
diff changeset
5 <script language="javascript" src="css.js"></script>
288
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
6 <script language="javascript" src="jquery-1.3.1.js"></script>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
7 <script language="javascript" src="jqXMLUtils.js"></script>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
8 <script language="javascript" src="jqSOAPClient.js"></script>
352
4350aa369149 Use jQuery UI components.
wycc
parents: 339
diff changeset
9 <script language="javascript" src="tree_component.js"></script>
364
a373b4743e63 Add file dialog to add a new scene file into the project.
wycc
parents: 361
diff changeset
10 <script type="text/javascript" src="jquery-ui-1.7.custom.min.js"></script>
357
6fd8da22a5ef Implement scene file load function.
wycc
parents: 352
diff changeset
11 <script type="text/javascript" src="jquery.simplemodal-1.2.3.pack.js"></script>
6fd8da22a5ef Implement scene file load function.
wycc
parents: 352
diff changeset
12
352
4350aa369149 Use jQuery UI components.
wycc
parents: 339
diff changeset
13
288
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
14 <style type="text/css">
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
15 .normal {
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
16 background-color:write
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
17 }
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
18 .active {
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
19 background-color: yellow
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
20 }
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
21 a.button {
352
4350aa369149 Use jQuery UI components.
wycc
parents: 339
diff changeset
22 background: transparent url('bg_button_a.gif') no-repeat scroll top right;
4350aa369149 Use jQuery UI components.
wycc
parents: 339
diff changeset
23 color : #444 ;
288
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
24 display : block ;
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
25 float : left ;
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
26 font : normal 12px arial, sans-serif ;
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
27 height : 24px;
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
28 margin-right : 6px;
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
29 padding-right : 18px;
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
30 text-decoration : none ;
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
31 }
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
32 a.button span {
352
4350aa369149 Use jQuery UI components.
wycc
parents: 339
diff changeset
33 background : transparent url('bg_button_span.gif' ) no-repeat ;
288
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
34 display : block ;
352
4350aa369149 Use jQuery UI components.
wycc
parents: 339
diff changeset
35 line- height : 14px;
4350aa369149 Use jQuery UI components.
wycc
parents: 339
diff changeset
36 padding : 5px 0 5px 18px;
288
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
37 }
352
4350aa369149 Use jQuery UI components.
wycc
parents: 339
diff changeset
38 a.button:active {
4350aa369149 Use jQuery UI components.
wycc
parents: 339
diff changeset
39 background-position: bottom right;
4350aa369149 Use jQuery UI components.
wycc
parents: 339
diff changeset
40 color: blue;
4350aa369149 Use jQuery UI components.
wycc
parents: 339
diff changeset
41 outline: none; /* hide dotted outline in Firefox */
4350aa369149 Use jQuery UI components.
wycc
parents: 339
diff changeset
42 }
4350aa369149 Use jQuery UI components.
wycc
parents: 339
diff changeset
43
4350aa369149 Use jQuery UI components.
wycc
parents: 339
diff changeset
44 a.button:active span {
4350aa369149 Use jQuery UI components.
wycc
parents: 339
diff changeset
45 background-position: bottom left;
4350aa369149 Use jQuery UI components.
wycc
parents: 339
diff changeset
46 color: blue;
4350aa369149 Use jQuery UI components.
wycc
parents: 339
diff changeset
47 padding: 6px 0 4px 18px; /* push text down 1px */
4350aa369149 Use jQuery UI components.
wycc
parents: 339
diff changeset
48 }
288
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
49 </style>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
50 </head>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
51 <body>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
52 <div id='frame' width=800 height=200>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
53 </div>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
54
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
55 <div id='btns'>
352
4350aa369149 Use jQuery UI components.
wycc
parents: 339
diff changeset
56 <br/>
288
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
57 <a class='button' href='#'> <span id='Jump' onClick='onButtonClick(this)'>Jump</span></a>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
58 <a class='button' href='#'> <span id='InsertKey' onClick='onButtonClick(this)'>Insert</span></a>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
59 <a class='button' href='#'> <span id='ExtendScene' onClick='onButtonClick(this)'>Extend</span></a>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
60 <a class='button' href='#'> <span id='DeleteScene' onClick='onButtonClick(this)'>Delete</span></a>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
61 <a class='button' href='#'> <span id='MakeSymbol' onClick='onButtonClick(this)'>Make Symbol</span></a>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
62 <a class='button' href='#'> <span id='MakeButton' onClick='onButtonClick(this)'>make Button</span></a>
352
4350aa369149 Use jQuery UI components.
wycc
parents: 339
diff changeset
63 <a class='button' href='#'> <span id='EditAnimation' onClick='onButtonClick(this)'>Edit Animation</span></a>
4350aa369149 Use jQuery UI components.
wycc
parents: 339
diff changeset
64 <a class='button' href='#'> <span id='Test' onClick='onButtonClick(this)'>Test</span></a>
365
6adb28388132 Add capability to add new scene and source into the project
wycc
parents: 364
diff changeset
65 <a class='button' href='#'> <span id='Save' onClick='onButtonClick(this)'>Save</span></a>
288
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
66 <br/>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
67 <br/>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
68 </div>
352
4350aa369149 Use jQuery UI components.
wycc
parents: 339
diff changeset
69 <table>
361
8c4456190d9a Add text editor support to edit C source file inside the MadBuilder
wycc
parents: 357
diff changeset
70 <tr><td width=200 height=700 valign=top><div id='filelist' valign=top></div></td><td width=700 height=700 valign=top> <div id='inkscape'></div><div id='editor'></div></td></tr>
352
4350aa369149 Use jQuery UI components.
wycc
parents: 339
diff changeset
71 </table>
364
a373b4743e63 Add file dialog to add a new scene file into the project.
wycc
parents: 361
diff changeset
72 <div id='filedialog'></div>
288
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
73 <script type="text/javascript" src="inkscape.js" >
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
74 </script>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
75 </body>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
76 </html>