Results 1 to 2 of 2

Thread: DHTML Window widget - change buttons?

  1. #1
    Join Date
    Jul 2005
    Location
    UK
    Posts
    159
    Thanks
    15
    Thanked 0 Times in 0 Posts

    Default DHTML Window widget - change buttons?

    1) Script Title:
    DHTML Window widget (v1.1)

    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...ndow/index.htm

    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?

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Try editing dhtmlwindow.css with the line(s) in red:

    Code:
    .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;
    filter:progid:DXImageTransform.Microsoft.alpha(opacity=100);
    -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;
    }
    DD Admin

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •