Results 1 to 2 of 2

Thread: Remove Close X

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

    Default Remove Close X

    1) Script Title: Window Widget

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

    3) Describe problem: I want to have a popup window that does not have a "close" X. I know I could change the dhtmlwindow.js but if I do so, the close X will not appear on any popup. What I want is to be able to set per popup whether the close x appears or not. Is this possible? Thanks.

  2. #2
    Join Date
    Mar 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    This is not probably the best way of doing it, but you can try having 2 dhtmlwindow.js documents, 1 for that single no-close-button window and another one for the rest of the windows. There should be a much better way of doing this probably giving the no-close-button window an id and filtering it with an IF clause, if you can show me the code post a proper link to it, I might be able to add the IF clause.
    Xereu

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
  •