Results 1 to 2 of 2

Thread: dhtmlmodal window border

  1. #1
    Join Date
    Nov 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default dhtmlmodal window border

    1) Script Title: dhtmlmodal

    3) Describe problem: Tell me please, how can i hide border, shown on picture.
    http://web-segment.ru/_new/windowfil...dal_border.jpg


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

    Default

    Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format when asking a question.

    Inside dhtmlwindow.js, the following line is what renders the IFRAME used by the window to show content:

    Code:
    t.contentarea.innerHTML='<iframe src="" style="margin:0; padding:0; width:100%; height: 100%" name="_iframe-'+t.id+'"></iframe>'
    If you wish to completely remove any borders of the IFRAME from showing, try adding the part in red to this line:

    Code:
    t.contentarea.innerHTML='<iframe src="" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0" style="margin:0; padding:0; width:100%; height: 100%" name="_iframe-'+t.id+'"></iframe>'

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
  •