annotate inkscape/firefox/madbuilder.html @ 335:01038b8d8f05

Set the progm to be NULL so that we won't call mb_progm_abort when we call it at the next time. This will fix the crash issue of the dynamic. However, the dynamic is still crash sometimes if we click the button quickly. It looks like it crashes in the refresh. We need to future figure out the issue.
author wycc
date Sat, 07 Mar 2009 14:24:55 +0800
parents d5327265da1e
children
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>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
3 <script language="javascript" src="jquery-1.3.1.js"></script>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
4 <script language="javascript" src="jqXMLUtils.js"></script>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
5 <script language="javascript" src="jqSOAPClient.js"></script>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
6 <style type="text/css">
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
7 .normal {
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
8 background-color:write
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
9 }
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
10 .active {
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
11 background-color: yellow
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
12 }
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
13 a.button {
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
14 background:#0ff ;
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
15 color : # 444 ;
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
16 display : block ;
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
17 float : left ;
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
18 font : normal 12px arial, sans-serif ;
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
19 height : 24px;
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
20 margin-right : 6px;
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
21 padding-right : 18px;
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
22 text-decoration : none ;
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
23 }
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
24 a.button span {
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
25 background : transparent url ( 'bg_button_div.gif' ) no-repeat ;
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
26 display : block ;
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
27 line- height : 14px; line- height : 14px;
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
28 padding : 5px 0 5px 18px; padding : 5px 0 5px 18px;
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
29 }
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
30 a.button :active {
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
31 background-position : bottom right ;
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
32 color : # 000 ;
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
33 outline : none ;
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
34 }
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
35 a.button :active span {
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
36 background-position : bottom left ;
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
37 padding : 6px 0 4px 18px;
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
38 }
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
39 </style>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
40 </style>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
41 </head>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
42 <body>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
43 <div id='frame' width=800 height=200>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
44 </div>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
45
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
46 <div id='btns'>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
47 <a class='button' href='#'> <span id='Jump' onClick='onButtonClick(this)'>Jump</span></a>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
48 <a class='button' href='#'> <span id='InsertKey' onClick='onButtonClick(this)'>Insert</span></a>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
49 <a class='button' href='#'> <span id='ExtendScene' onClick='onButtonClick(this)'>Extend</span></a>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
50 <a class='button' href='#'> <span id='DeleteScene' onClick='onButtonClick(this)'>Delete</span></a>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
51 <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
52 <a class='button' href='#'> <span id='MakeButton' onClick='onButtonClick(this)'>make Button</span></a>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
53 <br/>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
54 <br/>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
55 </div>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
56 <div id='inkscape' width=1000 height=700>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
57 </div>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
58 <script type="text/javascript" src="inkscape.js" >
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
59 </script>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
60 </body>
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
61 </html>