annotate inkscape/firefox/content/madbuilder.html @ 371:3d21115297ba

Add textmenu template
author wycc
date Tue, 17 Mar 2009 08:31:04 +0800
parents e21e9447f545
children 7d244a85dd68
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>
367
e21e9447f545 Add wizard. We still need to add the template files.
wycc
parents: 365
diff changeset
12 <script type="text/javascript" src="wizard.js"></script>
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>
367
e21e9447f545 Add wizard. We still need to add the template files.
wycc
parents: 365
diff changeset
66 <a class='button' href='#'> <span id='Wizard' onClick='wizard.execute()'>Wizard</span></a>
288
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 <br/>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
69 </div>
352
4350aa369149 Use jQuery UI components.
wycc
parents: 339
diff changeset
70 <table>
361
8c4456190d9a Add text editor support to edit C source file inside the MadBuilder
wycc
parents: 357
diff changeset
71 <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
72 </table>
364
a373b4743e63 Add file dialog to add a new scene file into the project.
wycc
parents: 361
diff changeset
73 <div id='filedialog'></div>
367
e21e9447f545 Add wizard. We still need to add the template files.
wycc
parents: 365
diff changeset
74
e21e9447f545 Add wizard. We still need to add the template files.
wycc
parents: 365
diff changeset
75 <div id='wizard'>
e21e9447f545 Add wizard. We still need to add the template files.
wycc
parents: 365
diff changeset
76 The name of the project<br>
e21e9447f545 Add wizard. We still need to add the template files.
wycc
parents: 365
diff changeset
77 <input type=text id='wizardname' value='default'/><br>
e21e9447f545 Add wizard. We still need to add the template files.
wycc
parents: 365
diff changeset
78 Please select the type of applications.<br>
e21e9447f545 Add wizard. We still need to add the template files.
wycc
parents: 365
diff changeset
79 <ul>
371
3d21115297ba Add textmenu template
wycc
parents: 367
diff changeset
80 <a href='#' onClick="wizard.step1_cb('textmenu')"><li> Text only menu </li></a>
367
e21e9447f545 Add wizard. We still need to add the template files.
wycc
parents: 365
diff changeset
81 <a href='#' onClick="wizard.step1_cb('preview')"><li> Text with preview menu </li></a>
e21e9447f545 Add wizard. We still need to add the template files.
wycc
parents: 365
diff changeset
82 </ul>
e21e9447f545 Add wizard. We still need to add the template files.
wycc
parents: 365
diff changeset
83
e21e9447f545 Add wizard. We still need to add the template files.
wycc
parents: 365
diff changeset
84 </div>
e21e9447f545 Add wizard. We still need to add the template files.
wycc
parents: 365
diff changeset
85
e21e9447f545 Add wizard. We still need to add the template files.
wycc
parents: 365
diff changeset
86 <div id='wizard_step2'>
e21e9447f545 Add wizard. We still need to add the template files.
wycc
parents: 365
diff changeset
87 Please select the output path<br>
e21e9447f545 Add wizard. We still need to add the template files.
wycc
parents: 365
diff changeset
88 <input id='outputpath' type=file value='/tmp' /><br>
e21e9447f545 Add wizard. We still need to add the template files.
wycc
parents: 365
diff changeset
89 <a class 'buttopn' href='#'><span onClick='wizard.step1_cb()'>Prev</span></a>
371
3d21115297ba Add textmenu template
wycc
parents: 367
diff changeset
90 <a class 'buttopn' href='#'><span onClick='wizard.step2_cb()'>Next</span></a>
367
e21e9447f545 Add wizard. We still need to add the template files.
wycc
parents: 365
diff changeset
91 </div>
e21e9447f545 Add wizard. We still need to add the template files.
wycc
parents: 365
diff changeset
92 <div id='wizard_step3'>
371
3d21115297ba Add textmenu template
wycc
parents: 367
diff changeset
93 Generating files<br>
367
e21e9447f545 Add wizard. We still need to add the template files.
wycc
parents: 365
diff changeset
94 </div>
e21e9447f545 Add wizard. We still need to add the template files.
wycc
parents: 365
diff changeset
95
288
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
96 <script type="text/javascript" src="inkscape.js" >
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
97 </script>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
98 </body>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
99 </html>