source: tags/0.9beta/plugins/BackgroundImage/popups/bgimage.html @ 643

Last change on this file since 643 was 643, checked in by ray, 12 years ago

Finally: The first Xinha release! see Ticket #902

File size: 1.7 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3<head>
4<title>Set Page Background Image</title>
5<link rel="stylesheet" type="text/css" href="../../../popups/popup.css" />
6<script type="text/javascript" src="../../../popups/popup.js"></script>
7<script language='JavaScript' type='text/javascript'>
8 
9function Init() {
10  __dlg_translate("BackgroundImage");
11  __dlg_init();
12  window.resizeTo(300, 195);
13}
14
15function onCancel() {
16  __dlg_close(null);
17  return false;
18}
19
20function insertbg(image) {
21        __dlg_close(window.opener._editor_url + "/plugins/BackgroundImage/backgrounds/" + image);
22        return false;
23}
24
25function onDelete() {
26  __dlg_close("*");
27  return false;
28}
29</script>
30</head>
31<body class="dialog" onload="Init()">
32<form action="" method="get">
33  <div class="title">Set Page Background Image</div>
34<table align="center" border="0" cellspacing="0" cellpadding="6">
35<tr align="center" valign="top">
36<td><img onclick="insertbg('blufur.jpg')" border="1" src="../backgrounds/thumbnails/blufur.jpg" width="50" height="50"></td>
37<td><img onclick="insertbg('palecnvs.jpg')" border="1" src="../backgrounds/thumbnails/palecnvs.jpg" width="50" height="50"></td>
38<td><img onclick="insertbg('ppplcnvs.jpg')" border="1" src="../backgrounds/thumbnails/ppplcnvs.jpg" width="50" height="50"></td>
39<td><img onclick="insertbg('ylwsand.jpg')" border="1" src="../backgrounds/thumbnails/ylwsand.jpg" width="50" height="50"></td>
40</tr>
41</table>
42<div class="space"></div>
43<div id="buttons">
44<button type="button" name="delete" onclick="return onDelete()" style="width:auto">Remove Current Background</button>
45<button type="button" name="cancel" onclick="return onCancel();">Cancel</button>
46</div>
47</body>
48</html>
Note: See TracBrowser for help on using the repository browser.