Results 1 to 3 of 3

Thread: Looking for DHTML window

  1. #1
    Join Date
    Jun 2009
    Location
    Suomi
    Posts
    26
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Question Looking for DHTML window

    script name: DHTML Window widget (v1.1)

    script location: http://www.dynamicdrive.com/dynamici...ndow/index.htm

    I'm looking for a little help modifying the DHTML script to behave like: http://prototype-window.xilinus.com/PWC-OS/


    if anyone can help me modify this script to minimize into an "icon" with no controls (kind of like an OS nav bar) with an onclick event to pop up back where it was. I'd be truly greatful!

    thanks
    Last edited by EISD; 06-06-2009 at 04:46 PM.

  2. #2
    Join Date
    Jun 2009
    Location
    Suomi
    Posts
    26
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default update: windows minimize horizontally

    Code:
    minimize:function(button, t){
    	dhtmlwindow.rememberattrs(t)
    	button.setAttribute("src", dhtmlwindow.imagefiles[2])
    	button.setAttribute("title", "Restore")
    	t.state="minimized" //indicate the state of the window as being "minimized"
    	t.contentarea.style.display="none"
    	t.statusarea.style.display="none"
    	if (typeof t.minimizeorder=="undefined"){ //stack order of minmized window on screen relative to any other minimized windows
    		dhtmlwindow.minimizeorder++ //increment order
    		t.minimizeorder=dhtmlwindow.minimizeorder
    	}
    	t.style.width="175px"
    	var windowspacing=t.minimizeorder*185 //spacing (gap) between each minmized window(s)
    	t.style.top=96.3+"%"
    	t.style.left=windowspacing-t.minimizeorder-240+"px"
    still working on disabling the move function while minized. If anyone wants to help, feel free. thanks!
    Last edited by EISD; 06-06-2009 at 07:23 PM.

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

    Default

    Closed due to double posting.
    DD Admin

  4. The Following User Says Thank You to ddadmin For This Useful Post:

    EISD (06-07-2009)

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
  •