View Full Version : DHTML Window widget - change buttons?

11-14-2008, 10:12 PM
1) Script Title:
DHTML Window widget (v1.1)

2) Script URL (on DD):

3) Describe problem:

Hi i replaced the window graphics to mimic the mac os interface, which places the close/resize buttons on the top left of the window, instead of the top-right, what do i need to modify to achieve this?

11-15-2008, 05:14 AM
Try editing dhtmlwindow.css with the line(s) in red:

.drag-handle{ /*CSS for Drag Handle*/
padding: 1px;
padding-left: 40px;
text-indent: 3px;
font: bold 14px Arial;
background-color: #CA0000;
color: white;
cursor: move;
overflow: hidden;
width: auto;
-moz-opacity: 1;
opacity: 1;

.drag-handle .drag-controls{ /*CSS for controls (min, close etc) within Drag Handle*/
position: absolute;
left: 0;
top: 2px;
cursor: hand;
cursor: pointer;