PageRenderTime 38ms CodeModel.GetById 25ms app.highlight 8ms RepoModel.GetById 1ms app.codeStats 0ms

/FlightsOfIdeas/svgOkDialog.html

http://sketchup-svg-outline-plugin.googlecode.com/
HTML | 86 lines | 29 code | 0 blank | 57 comment | 0 complexity | 5b12abea96f01d1c450f2eaa80562733 MD5 | raw file
 1<head>
 2<meta http-equiv="Content-Type" content="text/html" />
 3<link href="flightsOfIdeasStyle.css" rel="stylesheet" type="text/css" />
 4<title>SVG Exported (Flights of Ideas)</title>
 5<script language="javascript">
 6<!--
 7//###########################################################
 8//#
 9//#    Scalable Vector Graphics (SVG) from Google Sketchup Faces
10//#    Copyright (C) 2008 Simon Beard
11//#
12//#    This program is free software: you can redistribute it and/or modify
13//#    it under the terms of the GNU General Public License as published by
14//#    the Free Software Foundation, either version 3 of the License, or
15//#    (at your option) any later version.
16//#
17//#    This program is distributed in the hope that it will be useful,
18//#    but WITHOUT ANY WARRANTY; without even the implied warranty of
19//#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20//#    GNU General Public License for more details.
21//#
22//#    You should have received a copy of the GNU General Public License
23//#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
24//#
25//###########################################################
26
27//////////////////////////////////////////////////////////////////////////////////////////////////
28// Called when closing dlg box
29//////////////////////////////////////////////////////////////////////////////////////////////////
30function onOk()
31{
32	window.location='skp:on_close';
33}
34
35//////////////////////////////////////////////////////////////////////////////////////////////////
36// Called when closing dlg box
37//////////////////////////////////////////////////////////////////////////////////////////////////
38function onLaunch()
39{
40	window.location='skp:on_launch';
41}
42
43//////////////////////////////////////////////////////////////////////////////////////////////////
44// Sketchup functions
45//////////////////////////////////////////////////////////////////////////////////////////////////
46function sizeWindow()
47{
48	// check the screen size
49	if(window.screen.availHeight <= 600 || window.screen.availWidth <= 800)
50	{
51		window.location = "skp:small_window";
52	}
53}
54function doLoad()
55{
56    var os = navigator.appVersion.indexOf('Mac') != -1? 'Mac' : 'Win';
57    if(os == 'Win')
58	{
59		window.location='skp:onload'
60	}	
61}
62-->
63</script>
64<link href="./flightsOfIdeasStyle.css" rel="stylesheet" type="text/css" />
65</head>
66<html>
67<body onload="doLoad()"> 
68<table style="width: 100%">
69	<tr style="width: 100%">		
70		<td>
71			<center class="heading">	
72			<img src="./Images/dragonfly_50.png" align="middle">&nbsp;&nbsp;&nbsp;&nbsp;<b>File Exported</b>
73			</center>
74		</td>		
75	</tr>
76	<tr style="width: 100%">
77	</tr>
78	<tr style="width: 100%">
79		<td style="width: 100%">
80			<center><input class="button" onClick="onOk()" type="button" value="Ok"/><center>
81		</td>	   
82	</tr>
83</table>	   
84</div> 
85</body>
86</html>