Results 1 to 2 of 2

Thread: DHTML Window Widget

  1. #1
    Join Date
    May 2006
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default DHTML Window Widget

    I'm try use DHTML Window widget in Relative Position (Inside Table) but not working.

    I'm wish static position for window without move.

    Someone can help me ? or one Sample for me ?

    Very Thx

    Sorry for my bad english

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

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

    Default

    Are you basically asking how to disable dragging of the window? To do so, find the three lines inside the .js file, and delete the highlighted portion in red:

    Code:
    if (etarget.className=="drag-handle") //if target element is "handle" div
    d.move(etarget._parent, e)
    else if (etarget.className=="drag-resizearea") //if target element is "resize" div

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
  •