source: trunk/plugins/BackgroundImage/popups/bgimage.html @ 999

Last change on this file since 999 was 999, checked in by ray, 11 years ago

#1195 Allow to specify an external url to load a plugin from

  • Property svn:keywords set to LastChangedDate LastChangedRevision LastChangedBy HeadURL Id
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'>
8window.resizeTo(350, 195);
9function Init() {
10       
11  __dlg_translate("BackgroundImage");
12  __dlg_init();
13}
14
15function onCancel() {
16  __dlg_close(null);
17  return false;
18}
19
20function insertbg(image) {
21        __dlg_close(window.opener.Xinha.getPluginDir('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 style="text-align: center;" border="0" cellspacing="0" cellpadding="6">
35<tr style="text-align: center; vertical-align: 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</form>
48</body>
49</html>
Note: See TracBrowser for help on using the repository browser.