49 lines
1.7 KiB
HTML
Executable File
49 lines
1.7 KiB
HTML
Executable File
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html>
|
|
<head>
|
|
<title>Set Page Background Image</title>
|
|
<link rel="stylesheet" type="text/css" href="../../../popups/popup.css" />
|
|
<script type="text/javascript" src="../../../popups/popup.js"></script>
|
|
<script language='JavaScript' type='text/javascript'>
|
|
window.resizeTo(350, 195);
|
|
function Init() {
|
|
|
|
__dlg_translate("BackgroundImage");
|
|
__dlg_init();
|
|
}
|
|
|
|
function onCancel() {
|
|
__dlg_close(null);
|
|
return false;
|
|
}
|
|
|
|
function insertbg(image) {
|
|
__dlg_close(window.opener.Xinha.getPluginDir('BackgroundImage') + "/backgrounds/" + image);
|
|
return false;
|
|
}
|
|
|
|
function onDelete() {
|
|
__dlg_close("*");
|
|
return false;
|
|
}
|
|
</script>
|
|
</head>
|
|
<body class="dialog" onload="Init()">
|
|
<form action="" method="get">
|
|
<div class="title">Set Page Background Image</div>
|
|
<table style="text-align: center;" border="0" cellspacing="0" cellpadding="6">
|
|
<tr style="text-align: center; vertical-align: top;">
|
|
<td><img onclick="insertbg('blufur.jpg')" border="1" src="../backgrounds/thumbnails/blufur.jpg" width="50" height="50"></td>
|
|
<td><img onclick="insertbg('palecnvs.jpg')" border="1" src="../backgrounds/thumbnails/palecnvs.jpg" width="50" height="50"></td>
|
|
<td><img onclick="insertbg('ppplcnvs.jpg')" border="1" src="../backgrounds/thumbnails/ppplcnvs.jpg" width="50" height="50"></td>
|
|
<td><img onclick="insertbg('ylwsand.jpg')" border="1" src="../backgrounds/thumbnails/ylwsand.jpg" width="50" height="50"></td>
|
|
</tr>
|
|
</table>
|
|
<div class="space"></div>
|
|
<div id="buttons">
|
|
<button type="button" name="delete" onclick="return onDelete()" style="width:auto">Remove Current Background</button>
|
|
<button type="button" name="cancel" onclick="return onCancel();">Cancel</button>
|
|
</div>
|
|
</form>
|
|
</body>
|
|
</html> |