Results 1 to 4 of 4

Thread: DHTML Window Widget

  1. #1
    Join Date
    Aug 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default DHTML Window Widget

    1) Script Title:
    dhtmlwindow

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

    3) Describe problem: I'm try to load a window with an html page that resides on a different server. The code below does not seem to work can someone advise on the correct method to do this. Here is the code (WMi02 is the server name)

    onclick ="ajaxwin=dhtmlwindow.open('WO_A1W', 'ajax', 'file:////Wmi02/WMI Programs/EquipManuals/Dc00000676.html', 'Equipment Manual', 'width=980px,height=620px,left=50px,top=100px,resize=1,scrolling=1');return false" onmouseout="this.style.backgroundColor='#FFFFFF'" href="#" >

    Thanks
    Jim

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

    Default

    Check that the full path "file:////Wmi02/WMI Programs/EquipManuals/Dc00000676.html" is valid (ie: enter it into your browser and see if it loads the desired page). Different browsers seem to differ in what they consider a valid file:/// path, so you should also make sure that path works across browsers.
    DD Admin

  3. #3
    Join Date
    Aug 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default DHTML Window Widget

    Thanks for the help,
    I got it to work using the following;

    onclick ="ajaxwin=dhtmlwindow.open('WO_A1W', 'iframe', 'file:////Wmi02/WMI Programs/EquipManuals/Dc00000676.html', 'Equipment Manual', 'width=980px,height=620px,left=50px,top=100px,resize=1,scrolling=1');return false"

    I still have one problem the scroll bar does not appear when the window is loaded even through there is data below the window view. Any ideas?
    Thanks again
    Jim

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

    Default

    Hmm it's hard to say without seeing a live example why the scrollbar doesn't appear. It must be something within your page. Try experimenting by replacing parts of your page with arbitrary content to isolate which section of the page is the culprit.
    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
  •