/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. // Called when closing dlg box
  28. //////////////////////////////////////////////////////////////////////////////////////////////////
  29. function onOk()
  30. {
  31. window.location='skp:on_close';
  32. }
  33. //////////////////////////////////////////////////////////////////////////////////////////////////
  34. // Called when closing dlg box
  35. //////////////////////////////////////////////////////////////////////////////////////////////////
  36. function onLaunch()
  37. {
  38. window.location='skp:on_launch';
  39. }
  40. //////////////////////////////////////////////////////////////////////////////////////////////////
  41. // Sketchup functions
  42. //////////////////////////////////////////////////////////////////////////////////////////////////
  43. function sizeWindow()
  44. {
  45. // check the screen size
  46. if(window.screen.availHeight <= 600 || window.screen.availWidth <= 800)
  47. {
  48. window.location = "skp:small_window";
  49. }
  50. }
  51. function doLoad()
  52. {
  53. var os = navigator.appVersion.indexOf('Mac') != -1? 'Mac' : 'Win';
  54. if(os == 'Win')
  55. {
  56. window.location='skp:onload'
  57. }
  58. }
  59. -->
  60. </script>
  61. <link href="./flightsOfIdeasStyle.css" rel="stylesheet" type="text/css" />
  62. </head>
  63. <html>
  64. <body onload="doLoad()">
  65. <table style="width: 100%">
  66. <tr style="width: 100%">
  67. <td>
  68. <center class="heading">
  69. <img src="./Images/dragonfly_50.png" align="middle">&nbsp;&nbsp;&nbsp;&nbsp;<b>File Exported</b>
  70. </center>
  71. </td>
  72. </tr>
  73. <tr style="width: 100%">
  74. </tr>
  75. <tr style="width: 100%">
  76. <td style="width: 100%">
  77. <center><input class="button" onClick="onOk()" type="button" value="Ok"/><center>
  78. </td>
  79. </tr>
  80. </table>
  81. </div>
  82. </body>
  83. </html>